Hello,
Mode have their own stack on this chip, but it's not clear to me whether , let say secure supervisor and non secure supervisor share a common stack or they need their own one ? (same for all modes of PL1)...
Thanks for any info.
all general register are shared.This includes all but the monitor-mode stackpointer
Well, then secure supervisor and non secure supervisor: one mode or two modes ?
Any mode exists in both secure and non-secure.Therefore a "context switch" needs to save/restore all processor registers from all modes.
Ok then, just confirmed on my target, need a SP for secure state and a different one for non-secure.
Thanks for your highlights.