From 97777b315762a8a1318ca267ee052252056432c1 Mon Sep 17 00:00:00 2001 From: Helge Deller Date: Fri, 22 Sep 2023 08:02:35 +0200 Subject: hack model type to B160L (to avoid kernel crash with old qemu which tries to run 64-bit instruction in sr_disable_hash) --- src/parisc/c3700.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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 -- cgit v1.1