aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2023-10-22 09:46:29 +0200
committerHelge Deller <deller@gmx.de>2023-10-22 09:46:29 +0200
commitc0354b07a59cf2f6f969270321b2fbad0d9f24bb (patch)
treee1710ef308ead947b64a9260bd6732c38e5162fb
parentedb1c29da0df2c33e62305d1c1c71a4cbd6bff67 (diff)
downloadseabios-hppa-c0354b07a59cf2f6f969270321b2fbad0d9f24bb.zip
seabios-hppa-c0354b07a59cf2f6f969270321b2fbad0d9f24bb.tar.gz
seabios-hppa-c0354b07a59cf2f6f969270321b2fbad0d9f24bb.tar.bz2
parisc: Do not allow 64-bit PDC calls (yet)
Need to implement 64-bit register save/restore before enabling this option. Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r--src/parisc/parisc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/parisc/parisc.c b/src/parisc/parisc.c
index 98e86f5..1805830 100644
--- a/src/parisc/parisc.c
+++ b/src/parisc/parisc.c
@@ -1365,8 +1365,8 @@ static int pdc_model(unsigned int *arg)
case PDC_MODEL_CAPABILITIES:
result[0] = current_machine->pdc_caps;
result[0] |= PDC_MODEL_OS32; /* we do support 32-bit */
- if (cpu_bit_width == 64) /* and maybe 64-bit */
- result[0] |= PDC_MODEL_OS64;
+ if (0 && cpu_bit_width == 64) /* and maybe 64-bit */
+ result[0] |= PDC_MODEL_OS64; /* this means 64-bit PDC calls are supported */
else
result[0] &= ~PDC_MODEL_OS64;
return PDC_OK;