[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[RFC PATCH 04/34] exec: [PAGE_VARY] Unpoison TARGET_PAGE_* macros for sy
|
From: |
Anton Johansson |
|
Subject: |
[RFC PATCH 04/34] exec: [PAGE_VARY] Unpoison TARGET_PAGE_* macros for system mode |
|
Date: |
Fri, 19 Jan 2024 15:39:54 +0100 |
TARGET_PAGE_* are now target-independent for softmmu targets, and can
safely be accessed common code.
Signed-off-by: Anton Johansson <anjo@rev.ng>
---
include/exec/poison.h | 2 ++
1 file changed, 2 insertions(+)
diff --git a/include/exec/poison.h b/include/exec/poison.h
index 1ea5633eb3..6d87954a91 100644
--- a/include/exec/poison.h
+++ b/include/exec/poison.h
@@ -46,10 +46,12 @@
#pragma GCC poison TARGET_FMT_ld
#pragma GCC poison TARGET_FMT_lu
+#ifdef CONFIG_USER_ONLY
#pragma GCC poison TARGET_PAGE_SIZE
#pragma GCC poison TARGET_PAGE_MASK
#pragma GCC poison TARGET_PAGE_BITS
#pragma GCC poison TARGET_PAGE_ALIGN
+#endif
#pragma GCC poison CPU_INTERRUPT_HARD
#pragma GCC poison CPU_INTERRUPT_EXITTB
--
2.43.0
- [RFC PATCH 00/34] Compile accel/tcg once (partially), Anton Johansson, 2024/01/19
- [RFC PATCH 05/34] target/tricore: [VADDR] Use target_ulong for EA, Anton Johansson, 2024/01/19
- [RFC PATCH 07/34] hw/core: [VADDR] Include vaddr.h from cpu.h, Anton Johansson, 2024/01/19
- [RFC PATCH 04/34] exec: [PAGE_VARY] Unpoison TARGET_PAGE_* macros for system mode,
Anton Johansson <=
- [RFC PATCH 09/34] exec: [VADDR] Use vaddr in DisasContextBase for virtual addresses, Anton Johansson, 2024/01/19
- [RFC PATCH 02/34] target: [PAGE_VARY] Move TARGET_PAGE_BITS_MIN to TargetPageBits, Anton Johansson, 2024/01/19
- [RFC PATCH 06/34] exec: [VADDR] Move vaddr defines to separate file, Anton Johansson, 2024/01/19