[openfirmware] [commit] r3458 - ofw/core

repository service svn at openfirmware.info
Sat Nov 24 01:36:01 CET 2012


Author: wmb
Date: Sat Nov 24 01:36:00 2012
New Revision: 3458
URL: http://tracker.coreboot.org/trac/openfirmware/changeset/3458

Log:
OFW core - fixed problem in make-node-alias arising from the conversion to relative phandles - caused problems with the QEMU version of OFW.

Modified:
   ofw/core/ofwcore.fth

Modified: ofw/core/ofwcore.fth
==============================================================================
--- ofw/core/ofwcore.fth	Sat Nov 24 01:34:03 2012	(r3457)
+++ ofw/core/ofwcore.fth	Sat Nov 24 01:36:00 2012	(r3458)
@@ -2879,9 +2879,9 @@
    pwd-buf pack count    ( adr',len )
 ;
 
-: make-node-alias  ( nodeid name-str -- )
+: make-node-alias  ( voc name-str -- )
    current-device >r  ( nodeid name-str )
-   rot push-device    ( name-str )
+   rot voc>phandle push-device    ( name-str )
    pwd$               ( name-str expansion-str )
    r> push-device     ( name-str expansion-str )
    $devalias          (  )



More information about the openfirmware mailing list