Home
last modified time | relevance | path

Searched refs:psr (Results 1 – 25 of 103) sorted by relevance

12345

/arch/ia64/sn/kernel/
Dpio_phys.S28 mov r2=psr
29 rsm psr.i | psr.dt
34 mov psr.l=r2;;
43 mov r2=psr
44 rsm psr.i | psr.dt
49 mov psr.l=r2;;
58 mov r2=psr
60 rsm psr.i | psr.dt | psr.ic
66 mov psr.l=r2;;
/arch/sparc/include/asm/
Dhead_32.h19 rd %psr, %l0; b label; rd %wim, %l3; nop;
22 #define SPARC_TFAULT rd %psr, %l0; rd %wim, %l3; b sun4c_fault; mov 1, %l7;
23 #define SPARC_DFAULT rd %psr, %l0; rd %wim, %l3; b sun4c_fault; mov 0, %l7;
24 #define SRMMU_TFAULT rd %psr, %l0; rd %wim, %l3; b srmmu_fault; mov 1, %l7;
25 #define SRMMU_DFAULT rd %psr, %l0; rd %wim, %l3; b srmmu_fault; mov 0, %l7;
29 rd %psr, %l0; mov num, %l7; b bad_trap_handler; rd %wim, %l3;
46 rd %psr, %l0;
50 rd %psr,%l0; \
57 rd %psr,%l0; \
67 b getcc_trap_handler; mov %psr, %l0; nop; nop;
[all …]
Dpsrcompat.h37 static inline unsigned long psr_to_tstate_icc(unsigned int psr) in psr_to_tstate_icc() argument
39 unsigned long tstate = ((unsigned long)(psr & PSR_ICC)) << 12; in psr_to_tstate_icc()
40 if ((psr & (PSR_VERS|PSR_IMPL)) == PSR_V8PLUS) in psr_to_tstate_icc()
41 tstate |= ((unsigned long)(psr & PSR_XCC)) << 20; in psr_to_tstate_icc()
Dpsr.h44 unsigned int psr; in get_psr() local
50 : "=r" (psr) in get_psr()
54 return psr; in get_psr()
/arch/sparc/kernel/
Dtraps_32.c86 if(regs->psr & PSR_PS) in die_if_kernel()
101 if(regs->psr & PSR_PS) in do_hw_interrupt()
113 unsigned long psr) in do_illegal_instruction() argument
117 if(psr & PSR_PS) in do_illegal_instruction()
135 unsigned long psr) in do_priv_instruction() argument
139 if(psr & PSR_PS) in do_priv_instruction()
152 unsigned long psr) in do_memaccess_unaligned() argument
156 if(regs->psr & PSR_PS) { in do_memaccess_unaligned()
183 unsigned long psr) in do_fpd_trap() argument
186 if(psr & PSR_PS) in do_fpd_trap()
[all …]
Dentry.h15 unsigned long npc, unsigned long psr);
18 unsigned long npc, unsigned long psr);
21 unsigned long psr);
23 unsigned long npc, unsigned long psr);
25 unsigned long npc, unsigned long psr);
27 unsigned long npc, unsigned long psr);
29 unsigned long npc, unsigned long psr);
31 unsigned long npc, unsigned long psr);
33 unsigned long npc, unsigned long psr);
35 unsigned long npc, unsigned long psr);
Dtrampoline_32.S48 wr %g1, 0x0, %psr ! traps off though
71 rd %psr, %g1
72 wr %g1, PSR_ET, %psr ! traps on
124 wr %g1, 0x0, %psr ! traps off though
154 rd %psr, %g1
155 wr %g1, PSR_ET, %psr ! traps on
186 wr %g1, 0x0, %psr ! traps off though
213 rd %psr, %g1
214 wr %g1, PSR_ET, %psr ! traps on
Dmuldiv.c173 handle_hw_divzero (regs, pc, regs->npc, regs->psr); in do_user_muldiv()
202 handle_hw_divzero (regs, pc, regs->npc, regs->psr); in do_user_muldiv()
225 regs->psr &= ~PSR_ICC; in do_user_muldiv()
228 if (rs2) regs->psr |= PSR_V; in do_user_muldiv()
230 if (!rs1) regs->psr |= PSR_Z; in do_user_muldiv()
231 if (((int)rs1) < 0) regs->psr |= PSR_N; in do_user_muldiv()
233 printk ("psr muldiv: %08x\n", regs->psr); in do_user_muldiv()
Dwof.S121 wr %t_psr, 0x0, %psr ! restore condition codes in %psr
191 wr %t_psr, 0x0, %psr
207 rd %psr, %glob_tmp
253 wr %t_psr, PSR_ET, %psr
286 wr %t_psr, 0x0, %psr
318 rd %psr, %glob_tmp
328 rd %psr, %glob_tmp
348 rd %psr, %glob_tmp
359 rd %psr, %glob_tmp
372 rd %psr, %glob_tmp
[all …]
Dentry.S169 wr %l0, 0x0, %psr
191 wr %l4, 0x0, %psr
193 wr %l4, PSR_ET, %psr
210 wr %l0, PSR_ET, %psr
240 wr %g2, 0x0, %psr
242 wr %g2, PSR_ET, %psr
249 wr %g2, PSR_ET, %psr ! keep ET up
259 wr %g2, 0x0, %psr
261 wr %g2, PSR_ET, %psr
265 wr %l0, PSR_ET, %psr
[all …]
Dsignal_32.c116 up_psr = regs->psr; in do_sigreturn()
120 regs->psr = (up_psr & ~(PSR_ICC | PSR_EF)) in do_sigreturn()
121 | (regs->psr & (PSR_ICC | PSR_EF)); in do_sigreturn()
154 unsigned int psr, pc, npc; in do_rt_sigreturn() local
173 err |= __get_user(psr, &sf->regs.psr); in do_rt_sigreturn()
178 regs->psr = (regs->psr & ~PSR_ICC) | (psr & PSR_ICC); in do_rt_sigreturn()
366 unsigned int psr; in setup_rt_frame() local
385 psr = regs->psr; in setup_rt_frame()
387 psr |= PSR_EF; in setup_rt_frame()
388 err |= __put_user(psr, &sf->regs.psr); in setup_rt_frame()
[all …]
Dptrace_32.c90 reg = regs->psr; in genregs32_get()
167 unsigned long psr; in genregs32_set() local
176 psr = regs->psr; in genregs32_set()
177 psr &= ~(PSR_ICC | PSR_SYSCALL); in genregs32_set()
178 psr |= (reg & (PSR_ICC | PSR_SYSCALL)); in genregs32_set()
179 regs->psr = psr; in genregs32_set()
358 &pregs->psr); in arch_ptrace()
371 &pregs->psr); in arch_ptrace()
/arch/ia64/scripts/
Dpvcheck.sed4 s/ssm.*psr\.ic.*/.warning \"ssm psr.ic should not be used directly\"/g
5 s/rsm.*psr\.ic.*/.warning \"rsm psr.ic should not be used directly\"/g
6 s/ssm.*psr\.i.*/.warning \"ssm psr.i should not be used directly\"/g
7 s/rsm.*psr\.i.*/.warning \"rsm psr.i should not be used directly\"/g
8 s/ssm.*psr\.dt.*/.warning \"ssm psr.dt should not be used directly\"/g
9 s/rsm.*psr\.dt.*/.warning \"rsm psr.dt should not be used directly\"/g
18 s/mov.*=[^\.]*psr/.warning \"psr should not used directly\"/g # avoid ar.fpsr
/arch/ia64/include/asm/native/
Dinst.h77 (pred) mov reg = psr \
132 ssm psr.ic | PSR_DEFAULT_BITS \
140 ssm psr.ic \
147 rsm psr.ic \
151 (pred) ssm psr.i \
156 (pred) rsm psr.i \
161 rsm psr.i | psr.ic \
167 rsm psr.dt
170 rsm psr.be | psr.i \
175 ssm psr.dt \
/arch/frv/include/asm/
Dirqflags.h103 unsigned long psr; \
108 : "=r"(psr) \
115 unsigned long psr; \
119 : "=r"(psr) \
/arch/frv/kernel/
Dprocess.c292 unsigned long psr = __get_PSR(); in elf_check_arch() local
321 if (PSR_IMPLE(psr) != PSR_IMPLE_FR405 && in elf_check_arch()
322 PSR_IMPLE(psr) != PSR_IMPLE_FR451) in elf_check_arch()
334 if (PSR_IMPLE(psr) != PSR_IMPLE_FR401 && in elf_check_arch()
335 PSR_IMPLE(psr) != PSR_IMPLE_FR405 && in elf_check_arch()
336 PSR_IMPLE(psr) != PSR_IMPLE_FR451 && in elf_check_arch()
337 PSR_IMPLE(psr) != PSR_IMPLE_FR551) in elf_check_arch()
341 if (PSR_IMPLE(psr) != PSR_IMPLE_FR451) in elf_check_arch()
345 if (PSR_IMPLE(psr) != PSR_IMPLE_FR501) in elf_check_arch()
349 if (PSR_IMPLE(psr) != PSR_IMPLE_FR551) in elf_check_arch()
Dentry.S113 movsg psr ,gr22
170 movsg psr,gr4
173 movgs gr4,psr
175 movgs gr4,psr
599 movsg psr,gr4
601 movgs gr4,psr
652 movsg psr,gr4
654 movgs gr4,psr
691 movsg psr,gr4
693 movgs gr4,psr
[all …]
/arch/sparc/lib/
Datomic_32.S18 rd %psr, %g3
22 wr %g3, PSR_PIL, %psr
29 wr %g3, 0x0, %psr
/arch/ia64/sn/kernel/sn2/
Dptc_deadlock.S59 mov psrsave=psr // Disable IC (no PMIs)
60 rsm psr.i | psr.dt | psr.ic;;
84 mov psr.l=psrsave;; // Reenable IC
/arch/ia64/include/asm/
Dmca_asm.h83 mov old_psr = psr; \
99 mov temp1 = psr; \
100 mov temp2 = psr; \
105 mov psr.l = temp2; \
163 mov temp2 = psr; \
169 mov psr.l = temp2; \
/arch/ia64/kvm/
Dvmm.c76 long psr; in vcpu_debug_exit() local
78 local_irq_save(psr); in vcpu_debug_exit()
81 local_irq_restore(psr); in vcpu_debug_exit()
Dvmm_ivt.S68 # define PSR_DEFAULT_BITS psr.ac
94 ssm psr.ic
98 (p15) ssm psr.i // restore psr.
248 ssm psr.ic
252 (p15)ssm psr.i // restore psr.i
356 ssm psr.ic
438 ssm psr.ic
442 (p15) ssm psr.i // restore psr.i
818 ssm psr.ic
822 (p15) ssm psr.i // restore psr.i
[all …]
/arch/arm/kernel/
Dopcodes.c55 asmlinkage unsigned int arm_check_condition(u32 opcode, u32 psr) in arm_check_condition() argument
58 u32 psr_cond = psr >> 28; in arm_check_condition()
/arch/ia64/kernel/
Dpal.S70 mov loc3 = psr
78 rsm psr.i
82 1: mov psr.l = loc3
112 mov loc3 = psr
114 rsm psr.i
118 .ret0: mov psr.l = loc3
161 mov loc3 = psr // save psr
187 mov psr.l = loc3 // restore init PSR
215 mov loc3 = psr // save psr
245 mov psr.l = loc3 // restore init PSR
/arch/arm/mm/
Dabort-macro.S12 .macro do_thumb_abort, fsr, pc, psr, tmp
13 tst \psr, #PSR_T_BIT

12345