[coreboot] [v3][patch] Fix stdcall for asm to C call.
Marc Jones
marcj303 at gmail.com
Fri Feb 6 23:34:53 CET 2009
Coreboot uses the compiler option -mregparm=3 which causes variables to be
passed in registers. This is good for size and speed but not good when we
call a C function from asm. Force stage1_phase1 to use stdcall and get
variables off the stack.
Note that I didn't change stage1_phase3 because it doesn't use any variables.
Signed-off-by: Marc Jones <marcj303 at gmail.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: stdcall.patch
Type: application/octet-stream
Size: 985 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090206/f7e28687/attachment.obj>
More information about the coreboot
mailing list