[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PATCH v3 15/50] tcg: add MO_HADDR to TCGMemOp
From: |
Alex Bennée |
Subject: |
[Qemu-devel] [PATCH v3 15/50] tcg: add MO_HADDR to TCGMemOp |
Date: |
Fri, 14 Jun 2019 18:11:25 +0100 |
From: "Emilio G. Cota" <address@hidden>
We will use this from plugins to mark mem accesses so that
we can later obtain their host address.
Signed-off-by: Emilio G. Cota <address@hidden>
---
tcg/tcg.h | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/tcg/tcg.h b/tcg/tcg.h
index 2385e758e5..966e89104d 100644
--- a/tcg/tcg.h
+++ b/tcg/tcg.h
@@ -367,6 +367,13 @@ typedef enum TCGMemOp {
MO_ALIGN_32 = 5 << MO_ASHIFT,
MO_ALIGN_64 = 6 << MO_ASHIFT,
+ /*
+ * SoftMMU-only: if set, the TCG backend puts the corresponding host
address
+ * in CPUArchState.hostaddr.
+ */
+ MO_HSHIFT = MO_ASHIFT + 3,
+ MO_HADDR = 1 << MO_HSHIFT,
+
/* Combinations of the above, for ease of use. */
MO_UB = MO_8,
MO_UW = MO_16,
--
2.20.1
- [Qemu-devel] [PATCH v3 47/50] accel/stubs: reduce headers from tcg-stub, (continued)
[Qemu-devel] [PATCH v3 15/50] tcg: add MO_HADDR to TCGMemOp,
Alex Bennée <=
[Qemu-devel] [PATCH v3 37/50] translator: inject instrumentation from plugins, Alex Bennée, 2019/06/14
[Qemu-devel] [PATCH v3 13/50] plugin-gen: add module for TCG-related code, Alex Bennée, 2019/06/14
[Qemu-devel] [PATCH v3 25/50] translator: add translator_ld{ub, sw, uw, l, q}, Alex Bennée, 2019/06/14
[Qemu-devel] [PATCH v3 48/50] include/exec: wrap cpu_ldst.h in CONFIG_TCG, Alex Bennée, 2019/06/14
[Qemu-devel] [PATCH v3 50/50] TODO: API changes to make?, Alex Bennée, 2019/06/14
[Qemu-devel] [PATCH v3 31/50] target/m68k: fetch code with translator_ld, Alex Bennée, 2019/06/14