summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBALATON Zoltan <balaton@eik.bme.hu>2023-01-13 22:25:11 +0100
committerMark Cave-Ayland <mark.cave-ayland@ilande.co.uk>2023-01-26 19:46:15 +0000
commitaf97fd7af5e7c18f591a7b987291d3db4ffb28b5 (patch)
tree8f54fe3dd8f1299ef802e4578eb641dc28502bc4
parentc967b4c947472ddae5c1818212ade59b831fe171 (diff)
downloadqemu-openbios-af97fd7af5e7c18f591a7b987291d3db4ffb28b5.tar.gz
arch/ppc/qemu: Add parse hex words for compatibility with Apple OFHEADmaster
Apple OF has parse-1hex, parse-2hex, parse-3hex words that may be used by FCode ROMs so add these for compatibility Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk>
-rw-r--r--arch/ppc/qemu/qemu.fs8
1 files changed, 8 insertions, 0 deletions
diff --git a/arch/ppc/qemu/qemu.fs b/arch/ppc/qemu/qemu.fs
index d6834219..7211d2dc 100644
--- a/arch/ppc/qemu/qemu.fs
+++ b/arch/ppc/qemu/qemu.fs
@@ -96,6 +96,14 @@ variable keyboard-phandle 0 keyboard-phandle !
; PREPOST-initializer
\ -------------------------------------------------------------------------
+\ Mac OF specific words
+\ -------------------------------------------------------------------------
+
+: parse-1hex 1 parse-nhex ;
+: parse-2hex 2 parse-nhex ;
+: parse-3hex 3 parse-nhex ;
+
+\ -------------------------------------------------------------------------
\ copyright property handling
\ -------------------------------------------------------------------------