Lines Matching defs:mode
53 ; 1. SP auto-switched to kernel mode stack
54 ; 2. STATUS32.Z flag set if in U mode at time of interrupt (U:1,K:0)
78 ; 1. SP auto-switched to kernel mode stack
79 ; 2. STATUS32.Z flag set if in U mode at time of exception (U:1,K:0)
145 ; - U mode: retrieve it from AUX_USER_SP
146 ; - K mode: add the offset from current SP where H/w starts auto push
148 ; 1. Utilize the fact that Z bit is set if Intr taken in U mode
150 ; but on return, restored only if U mode
152 lr r10, [AUX_USER_SP] ; U mode SP
156 add.nz r10, r10, SZ_PT_REGS ; K mode SP
181 ; Restore SP (into AUX_USER_SP) only if returning to U mode
182 ; - for K mode, it will be implicitly restored as stack is unwound
228 ; INPUT: Z flag set if returning to K mode