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
@@ -309,8 +309,8 @@ NODE_METHODS( mmu ) = {
|
||||
};
|
||||
|
||||
NODE_METHODS( mmu_ciface ) = {
|
||||
{ "claim", ciface_claim },
|
||||
{ "release", ciface_release },
|
||||
{ "cif-claim", ciface_claim },
|
||||
{ "cif-release", ciface_release },
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -447,8 +447,8 @@ NODE_METHODS( mmu ) = {
|
||||
};
|
||||
|
||||
NODE_METHODS( mmu_ciface ) = {
|
||||
{ "claim", ciface_claim },
|
||||
{ "release", ciface_release },
|
||||
{ "cif-claim", ciface_claim },
|
||||
{ "cif-release", ciface_release },
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -311,8 +311,8 @@ NODE_METHODS( mmu ) = {
|
||||
};
|
||||
|
||||
NODE_METHODS( mmu_ciface ) = {
|
||||
{ "claim", ciface_claim },
|
||||
{ "release", ciface_release },
|
||||
{ "cif-claim", ciface_claim },
|
||||
{ "cif-release", ciface_release },
|
||||
};
|
||||
|
||||
|
||||
|
||||
@@ -290,8 +290,8 @@ NODE_METHODS( mmu ) = {
|
||||
};
|
||||
|
||||
NODE_METHODS( mmu_ciface ) = {
|
||||
{ "claim", ciface_claim },
|
||||
{ "release", ciface_release },
|
||||
{ "cif-claim", ciface_claim },
|
||||
{ "cif-release", ciface_release },
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user