[coreboot] __attribute__((stdcall)) vs. __attribute__((regparm(0)))

Myles Watson mylesgw at gmail.com
Wed Oct 29 19:18:51 CET 2008

> > Whatever calling sequence you choose, please put the required attribute
> > for any function that needs something specific in the declaration for
> > that function (in a header file).  This includes any function
> > implemented
> > in assembler (except those without arguments at all).
> >
> > This will save you a lot of headaches ;-)
> I appreciate the clarification.
> Thanks,
> Myles
> This patch makes the vm86 call succeed. It
1. moves the run_bios function down so it can call setup_realmode_idt
2. adds the __attribute__((regnum(0))) to biosint because it is called from

Signed-off-by: Myles Watson <mylesgw at gmail.com>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081029/75ba0a85/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vga_fixup.diff
Type: text/x-patch
Size: 1648 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20081029/75ba0a85/attachment.diff>

More information about the coreboot mailing list