[OpenBIOS] PATCH v2: Rework CIF interface to handle parameters in reverse order
Mark Cave-Ayland
mark.cave-ayland at siriusit.co.uk
Sun Nov 29 14:30:15 CET 2009
Hi everyone,
Here is a second version of the patch which attempts to reverse the
argument order of the CIF Forth words so that they can be called
correctly from both Forth and C.
The 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.
I've tested this on a FC12 PPC CD as well as my SPARC64 Milax CD and
with this version of the patch, the CIF words are called correctly in
both cases. I'd like to apply this reasonably soon, so please can people
test on their setups to make sure it doesn't break anything?
Signed-off-by: Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk>
ATB,
Mark.
--
Mark Cave-Ayland - Senior Technical Architect
PostgreSQL - PostGIS
Sirius Corporation plc - control through freedom
http://www.siriusit.co.uk
t: +44 870 608 0063
Sirius Labs: http://www.siriusit.co.uk/labs
-------------- next part --------------
A non-text attachment was scrubbed...
Name: openbios-cif-rework-v2.patch
Type: text/x-diff
Size: 6806 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20091129/6b235954/attachment.bin>
More information about the OpenBIOS
mailing list