commit | 1773c944cf46445f9cf8bfa0606586150ce21557 | [log] [tgz] |
---|---|---|
author | Sudan Landge <sudan.landge@arm.com> | Wed Aug 20 14:10:40 2025 +0100 |
committer | Anas Nashif <anas.nashif@intel.com> | Fri Sep 19 13:12:30 2025 -0400 |
tree | 6239e240e434d1987e793bd2feb99261905b5d43 | |
parent | 06034195230574703298313984e82fc0c534a14b [diff] |
arch: arm: switch to privilege stack in SVC handler Initialize the privilege stack and switch PSP to it early in the SVC handler to ensure `z_arm_do_syscall` does not start on a user-accessible stack frame. Signed-off-by: Sudan Landge <sudan.landge@arm.com> (cherry picked from commit 319c69728629d8447e230a0532e22af18eb30dc3)