mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
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:
committed by
Blue Swirl
parent
18b3992073
commit
672554e122
@@ -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]
|
||||
|
||||
Reference in New Issue
Block a user