mirror of
https://gitlab.com/qemu-project/openbios.git
synced 2024-02-13 08:34:06 +08:00
In the IEEE 1275-1994 specification the parameters for Client Interface calls
are not in forth stack order but in reversed (heh!) order. Our implementation confused this. This second patch is fairly straightforward; probably the only unexpected part is the need to rename the existing /openprom/client-services "claim" and "release" words to "cif-claim" and "cif-release" respectively. This is because we need to use the "claim" and "release" words in forth/system/ciface.fs to reverse the argument order before calling the real underlying words. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@siriusit.co.uk> git-svn-id: svn://coreboot.org/openbios/trunk/openbios-devel@637 f158a5a8-5612-0410-a976-696ce0be7e32
This commit is contained in:
committed by
Mark Cave-Ayland
parent
5e57ac49a0
commit
ba52470cce
@@ -288,7 +288,7 @@ of_client_interface( int *params )
|
||||
return handle_calls( pb );
|
||||
|
||||
dstacksave = dstackcnt;
|
||||
for( i=0; i<pb->nargs; i++ )
|
||||
for( i=pb->nargs-1; i>=0; i-- )
|
||||
PUSH( pb->args[i] );
|
||||
|
||||
push_str( pb->service );
|
||||
|
||||
Reference in New Issue
Block a user