SPM: Mask NS interrupts in Secure thread mode execution
Set the priority of thread mode execution to the highest priority that
Non-Secure can boost(0x80). Clear BASEPRI to 0x00 before jumping to
Non-Secure as BASEPRI_S impacts the thread mode execution of Non-Secure.
A new build option named CONFIG_TFM_SECURE_THREAD_MASK_NS_INTERRUPT
is added for this functionality.
Signed-off-by: Sherry Zhang <sherry.zhang2@arm.com>
Signed-off-by: Mate Toth-Pal <mate.toth-pal@arm.com>
Change-Id: I61bfebb0309c1bd6b82a48c9f6d761ca6cf196b2
5 files changed