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>

git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@891 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
Andreas Färber
2010-10-09 10:16:23 +00:00
committed by Blue Swirl
parent 18b3992073
commit 672554e122

View File

@@ -314,10 +314,10 @@ external
\ 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]