From eb3d7fbf650e1b18f956b47bed40632cdfc03b19 Mon Sep 17 00:00:00 2001 From: Kinsey Moore Date: Thu, 22 Oct 2020 12:58:44 -0500 Subject: 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. --- cpukit/score/cpu/aarch64/include/rtems/score/cpu.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'cpukit') 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; -- cgit v1.2.3