diff options
| author | Richard Henderson <richard.henderson@linaro.org> | 2023-11-07 09:28:56 -0800 |
|---|---|---|
| committer | Richard Henderson <richard.henderson@linaro.org> | 2023-11-13 09:21:32 -0800 |
| commit | fa71b4f84fb88c034ece3f3928e4d3a72e49b82f (patch) | |
| tree | 1e3136a3b3af8b58ec6b7864b02cb7d900829db8 /target/hppa/cpu-param.h | |
| parent | 451d993d58fb577425f8a79cdaf4ee213a72f702 (diff) | |
| download | focaccia-qemu-fa71b4f84fb88c034ece3f3928e4d3a72e49b82f.tar.gz focaccia-qemu-fa71b4f84fb88c034ece3f3928e4d3a72e49b82f.zip | |
target/hppa: Reduce TARGET_PHYS_ADDR_SPACE_BITS to 40
This is the value that is supported by both PA-8500 and Astro. If we support a larger address space than expected, we trip up software that did not fill in all of the page table bits, expecting them to be ignored. Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'target/hppa/cpu-param.h')
| -rw-r--r-- | target/hppa/cpu-param.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/target/hppa/cpu-param.h b/target/hppa/cpu-param.h index 6746869a3b..bb3d7ef6f7 100644 --- a/target/hppa/cpu-param.h +++ b/target/hppa/cpu-param.h @@ -14,7 +14,8 @@ # define TARGET_PHYS_ADDR_SPACE_BITS 32 # define TARGET_VIRT_ADDR_SPACE_BITS 32 #else -# define TARGET_PHYS_ADDR_SPACE_BITS 64 +/* ??? PA-8000 through 8600 have 40 bits; PA-8700 and 8900 have 44 bits. */ +# define TARGET_PHYS_ADDR_SPACE_BITS 40 # define TARGET_VIRT_ADDR_SPACE_BITS 64 #endif |