From 672554e122d9e90b475ca078f12271a61f8823cc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andreas=20F=C3=A4rber?= Date: Sat, 9 Oct 2010 10:16:23 +0000 Subject: [PATCH] Fix test-method argument order MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 Signed-off-by: Blue Swirl git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@891 f158a5a8-5612-0410-a976-696ce0be7e32 --- forth/system/ciface.fs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/forth/system/ciface.fs b/forth/system/ciface.fs index 54fadc9..d7b5c25 100644 --- a/forth/system/ciface.fs +++ b/forth/system/ciface.fs @@ -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]