[coreboot] [v3][patch] Fix stdcall for asm to C call.
marcj303 at gmail.com
Tue Feb 10 23:36:02 CET 2009
On Fri, Feb 6, 2009 at 4:27 PM, Peter Stuge <peter at stuge.se> wrote:
> Marc Jones wrote:
>> 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>
> Acked-by: Peter Stuge <peter at stuge.se>
More information about the coreboot