summary refs log tree commit diff stats
path: root/include/exec/poison.h
diff options
context:
space:
mode:
authorRichard Henderson <richard.henderson@linaro.org>2025-03-06 13:32:36 -0800
committerRichard Henderson <richard.henderson@linaro.org>2025-03-07 13:02:54 -0800
commit58d00538ceeef9900802bcd4b7ad613ca78c8583 (patch)
tree871aa2a64e3cef02a2ae19bb42ee28c7fcb41ae1 /include/exec/poison.h
parent3504f104ea97ffaa89f509db8059ec1047bd62ae (diff)
downloadfocaccia-qemu-58d00538ceeef9900802bcd4b7ad613ca78c8583.tar.gz
focaccia-qemu-58d00538ceeef9900802bcd4b7ad613ca78c8583.zip
include/exec: Move TARGET_PAGE_{SIZE,MASK,BITS} to target_page.h
Re-use the TARGET_PAGE_BITS_VARY mechanism to define
TARGET_PAGE_SIZE and friends when not compiling per-target.
Inline qemu_target_page_{size,mask,bits} as they are now trivial.

Reviewed-by: Pierrick Bouvier <pierrick.bouvier@linaro.org>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'include/exec/poison.h')
-rw-r--r--include/exec/poison.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/exec/poison.h b/include/exec/poison.h
index d6d4832854..35721366d7 100644
--- a/include/exec/poison.h
+++ b/include/exec/poison.h
@@ -44,10 +44,6 @@
 #pragma GCC poison TARGET_FMT_ld
 #pragma GCC poison TARGET_FMT_lu
 
-#pragma GCC poison TARGET_PAGE_SIZE
-#pragma GCC poison TARGET_PAGE_MASK
-#pragma GCC poison TARGET_PAGE_BITS
-#pragma GCC poison TARGET_PAGE_ALIGN
 #pragma GCC poison TARGET_PHYS_ADDR_SPACE_BITS
 
 #pragma GCC poison CPU_INTERRUPT_HARD