[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 1/4] tcg: cputlb: Add probe_read
From: |
Beata Michalska |
Subject: |
[PATCH v2 1/4] tcg: cputlb: Add probe_read |
Date: |
Tue, 5 Nov 2019 23:40:57 +0000 |
Add probe_read alongside the write probing equivalent.
Signed-off-by: Beata Michalska <address@hidden>
Reviewed-by: Alex Bennée <address@hidden>
---
include/exec/exec-all.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/include/exec/exec-all.h b/include/exec/exec-all.h
index d85e610..350c4b4 100644
--- a/include/exec/exec-all.h
+++ b/include/exec/exec-all.h
@@ -339,6 +339,12 @@ static inline void *probe_write(CPUArchState *env,
target_ulong addr, int size,
return probe_access(env, addr, size, MMU_DATA_STORE, mmu_idx, retaddr);
}
+static inline void *probe_read(CPUArchState *env, target_ulong addr, int size,
+ int mmu_idx, uintptr_t retaddr)
+{
+ return probe_access(env, addr, size, MMU_DATA_LOAD, mmu_idx, retaddr);
+}
+
#define CODE_GEN_ALIGN 16 /* must be >= of the size of a icache line
*/
/* Estimated block size for TB allocation. */
--
2.7.4
[PATCH v2 3/4] migration: ram: Switch to ram block writeback, Beata Michalska, 2019/11/05
[PATCH v2 4/4] target/arm: Add support for DC CVAP & DC CVADP ins, Beata Michalska, 2019/11/05