aboutsummaryrefslogtreecommitdiff
path: root/decoder/include/interfaces/trc_tgt_mem_access_i.h
diff options
context:
space:
mode:
Diffstat (limited to 'decoder/include/interfaces/trc_tgt_mem_access_i.h')
-rw-r--r--decoder/include/interfaces/trc_tgt_mem_access_i.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/decoder/include/interfaces/trc_tgt_mem_access_i.h b/decoder/include/interfaces/trc_tgt_mem_access_i.h
index effc9b5..68a4e10 100644
--- a/decoder/include/interfaces/trc_tgt_mem_access_i.h
+++ b/decoder/include/interfaces/trc_tgt_mem_access_i.h
@@ -83,6 +83,14 @@ public:
const ocsd_mem_space_acc_t mem_space,
uint32_t *num_bytes,
uint8_t *p_buffer) = 0;
+
+ /*!
+ * Invalidate any caching that the memory accessor functions are using.
+ * Generally called when a memory context changes in the trace.
+ *
+ * @param cs_trace_id : protocol source trace ID.
+ */
+ virtual void InvalidateMemAccCache(const uint8_t cs_trace_id) = 0;
};