]> git.ipfire.org Git - thirdparty/qemu.git/blobdiff - accel/tcg/cputlb.c
trace: add mmu_index to mem_info
[thirdparty/qemu.git] / accel / tcg / cputlb.c
index defc8d59292037177c1180b4191448ee4df12dfe..a8f906958230e5579e6bf7fc4a606084c0d77d5a 100644 (file)
@@ -1811,6 +1811,7 @@ void helper_be_stq_mmu(CPUArchState *env, target_ulong addr, uint64_t val,
 #define ATOMIC_MMU_DECLS
 #define ATOMIC_MMU_LOOKUP atomic_mmu_lookup(env, addr, oi, retaddr)
 #define ATOMIC_MMU_CLEANUP
+#define ATOMIC_MMU_IDX   get_mmuidx(oi)
 
 #define DATA_SIZE 1
 #include "atomic_template.h"
@@ -1853,6 +1854,7 @@ void helper_be_stq_mmu(CPUArchState *env, target_ulong addr, uint64_t val,
 #define DATA_SIZE 8
 #include "atomic_template.h"
 #endif
+#undef ATOMIC_MMU_IDX
 
 /* Code access functions.  */