[OpenBIOS] [Patch] Add rom node to device tree

Cormac O'Brien i.am.cormac.obrien at gmail.com
Sun May 10 22:10:10 CEST 2015


From: Programmingkid <programmingkidx at gmail.com>

This patch adds the rom node to the device tree for powerpc only. This node
 is needed by Mac OS 9. Adding this patch allowed for Mac OS 9 to 
boot further than before. 

This is the forth code in the Mac OS ROM file that OpenBIOS would call:
" /rom" find-device

When the /rom node couldn't be found, booting would just die at that code.

Signed-off-by: John Arbuckle <programmingkidx at gmail.com>
Reviewed-by: Cormac O'Brien <i.am.cormac.obrien at gmail.com>

Index: arch/ppc/qemu/tree.fs
===================================================================
--- arch/ppc/qemu/tree.fs	(revision 1335)
+++ arch/ppc/qemu/tree.fs	(working copy)
@@ -42,6 +42,11 @@
 	: close ;
 finish-device
 
+new-device
+	" rom" device-name
+finish-device
+
+
 \ -------------------------------------------------------------
 \ /packages
 \ -------------------------------------------------------------




More information about the OpenBIOS mailing list