]> git.proxmox.com Git - mirror_qemu.git/commitdiff
Update seabios-hppa to latest upstream
authorHelge Deller <deller@gmx.de>
Fri, 15 Mar 2019 16:41:30 +0000 (17:41 +0100)
committerRichard Henderson <richard.henderson@linaro.org>
Fri, 15 Mar 2019 17:11:16 +0000 (10:11 -0700)
This patch fixes two issues in the hppa/parisc emulation:

1. The CPU HPA was wrong in the sense that we had negative module
offsets in the firmware-internal module table (which we ignored up to
now). Get it correct by changing the CPU HPA to 0xfffb0000 which is
greater than the DINO_HPA of 0xfff80000.
This change requires the seabios-firmware update.

2. Sven noticed that the FPU register cr10 is only able to reference up
to 8 FPUs, so let's reduce the maximum amount of SMP CPUs too.

Signed-off-by: Helge Deller <deller@gmx.de>
Message-Id: <20190315164130.GA7800@ls3530>
Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
hw/hppa/hppa_hardware.h
pc-bios/hppa-firmware.img
roms/seabios-hppa

index 2c61b1f77ccb8e1466bd7321f70637bf85f8ce59..af2f5ee2bd18b1b8d808eb406146a02f1f7aa83a 100644 (file)
@@ -19,7 +19,7 @@
 #define LASI_PS2KBD_HPA 0xffd08000
 #define LASI_PS2MOU_HPA 0xffd08100
 #define LASI_GFX_HPA    0xf8000000
-#define CPU_HPA         0xfff10000
+#define CPU_HPA         0xfffb0000
 #define MEMORY_HPA      0xfffbf000
 
 #define PCI_HPA         DINO_HPA        /* PCI bus */
@@ -36,5 +36,5 @@
 #define PORT_SERIAL1    (DINO_UART_HPA + 0x800)
 #define PORT_SERIAL2    (LASI_UART_HPA + 0x800)
 
-#define HPPA_MAX_CPUS   32      /* max. number of SMP CPUs */
+#define HPPA_MAX_CPUS         /* max. number of SMP CPUs */
 #define CPU_CLOCK_MHZ   250     /* emulate a 250 MHz CPU */
index 86930974b9e12bec214fb464eee443a0d844e6ff..c79e1e923cf6e1e06f28e43e87fce48707971611 100644 (file)
Binary files a/pc-bios/hppa-firmware.img and b/pc-bios/hppa-firmware.img differ
index 1ef99a01572c2581c30e16e6fe69e9ea2ef92ce0..0f4fe84658165e96ce35870fd19fc634e182e77b 160000 (submodule)
@@ -1 +1 @@
-Subproject commit 1ef99a01572c2581c30e16e6fe69e9ea2ef92ce0
+Subproject commit 0f4fe84658165e96ce35870fd19fc634e182e77b