Calling conventions for IAR
Uwe Kleine-König
u.kleine-koenig at pengutronix.de
Thu Nov 18 03:10:48 EST 2010
On Wed, Nov 17, 2010 at 04:29:36PM -0500, jonsmirl at gmail.com wrote:
> Currently we are using the ARM gcc AAPCS calling conventions. I need
> to call into an older ROM written with an IAR compiler. Can I decorate
> the function declarations for older calling conventions like I do on
> x86 (_fastcall, _cdelc, _stdcall, etc)? I can't figure out the right
> thing to search for, what's a good keyword?
I don't know if something like this exists and I don't now either which
calling convention is used by an IAR compiler.
I'd just call the ROM functions using an asm (or inline-asm) stub if
it's different enough not to be directly callable.
Best regards
Uwe
--
Pengutronix e.K. | Uwe Kleine-König |
Industrial Linux Solutions | http://www.pengutronix.de/ |
More information about the linux-arm-kernel
mailing list