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@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 \ -------------------------------------------------------------