mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 08:36:24 +08:00
Simulator: Adds necessary functionality to build Simulator under ARM Linux. Tested only on Raspberry3. Currently setjmp/longjmp do not save/restore floating point registers. Patch provided by Bitbucket user nbkolchin.
This commit is contained in:
@@ -57,10 +57,12 @@
|
||||
/* Storage order: %rbx, %rsp, %rbp, %r12, %r13, %r14, %r15, %rip */
|
||||
|
||||
# define XCPTCONTEXT_REGS 8
|
||||
#else
|
||||
#elif defined(CONFIG_HOST_X86) || defined(CONFIG_SIM_M32)
|
||||
/* Storage order: %ebx, %esi, %edi, %ebp, sp, and return PC */
|
||||
|
||||
# define XCPTCONTEXT_REGS 6
|
||||
#elif defined(CONFIG_HOST_ARM)
|
||||
# define XCPTCONTEXT_REGS 16
|
||||
#endif
|
||||
|
||||
/****************************************************************************
|
||||
|
||||
Reference in New Issue
Block a user