commit | 463b1c9396d2385b8e6028db09e0d73139a1f52c | [log] [tgz] |
---|---|---|
author | Jaxson Han <jaxson.han@arm.com> | Tue Nov 01 16:03:42 2022 +0800 |
committer | Carles CufĂ <carles.cufi@nordicsemi.no> | Tue Mar 14 10:49:22 2023 +0100 |
tree | c14bd856444cdf8e8e2e5296d975df073313aa41 | |
parent | 3a5fa0498f0ca9ad951da04a0e4ded6c9266ec2a [diff] |
arch: arm64: Add safe exception stack init function Add safe exception stack init function which does several things: 1) setting current cpu safe exception stack pointer to its corresponding stack top. 2) init sp_el0 with the above safe exception stack. That makes sure the sp_el0 points to per-cpu safe_stack in the kernel space. 3) init the current_stack_limit and corrupted_sp with 0 Signed-off-by: Jaxson Han <jaxson.han@arm.com>