diff options
author | Alex Bennée <alex.bennee@linaro.org> | 2019-06-28 20:54:11 +0100 |
---|---|---|
committer | Alex Bennée <alex.bennee@linaro.org> | 2019-10-28 15:12:38 +0000 |
commit | 504f73f7b3724c885317b6b236620e9048f50c0a (patch) | |
tree | a2bce952b7dae13cae050b1d79cdbe9a9f3b0f20 /trace/mem.h | |
parent | 291987c3068fb083abebb69701d04c5bab60f310 (diff) |
trace: add mmu_index to mem_info
We are going to re-use mem_info later for plugins and will need to
track the mmu_idx for softmmu code.
Signed-off-by: Alex Bennée <alex.bennee@linaro.org>
Diffstat (limited to 'trace/mem.h')
-rw-r--r-- | trace/mem.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/trace/mem.h b/trace/mem.h index 8cf213d85b..9644f592b4 100644 --- a/trace/mem.h +++ b/trace/mem.h @@ -18,15 +18,16 @@ * * Return a value for the 'info' argument in guest memory access traces. */ -static uint8_t trace_mem_get_info(MemOp op, bool store); +static uint16_t trace_mem_get_info(MemOp op, unsigned int mmu_idx, bool store); /** * trace_mem_build_info: * * Return a value for the 'info' argument in guest memory access traces. */ -static uint8_t trace_mem_build_info(int size_shift, bool sign_extend, - MemOp endianness, bool store); +static uint16_t trace_mem_build_info(int size_shift, bool sign_extend, + MemOp endianness, bool store, + unsigned int mmuidx); #include "trace/mem-internal.h" |