diff options
author | Kinsey Moore <kinsey.moore@oarcorp.com> | 2020-10-22 12:58:44 -0500 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2020-11-13 12:31:41 -0600 |
commit | eb3d7fbf650e1b18f956b47bed40632cdfc03b19 (patch) | |
tree | c3f069b8911964f3a8a9f1be317afadfeebfcf24 /cpukit/score/cpu/aarch64/include/rtems/score/cpu.h | |
parent | rtems: Generate <rtems/score/basedefs.h> (diff) | |
download | rtems-eb3d7fbf650e1b18f956b47bed40632cdfc03b19.tar.bz2 |
score/aarch64: Size saved SP register for ABI
This ensures that the saved SP register is sized appropriately depending
on the chosen ABI and prevents a warning in the libmisc stack checker.
Diffstat (limited to 'cpukit/score/cpu/aarch64/include/rtems/score/cpu.h')
-rw-r--r-- | cpukit/score/cpu/aarch64/include/rtems/score/cpu.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/cpukit/score/cpu/aarch64/include/rtems/score/cpu.h b/cpukit/score/cpu/aarch64/include/rtems/score/cpu.h index dc94e59831..d86543b12a 100644 --- a/cpukit/score/cpu/aarch64/include/rtems/score/cpu.h +++ b/cpukit/score/cpu/aarch64/include/rtems/score/cpu.h @@ -488,7 +488,10 @@ typedef struct { #ifdef AARCH64_MULTILIB_ARCH_V8_ILP32 uint32_t _register_lr_top; #endif - uint64_t register_sp; + uintptr_t register_sp; +#ifdef AARCH64_MULTILIB_ARCH_V8_ILP32 + uint32_t _register_sp_top; +#endif void *register_pc; #ifdef AARCH64_MULTILIB_ARCH_V8_ILP32 uint32_t _register_pc_top; |