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:
Mark Cave-Ayland
2009-12-02 10:44:35 +00:00
committed by Mark Cave-Ayland
parent 5e57ac49a0
commit ba52470cce
7 changed files with 59 additions and 54 deletions

View File

@@ -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 },
};

View File

@@ -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 },
};

View File

@@ -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 },
};

View File

@@ -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 },
};