commit | 7040c554386280cf87ee22bdc533816d07571b3e | [log] [tgz] |
---|---|---|
author | Jaxson Han <jaxson.han@arm.com> | Tue Nov 01 15:32:50 2022 +0800 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Mar 14 10:49:22 2023 +0100 |
tree | e52df17c6d679e105309055ca75e9faf32396d5b | |
parent | d8d74b13209a9f5c9480f88256a81ee0d7b00e3c [diff] |
arch: arm64: Add stack check relevant variables to _cpu_arch_t Add three per-cpu variables for the convenience of quickly accessing. The safe_exception_stack stores the top of safe exception stack pointer. The current_stack_limit stores the current thread's priv stack limit. The corrputed_sp stores the priv sp or irq sp for the stack overflow case, or 0 for the normal case. Signed-off-by: Jaxson Han <jaxson.han@arm.com>