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

Programmingkid programmingkidx at gmail.com
Sat May 2 08:43:55 CEST 2015


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>

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