From af97fd7af5e7c18f591a7b987291d3db4ffb28b5 Mon Sep 17 00:00:00 2001 From: BALATON Zoltan Date: Fri, 13 Jan 2023 22:25:11 +0100 Subject: [PATCH] arch/ppc/qemu: Add parse hex words for compatibility with Apple OF 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 Signed-off-by: Mark Cave-Ayland --- arch/ppc/qemu/qemu.fs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/arch/ppc/qemu/qemu.fs b/arch/ppc/qemu/qemu.fs index d683421..7211d2d 100644 --- a/arch/ppc/qemu/qemu.fs +++ b/arch/ppc/qemu/qemu.fs @@ -95,6 +95,14 @@ variable keyboard-phandle 0 keyboard-phandle ! set-defaults ; PREPOST-initializer +\ ------------------------------------------------------------------------- +\ Mac OF specific words +\ ------------------------------------------------------------------------- + +: parse-1hex 1 parse-nhex ; +: parse-2hex 2 parse-nhex ; +: parse-3hex 3 parse-nhex ; + \ ------------------------------------------------------------------------- \ copyright property handling \ -------------------------------------------------------------------------