mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-11 03:57:44 +00:00
On SysV ABI, the NANO_ESF parameter is passed in via the stack. For IAMCU, this is instead expected to be in EAX. _ExcEnter is currently using EAX to stash the return address of the calling stub while it does a stack switch. Change it to use ECX for this purpose, and if we are running with IAMCU place the parameter in EAX instead of pushing it. The output of the fault handler has been cleaned up a bit and it now also includes the code segment. Change-Id: I466e3990a26a1a82dd486f3d8af5395eab60b049 Signed-off-by: Andrew Boie <andrew.p.boie@intel.com> |
||
---|---|---|
.. | ||
arc | ||
arm | ||
x86 | ||
Kconfig | ||
Makefile |