AALLeeXXX
Posts: 68
Joined: Sun Apr 10, 2016 1:37 pm
Location: Yokohama

Unique SP for both secure and non-secure modes ?

Wed Nov 22, 2017 3:35 pm

Hello,

Not sure at all about above statement.
I know each mode has its own SP, but for a given PL1 mode, does it share a unique SP when in secure state and non-secure state ? Do secure SVC and non-secure SVC use the same stack ?
In docs, SP does not appear as "banked" in secure and non-secure modes, so responses seems to be no, but I have a doubt anyway...

Thanks

AALLeeXXX
Posts: 68
Joined: Sun Apr 10, 2016 1:37 pm
Location: Yokohama

Re: Unique SP for both secure and non-secure modes ?

Wed Nov 29, 2017 5:12 pm

In case some would have the same question, no, SP are common - not banked - between secure and non secure state.

Return to “Bare metal”

Who is online

Users browsing this forum: ISR and 4 guests