Lines Matching +full:- +full:t0
6 * SPDX-License-Identifier: Apache-2.0
43 op t0, ESF_O(t0)(sp) ;\
61 addi sp, sp, -__struct_arch_esf_SIZEOF ;\
85 * Save caller-saved registers on current thread stack.
90 mfhi t0
92 OP_STOREREG t0, ESF_O(hi)(sp)
94 mfc0 t0, CP0_EPC
95 OP_STOREREG t0, ESF_O(epc)(sp)
98 mfc0 t0, CP0_STATUS
99 OP_STOREREG t0, ESF_O(status)(sp)
115 and t1, t1, t0
146 * If NULL, jump to reschedule to perform a context-switch, otherwise,
149 la t0, _offload_routine
150 OP_LOADREG t1, 0(t0)
160 * Go to reschedule to handle context-switch
180 addi sp, sp, -16
220 * Sometimes this code is execute back-to-back before the target thread
224 la t0, _kernel
225 OP_LOADREG t2, _kernel_offset_to_current(t0)
226 OP_LOADREG t3, _kernel_offset_to_ready_q_cache(t0)
230 la t0, _kernel
233 OP_LOADREG t1, _kernel_offset_to_current(t0)
236 * Save callee-saved registers of current kernel thread
237 * prior to handle context-switching
253 OP_LOADREG t1, _kernel_offset_to_ready_q_cache(t0)
258 OP_STOREREG t1, _kernel_offset_to_current(t0)
263 /* Restore callee-saved registers of new thread */
285 /* Restore caller-saved registers from thread stack */