[OpenBIOS] [commit] r915 - trunk/openbios-devel/arch/sparc32

Mark Cave-Ayland mark.cave-ayland at siriusit.co.uk
Tue Oct 19 14:44:03 CEST 2010


Artyom Tarasenko wrote:

> I agree that the stack should be preserved, but why not just do it
> literary by throwing away unused arguments?
> In the current implementation there is no way to pass 0 as the last
> argument. Do you think it's ok?

Thinking about this more, we actually have a few more tools in our 
arsenal working at the C level ;)

What do you think of the following patch? It should solve your problem 
with the last 0 argument, preserves stack content between calls and is 
probably easier to read too.


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-romvec-fortheval.patch
Type: text/x-diff
Size: 1719 bytes
Desc: not available
URL: <http://lists.openbios.org/pipermail/openbios/attachments/20101019/b22e442a/attachment.bin>


More information about the OpenBIOS mailing list