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-31 08:26:22 +0100
commitdfa999b7e9aed8026b40706ef908323c1eee420c (patch)
tree5ce69ac55415fa774c56eae553c5f4ec42680729
parent32b855378135e09f33fd1a0699bc69bd9101d9b9 (diff)
downloadseabios-hppa-dfa999b7e9aed8026b40706ef908323c1eee420c.zip
seabios-hppa-dfa999b7e9aed8026b40706ef908323c1eee420c.tar.gz
seabios-hppa-dfa999b7e9aed8026b40706ef908323c1eee420c.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;