This series changes the injection of the fake copyright message such that it is included just before control is handled to the client. The motivation behind this is that older versions of the MacOS bootloader don't call the adler32 word which means the injection is omitted and boot fails.
The first patch is actually a build fix (and will likely be applied separately) while the rest of the patchset ensures that the message is only visible to the bootloader client as discussed on the mailing list.
Signed-off-by: Mark Cave-Ayland mark.cave-ayland@ilande.co.uk
Mark Cave-Ayland (7): pci.c: fix build for non-SPARC/PPC platforms string.fs: add functions to support ROT13 string encoding/decoding ppc: move fake copyright notice generation into a separate word ppc: use ROT13 encoding for fake copyright message ciface.fs: implement optional (exit) hook when returning control back to the interpreter ppc: add complimentary delete-fake-copyright word ppc: move fake copyright hooks from adler32 word
openbios-devel/arch/ppc/qemu/init.c | 3 +++ openbios-devel/arch/ppc/qemu/qemu.fs | 33 +++++++++++++++++++++++++-------- openbios-devel/drivers/pci.c | 9 +++++---- openbios-devel/forth/lib/string.fs | 28 ++++++++++++++++++++++++++++ openbios-devel/forth/system/ciface.fs | 8 ++++++++ 5 files changed, 69 insertions(+), 12 deletions(-)