qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH 35/38] qom: Add MMU_DEBUG_LOAD


From: Richard Henderson
Subject: [Qemu-devel] [PATCH 35/38] qom: Add MMU_DEBUG_LOAD
Date: Thu, 28 Dec 2017 22:31:42 -0800

This lets us tell bottom levels of virtual memory translation
routines that the access is from within QEMU itself and bypass
certain tests.

Cc: Andreas Färber <address@hidden>
Signed-off-by: Richard Henderson <address@hidden>
---
 include/qom/cpu.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/qom/cpu.h b/include/qom/cpu.h
index c2fa151228..d5361ffd0e 100644
--- a/include/qom/cpu.h
+++ b/include/qom/cpu.h
@@ -64,7 +64,8 @@ typedef uint64_t vaddr;
 typedef enum MMUAccessType {
     MMU_DATA_LOAD  = 0,
     MMU_DATA_STORE = 1,
-    MMU_INST_FETCH = 2
+    MMU_INST_FETCH = 2,
+    MMU_DEBUG_LOAD = 3
 } MMUAccessType;
 
 typedef struct CPUWatchpoint CPUWatchpoint;
-- 
2.14.3




reply via email to

[Prev in Thread] Current Thread [Next in Thread]