Lines Matching defs:mode
52 ; 1. SP auto-switched to kernel mode stack
53 ; 2. STATUS32.Z flag set if in U mode at time of interrupt (U:1,K:0)
81 ; 1. SP auto-switched to kernel mode stack
82 ; 2. STATUS32.Z flag set if in U mode at time of exception (U:1,K:0)
159 ; - U mode: retrieve it from AUX_USER_SP
160 ; - K mode: add the offset from current SP where H/w starts auto push
162 ; 1. Utilize the fact that Z bit is set if Intr taken in U mode
164 ; but on return, restored only if U mode
166 lr r10, [AUX_USER_SP] ; U mode SP
170 add2.nz r10, r10, SZ_PT_REGS/4 ; K mode SP
195 ; Restore SP (into AUX_USER_SP) only if returning to U mode
196 ; - for K mode, it will be implicitly restored as stack is unwound
238 ; INPUT: Z flag set if returning to K mode