mirror of
https://github.com/apache/nuttx.git
synced 2026-06-04 14:53:47 +08:00
arch/arm64: make sure regs_context is aligned to 16
Signed-off-by: Xu Xingliang <xuxingliang@xiaomi.com>
This commit is contained in:
@@ -165,7 +165,7 @@ extern "C"
|
|||||||
EXTERN char sym[n][size]
|
EXTERN char sym[n][size]
|
||||||
|
|
||||||
#define STACK_PTR_TO_FRAME(type, ptr) \
|
#define STACK_PTR_TO_FRAME(type, ptr) \
|
||||||
(type *)((uintptr_t)(ptr) - sizeof(type))
|
(type *)STACK_ALIGN_DOWN((uintptr_t)(ptr) - sizeof(type))
|
||||||
|
|
||||||
#define INTSTACK_SIZE (CONFIG_ARCH_INTERRUPTSTACK & ~STACK_ALIGN_MASK)
|
#define INTSTACK_SIZE (CONFIG_ARCH_INTERRUPTSTACK & ~STACK_ALIGN_MASK)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user