On 22/1/25 19:09, del...@kernel.org wrote:
From: Helge Deller <del...@gmx.de>

Allow up to 256 GB RAM, which is the maximum a rp8440 machine (the very
last 64-bit PA-RISC machine) physically supports.

Signed-off-by: Helge Deller <del...@gmx.de>
---
  hw/hppa/hppa_hardware.h |  2 ++
  hw/hppa/machine.c       | 26 +++++++++++++++++++-------
  2 files changed, 21 insertions(+), 7 deletions(-)

diff --git a/hw/hppa/hppa_hardware.h b/hw/hppa/hppa_hardware.h
index a9be7bb851..a276240967 100644
--- a/hw/hppa/hppa_hardware.h
+++ b/hw/hppa/hppa_hardware.h
@@ -49,4 +49,6 @@
  #define CPU_HPA_CR_REG  7       /* store CPU HPA in cr7 (SeaBIOS internal) */
  #define PIM_STORAGE_SIZE 600  /* storage size of pdc_pim_toc_struct (64bit) */
+#define RAM_MAP_HIGH 0x0100000000 /* memory above 3.75 GB is mapped here */

Should we use ull suffix?

+
  #endif

Reply via email to