[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v2 2/6] hw/hppa: Allow up to 16 emulated CPUs
From: |
Helge Deller |
Subject: |
[PATCH v2 2/6] hw/hppa: Allow up to 16 emulated CPUs |
Date: |
Mon, 31 Jan 2022 22:35:25 +0100 |
This brings the hppa_hardware.h file in sync with the copy in the
SeaBIOS-hppa sources.
In order to support up to 16 CPUs, it's required to move the HPA for
MEMORY_HPA out of the address space of the 16th CPU.
Signed-off-by: Helge Deller <deller@gmx.de>
---
hw/hppa/hppa_hardware.h | 5 +++--
1 file changed, 3 insertions(+), 2 deletions(-)
diff --git a/hw/hppa/hppa_hardware.h b/hw/hppa/hppa_hardware.h
index bc258895c9..5edf577563 100644
--- a/hw/hppa/hppa_hardware.h
+++ b/hw/hppa/hppa_hardware.h
@@ -25,7 +25,7 @@
#define LASI_GFX_HPA 0xf8000000
#define ARTIST_FB_ADDR 0xf9000000
#define CPU_HPA 0xfffb0000
-#define MEMORY_HPA 0xfffbf000
+#define MEMORY_HPA 0xfffff000
#define PCI_HPA DINO_HPA /* PCI bus */
#define IDE_HPA 0xf9000000 /* Boot disc controller */
@@ -43,9 +43,10 @@
#define PORT_SERIAL1 (DINO_UART_HPA + 0x800)
#define PORT_SERIAL2 (LASI_UART_HPA + 0x800)
-#define HPPA_MAX_CPUS 8 /* max. number of SMP CPUs */
+#define HPPA_MAX_CPUS 16 /* max. number of SMP CPUs */
#define CPU_CLOCK_MHZ 250 /* emulate a 250 MHz CPU */
#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) */
#endif
--
2.34.1
- [PATCH v2 0/6] Fixes and updates for hppa target, Helge Deller, 2022/01/31
- [PATCH v2 6/6] hw/display/artist: Fix draw_line() artefacts, Helge Deller, 2022/01/31
- [PATCH v2 5/6] hw/display/artist: Mouse cursor fixes for HP-UX, Helge Deller, 2022/01/31
- [PATCH v2 3/6] hppa: Add support for an emulated TOC/NMI button., Helge Deller, 2022/01/31
- [PATCH v2 2/6] hw/hppa: Allow up to 16 emulated CPUs,
Helge Deller <=
- [PATCH v2 4/6] hw/display/artist: rewrite vram access mode handling, Helge Deller, 2022/01/31
- [PATCH v2 1/6] seabios-hppa: Update SeaBIOS-hppa to VERSION 3, Helge Deller, 2022/01/31