Lines Matching +full:wr +full:- +full:active
1 /* SPDX-License-Identifier: GPL-2.0 */
44 /* Datum current_thread_info->uwinmask contains at all times a bitmask
45 * where if any user windows are active, at least one bit will
46 * be set in to mask. If no user windows are active, the bitmask
53 * 1 2 3 4 <-- Window number
54 * ----------
55 * T O W I <-- Symbolic name
73 /* On 7-window Sparc the boot code patches fnwin_patch1
93 wr %twin_tmp1, 0x0, %wim /* Make window 'I' invalid */
122 wr %t_psr, 0x0, %psr
139 #define STACK_OFFSET (THREAD_SIZE - TRACEREG_SZ - STACKFRAME_SZ)
145 * to the trap window and call c-code to deal with this.
179 /* re-set trap time %wim value */
180 wr %t_wim, 0x0, %wim
188 wr %t_psr, PSR_ET, %psr ! enable traps
214 wr %t_psr, 0x0, %psr
235 * Contrary to the arch-specific window overflow stack
266 LEON_PI(lda [%g0] ASI_LEON_MMUREGS, %l5) ! read mmu-ctrl reg
267 SUN_PI_(lda [%g0] ASI_M_MMUREGS, %l5) ! read mmu-ctrl reg
268 or %l5, 0x2, %l5 ! turn on no-fault bit
282 LEON_PI(lda [%g0] ASI_LEON_MMUREGS, %twin_tmp1) ! load mmu-ctrl again
283 SUN_PI_(lda [%g0] ASI_M_MMUREGS, %twin_tmp1) ! load mmu-ctrl again
284 andn %twin_tmp1, 0x2, %twin_tmp1 ! clear no-fault bit
300 wr %t_psr, 0x0, %psr