[OpenBIOS] [commit] r891 - trunk/openbios-devel/forth/system

repository service svn at openbios.org
Sat Oct 9 12:16:24 CEST 2010


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 at web.de>
Signed-off-by: Blue Swirl <blauwirbel at 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]



More information about the OpenBIOS mailing list