[OpenBIOS] [PATCHv2 0/6] ppc: improve copyright property handling
Mark Cave-Ayland
mark.cave-ayland at ilande.co.uk
Sat Feb 13 17:10:56 CET 2016
This series changes the injection of the copyright property on PPC such
that it is included just before control is handed 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 property is only inserted if a MacOS boot loader is detected and
is removed if the bootloader terminates, thereby only making it visible
to MacOS clients.
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at ilande.co.uk>
v2:
- Updated Forth suggested by Segher
- Update messages/comments as suggested by Alyssa
- Only insert copyright property if MacOS bootloader detected
Mark Cave-Ayland (6):
string.fs: add functions to support ROT13 string encoding/decoding
ppc: move copyright property generation into a separate word
ppc: use ROT13 encoding for copyright property
ciface.fs: implement optional (exit) hook when returning control back
to the interpreter
ppc: add complementary delete-copyright-property word
ppc: move copyright property hooks from adler32 word
openbios-devel/arch/ppc/qemu/init.c | 5 +++++
openbios-devel/arch/ppc/qemu/qemu.fs | 33 +++++++++++++++++++++++++--------
openbios-devel/forth/lib/string.fs | 19 +++++++++++++++++++
openbios-devel/forth/system/ciface.fs | 8 ++++++++
4 files changed, 57 insertions(+), 8 deletions(-)
--
1.7.10.4
More information about the OpenBIOS
mailing list