aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-09-22 08:02:35 +0200
committerHelge Deller <deller@gmx.de>2023-09-22 08:02:35 +0200
commit97777b315762a8a1318ca267ee052252056432c1 (patch)
treed8a82b5e453d3c27c5211329541708bfe3d7b97d
parent79a0b60c069e99df19f97b2a7c98bf23a931c9af (diff)
downloadseabios-hppa-97777b315762a8a1318ca267ee052252056432c1.zip
seabios-hppa-97777b315762a8a1318ca267ee052252056432c1.tar.gz
seabios-hppa-97777b315762a8a1318ca267ee052252056432c1.tar.bz2
hack model type to B160L (to avoid kernel crash with old qemu which tries to run 64-bit instruction in sr_disable_hash)
-rw-r--r--src/parisc/c3700.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/parisc/c3700.h b/src/parisc/c3700.h
index 1203652..c5059f8 100644
--- a/src/parisc/c3700.h
+++ b/src/parisc/c3700.h
@@ -4,7 +4,10 @@
#define PARISC_MODEL "9000/785/C3700"
-#define PARISC_PDC_MODEL 0x5dc0, 0x481, 0x0, 0x2, 0x777c3e84, 0x100000f0, 0x8, 0xb2, 0xb2
+// this is original c3700:
+// #define PARISC_PDC_MODEL 0x5dc0, 0x481, 0x0, 0x2, 0x777c3e84, 0x100000f0, 0x8, 0xb2, 0xb2
+// HACK: this is B160L (to avoid kernel crash with old qemu which tries to run 64-bit instruction in sr_disable_hash)
+#define PARISC_PDC_MODEL 0x5020, 0x481, 0x0, 0x2020202, 0x7794d7fe, 0x100000f0, 0x4, 0xba, 0xba
#define PARISC_PDC_VERSION 0x0301