Author: blueswirl Date: Sat Oct 9 12:16:23 2010 New Revision: 891 URL: http://tracker.coreboot.org/trac/openbios/changeset/891
Log: Fix test-method argument order
test-method for "instantiate-rtas" would fail on the /rtas node. According to CHRP 1.5 draft, the stack order seems reversed.
Signed-off-by: Andreas Färber andreas.faerber@web.de Signed-off-by: Blue Swirl blauwirbel@gmail.com
Modified: trunk/openbios-devel/forth/system/ciface.fs
Modified: trunk/openbios-devel/forth/system/ciface.fs ============================================================================== --- trunk/openbios-devel/forth/system/ciface.fs Sat Oct 9 12:16:21 2010 (r890) +++ trunk/openbios-devel/forth/system/ciface.fs Sat Oct 9 12:16:23 2010 (r891) @@ -314,10 +314,10 @@ \ PowerPC Microprocessor CHRP binding \ 10.5.2. Client Interface
-( phandle cstring-method -- missing ) +( cstring-method phandle -- missing )
: test-method - dup cstrlen rot + swap dup cstrlen rot find-method 0= if -1 else drop 0 then ; [THEN]