aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-10-20 19:41:13 +0200
committerHelge Deller <deller@gmx.de>2022-10-20 19:41:13 +0200
commit18ed8626fd5ebe0395566462eb58afad1765a981 (patch)
treeb8f733d799421c496bae30fd25b2618bea48d22e
parent73f2ae77fac9977cdf0dca419fb7dc0fc4fc9171 (diff)
downloadseabios-hppa-18ed8626fd5ebe0395566462eb58afad1765a981.zip
seabios-hppa-18ed8626fd5ebe0395566462eb58afad1765a981.tar.gz
seabios-hppa-18ed8626fd5ebe0395566462eb58afad1765a981.tar.bz2
parisc: Enable 1-byte cache for MPE
-rw-r--r--src/parisc/b160l.h3
-rw-r--r--src/parisc/parisc.c4
2 files changed, 5 insertions, 2 deletions
diff --git a/src/parisc/b160l.h b/src/parisc/b160l.h
index 40d615e..5245293 100644
--- a/src/parisc/b160l.h
+++ b/src/parisc/b160l.h
@@ -18,6 +18,9 @@
, 0x0001, 0x0060, 0xd2000, 0x0000, 0x0000\
, 0x0001, 0x0000, 0x0000, 0x0001, 0x0001
#if 0
+Installation:
+http://www.3kranger.com/HP3000/mpeix/en-mpe70/32650-90892/32650-90892.pdf
+
https://support.hpe.com/hpesc/public/docDisplay?docId=c01097674&docLocale=en_US
Hardware Model: 5D6H, Revision: 0
Software Model: 4H, Revision: 0
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c
index 3876300..a5e59d7 100644
--- a/src/parisc/parisc.c
+++ b/src/parisc/parisc.c
@@ -1078,10 +1078,10 @@ static int pdc_cache(ARG_LIST)
machine_cache_info->dc_conf.cc_block = 11;
machine_cache_info->ic_conf.cc_block = 11;
- machine_cache_info->ic_size = 0; /* no instruction cache */
+ machine_cache_info->ic_size = /* no instruction cache */
+ machine_cache_info->dc_size = (opsys_id = OS_ID_MPEXL) ? 1:0; /* no data cache */
machine_cache_info->ic_count = 0;
machine_cache_info->ic_loop = 0;
- machine_cache_info->dc_size = 0; /* no data cache */
machine_cache_info->dc_count = 0;
machine_cache_info->dc_loop = 0;
#endif