Home
last modified time | relevance | path

Searched refs:psr (Results 1 – 25 of 104) 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.h12 rd %psr, %l0; b label; rd %wim, %l3; nop;
15 #define SRMMU_TFAULT rd %psr, %l0; rd %wim, %l3; b srmmu_fault; mov 1, %l7;
16 #define SRMMU_DFAULT rd %psr, %l0; rd %wim, %l3; b srmmu_fault; mov 0, %l7;
20 rd %psr, %l0; mov num, %l7; b bad_trap_handler; rd %wim, %l3;
37 rd %psr, %l0;
41 rd %psr,%l0; \
48 rd %psr,%l0; \
58 b getcc_trap_handler; rd %psr, %l0; nop; nop;
62 b setcc_trap_handler; rd %psr, %l0; nop; nop;
66 rd %psr, %i0; jmp %l2; rett %l2 + 4; nop;
[all …]
Dpsr.h20 unsigned int psr; in get_psr() local
26 : "=r" (psr) in get_psr()
30 return psr; in get_psr()
Dptrace.h88 return (regs->psr & PSR_SYSCALL); in pt_regs_is_syscall()
93 return (regs->psr &= ~PSR_SYSCALL); in pt_regs_clear_syscall()
107 #define user_mode(regs) (!((regs)->psr & PSR_PS))
/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()
133 unsigned long psr) in do_priv_instruction() argument
137 if(psr & PSR_PS) in do_priv_instruction()
150 unsigned long psr) in do_memaccess_unaligned() argument
154 if(regs->psr & PSR_PS) { in do_memaccess_unaligned()
181 unsigned long psr) in do_fpd_trap() argument
184 if(psr & PSR_PS) in do_fpd_trap()
[all …]
Dentry.S157 wr %l0, 0x0, %psr
179 wr %l4, 0x0, %psr
181 wr %l4, PSR_ET, %psr
198 wr %l0, PSR_ET, %psr
228 wr %g2, 0x0, %psr
230 wr %g2, PSR_ET, %psr
237 wr %g2, PSR_ET, %psr ! keep ET up
247 wr %g2, 0x0, %psr
249 wr %g2, PSR_ET, %psr
253 wr %l0, PSR_ET, %psr
[all …]
Dtrampoline_32.S48 wr %g1, 0x0, %psr ! traps off though
71 rd %psr, %g1
72 wr %g1, PSR_ET, %psr ! traps on
103 wr %g1, 0x0, %psr ! traps off though
133 rd %psr, %g1
134 wr %g1, PSR_ET, %psr ! traps on
163 wr %g1, 0x0, %psr ! traps off though
190 rd %psr, %g1
191 wr %g1, PSR_ET, %psr ! traps on
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);
Dsignal_32.c92 up_psr = regs->psr; in do_sigreturn()
96 regs->psr = (up_psr & ~(PSR_ICC | PSR_EF)) in do_sigreturn()
97 | (regs->psr & (PSR_ICC | PSR_EF)); in do_sigreturn()
129 unsigned int psr, pc, npc; in do_rt_sigreturn() local
146 err |= __get_user(psr, &sf->regs.psr); in do_rt_sigreturn()
151 regs->psr = (regs->psr & ~PSR_ICC) | (psr & PSR_ICC); in do_rt_sigreturn()
315 unsigned int psr; in setup_rt_frame() local
336 psr = regs->psr; in setup_rt_frame()
338 psr |= PSR_EF; in setup_rt_frame()
339 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()
Dsignal32.c145 unsigned int psr; in do_sigreturn32() local
180 err |= __get_user(psr, &sf->info.si_regs.psr); in do_sigreturn32()
184 if ((psr & (PSR_VERS|PSR_IMPL)) == PSR_V8PLUS) { in do_sigreturn32()
199 regs->tstate |= psr_to_tstate_icc(psr); in do_sigreturn32()
233 unsigned int psr, pc, npc; in do_rt_sigreturn32() local
268 err |= __get_user(psr, &sf->regs.psr); in do_rt_sigreturn32()
272 if ((psr & (PSR_VERS|PSR_IMPL)) == PSR_V8PLUS) { in do_rt_sigreturn32()
287 regs->tstate |= psr_to_tstate_icc(psr); in do_rt_sigreturn32()
419 u32 psr; in setup_frame32() local
452 psr = tstate_to_psr(regs->tstate); in setup_frame32()
[all …]
Drtrap_32.S57 wr %t_psr, 0x0, %psr
87 wr %t_psr, 0x0, %psr
95 wr %t_psr, PSR_ET, %psr
153 wr %t_psr, 0x0, %psr
166 wr %t_psr, PSR_ET, %psr
209 wr %t_psr, 0x0, %psr
218 wr %t_psr, PSR_ET, %psr
/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/frv/kernel/
Dprocess.c210 unsigned long psr = __get_PSR(); in elf_check_arch() local
239 if (PSR_IMPLE(psr) != PSR_IMPLE_FR405 && in elf_check_arch()
240 PSR_IMPLE(psr) != PSR_IMPLE_FR451) in elf_check_arch()
252 if (PSR_IMPLE(psr) != PSR_IMPLE_FR401 && in elf_check_arch()
253 PSR_IMPLE(psr) != PSR_IMPLE_FR405 && in elf_check_arch()
254 PSR_IMPLE(psr) != PSR_IMPLE_FR451 && in elf_check_arch()
255 PSR_IMPLE(psr) != PSR_IMPLE_FR551) in elf_check_arch()
259 if (PSR_IMPLE(psr) != PSR_IMPLE_FR451) in elf_check_arch()
263 if (PSR_IMPLE(psr) != PSR_IMPLE_FR501) in elf_check_arch()
267 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/include/uapi/asm/
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()
/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/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/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/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/arm64/kernel/
Dopcodes.c55 asmlinkage unsigned int arm_check_condition(u32 opcode, u64 psr) in arm_check_condition() argument
58 u32 psr_cond = (u32)(psr & 0xffffffff) >> 28; in arm_check_condition()

12345