Searched refs:psr (Results 1 - 25 of 95) sorted by relevance

1234

/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/sn/kernel/
H A Dpio_phys.S12 * pio_atomic_phys_write_mmrs - atomically write 1 or 2 MMRs with psr.ic=0
28 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
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc/
H A Dhead.h13 #define WRITE_PAUSE nop; nop; nop; /* Have to do this after %wim/%psr chg */
20 rd %psr, %l0; b label; rd %wim, %l3; nop;
23 #define SPARC_TFAULT rd %psr, %l0; rd %wim, %l3; b sun4c_fault; mov 1, %l7;
24 #define SPARC_DFAULT rd %psr, %l0; rd %wim, %l3; b sun4c_fault; mov 0, %l7;
25 #define SRMMU_TFAULT rd %psr, %l0; rd %wim, %l3; b srmmu_fault; mov 1, %l7;
26 #define SRMMU_DFAULT rd %psr, %l0; rd %wim, %l3; b srmmu_fault; mov 0, %l7;
30 rd %psr, %l0; mov num, %l7; b bad_trap_handler; rd %wim, %l3;
47 rd %psr, %l0;
51 rd %psr, %l0; \
58 rd %psr,
[all...]
H A Dpsr.h1 /* $Id: psr.h,v 1.1.1.1 2007/08/03 18:53:36 Exp $
2 * psr.h: This file holds the macros for masking off various parts of
40 /* Get the %psr register. */
43 unsigned int psr; local
45 "rd %%psr, %0\n\t"
49 : "=r" (psr)
53 return psr;
59 "wr %0, 0x0, %%psr\n\t"
69 * enable bit is set in the %psr when you execute this or you will
H A Dsigcontext.h40 unsigned long psr; member in struct:__anon9460::__anon9461
H A Dprocessor.h18 #include <asm/psr.h>
87 regs->psr = (regs->psr & (PSR_CWP)) | PSR_S;
H A Dptrace.h5 #include <asm/psr.h>
14 unsigned long psr; member in struct:pt_regs
66 #define user_mode(regs) (!((regs)->psr & PSR_PS))
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-sparc64/
H A Dpsrcompat.h36 static inline unsigned long psr_to_tstate_icc(unsigned int psr) argument
38 unsigned long tstate = ((unsigned long)(psr & PSR_ICC)) << 12;
39 if ((psr & (PSR_VERS|PSR_IMPL)) == PSR_V8PLUS)
40 tstate |= ((unsigned long)(psr & PSR_XCC)) << 20;
H A Dsigcontext.h46 unsigned int psr; member in struct:__anon9494::__anon9495
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/kernel/
H A Dcpu.c14 #include <asm/psr.h>
132 int i, psr; local
137 psr = get_psr();
138 put_psr(psr | PSR_EF);
140 put_psr(psr);
151 printk("DEBUG: psr.impl = 0x%x psr.vers = 0x%x\n", psr_impl,
163 printk("DEBUG: psr.impl = 0x%x fsr.vers = 0x%x\n", psr_impl,
H A Dtraps.c127 if(regs->psr & PSR_PS)
142 if(regs->psr & PSR_PS)
154 unsigned long psr)
159 if(psr & PSR_PS)
177 unsigned long psr)
181 if(psr & PSR_PS)
193 unsigned long psr)
197 if(regs->psr & PSR_PS) {
223 unsigned long psr)
226 if(psr
153 do_illegal_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, unsigned long psr) argument
176 do_priv_instruction(struct pt_regs *regs, unsigned long pc, unsigned long npc, unsigned long psr) argument
192 do_memaccess_unaligned(struct pt_regs *regs, unsigned long pc, unsigned long npc, unsigned long psr) argument
222 do_fpd_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, unsigned long psr) argument
266 do_fpe_trap(struct pt_regs *regs, unsigned long pc, unsigned long npc, unsigned long psr) argument
373 handle_tag_overflow(struct pt_regs *regs, unsigned long pc, unsigned long npc, unsigned long psr) argument
388 handle_watchpoint(struct pt_regs *regs, unsigned long pc, unsigned long npc, unsigned long psr) argument
400 handle_reg_access(struct pt_regs *regs, unsigned long pc, unsigned long npc, unsigned long psr) argument
417 handle_cp_disabled(struct pt_regs *regs, unsigned long pc, unsigned long npc, unsigned long psr) argument
430 handle_cp_exception(struct pt_regs *regs, unsigned long pc, unsigned long npc, unsigned long psr) argument
447 handle_hw_divzero(struct pt_regs *regs, unsigned long pc, unsigned long npc, unsigned long psr) argument
[all...]
H A Dmuldiv.c93 unsigned long npc, unsigned long psr);
175 handle_hw_divzero (regs, pc, regs->npc, regs->psr);
204 handle_hw_divzero (regs, pc, regs->npc, regs->psr);
227 regs->psr &= ~PSR_ICC;
230 if (rs2) regs->psr |= PSR_V;
232 if (!rs1) regs->psr |= PSR_Z;
233 if (((int)rs1) < 0) regs->psr |= PSR_N;
235 printk ("psr muldiv: %08x\n", regs->psr);
H A Dtrampoline.S10 #include <asm/psr.h>
26 * in and sets PIL in %psr to 15, no irqs.
46 /* Set up a sane %psr -- PIL<0xf> S<0x1> PS<0x1> CWP<0x0> */
48 wr %g1, 0x0, %psr ! traps off though
71 rd %psr, %g1
72 wr %g1, PSR_ET, %psr ! traps on
116 /* Set up a sane %psr -- PIL<0xf> S<0x1> PS<0x1> CWP<0x0> */
118 wr %g1, 0x0, %psr ! traps off though
148 rd %psr, %g1
149 wr %g1, PSR_ET, %psr ! trap
[all...]
H A Dwof.S10 #include <asm/psr.h>
33 #define t_psr l0 /* %psr at trap time T */
59 * rd %psr, %l0
121 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
279 /* Restore globals, condition codes in the %psr and
286 wr %t_psr, 0x0, %psr
[all...]
H A Dsclow.S14 #include <asm/psr.h>
20 wr %l4, 0x0, %psr; \
28 wr %l4, 0x0, %psr; \
H A Dsignal.c125 regs->psr &= ~PSR_EF;
129 regs->psr &= ~PSR_EF;
174 up_psr = regs->psr;
177 /* User can only change condition codes and FPU enabling in %psr. */
178 regs->psr = (up_psr & ~(PSR_ICC | PSR_EF))
179 | (regs->psr & (PSR_ICC | PSR_EF));
210 unsigned long pc, npc, psr; local
261 /* User can only change condition codes in %psr. */
262 err |= __get_user(psr, &scptr->sigc_psr);
266 regs->psr
277 unsigned int psr, pc, npc; local
602 unsigned int psr; local
862 unsigned long pc, npc, psr; local
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/sparc/lib/
H A Drwsem.S8 #include <asm/psr.h>
15 rd %psr, %g3
20 wr %g7, 0, %psr
37 wr %g3, 0, %psr
66 rd %psr, %g3
71 wr %g7, 0, %psr
88 wr %g3, 0, %psr
118 rd %psr, %g3
123 wr %g7, 0, %psr
140 wr %g3, 0, %psr
[all...]
H A Datomic.S7 #include <asm/psr.h>
18 rd %psr, %g3
22 wr %g3, PSR_PIL, %psr
29 wr %g3, 0x0, %psr
48 rd %psr, %g3 ! Keep the code small, old way was stupid
51 wr %g7, 0x0, %psr ! Set %psr
67 wr %g3, 0x0, %psr ! Restore original PSR_PIL
74 rd %psr, %g3 ! Keep the code small, old way was stupid
77 wr %g7, 0x0, %psr ! Se
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/sn/kernel/sn2/
H A 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
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-ia64/
H A Dsystem.h112 * - clearing psr.i is implicitly serialized (visible by next insn)
113 * - setting psr.i requires data serialization
142 unsigned long psr; \
144 __local_irq_save(psr); \
145 if (psr & IA64_PSR_I) \
147 (x) = psr; \
154 unsigned long old_psr, psr = (x); \
157 __local_irq_restore(psr); \
158 if ((old_psr & IA64_PSR_I) && !(psr & IA64_PSR_I)) \
H A Dmca_asm.h59 * 1. Save the current psr
63 * in the psr before updating the ipsr and iip.
65 * 4. Turn off the instruction, data and rse translation bits of the psr
69 * [psr.{rt, it, dt, i, be} = 0]
77 * 6. Do an rfi to move the values from ipsr to psr and iip to ip.
80 mov old_psr = psr; \
96 mov temp1 = psr; \
97 mov temp2 = psr; \
102 mov psr.l = temp2; \
141 * 1. Get the old saved psr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/frv/kernel/
H A Dprocess.c311 unsigned long psr = __get_PSR(); local
340 if (PSR_IMPLE(psr) != PSR_IMPLE_FR405 &&
341 PSR_IMPLE(psr) != PSR_IMPLE_FR451)
353 if (PSR_IMPLE(psr) != PSR_IMPLE_FR401 &&
354 PSR_IMPLE(psr) != PSR_IMPLE_FR405 &&
355 PSR_IMPLE(psr) != PSR_IMPLE_FR451 &&
356 PSR_IMPLE(psr) != PSR_IMPLE_FR551)
360 if (PSR_IMPLE(psr) != PSR_IMPLE_FR451)
364 if (PSR_IMPLE(psr) != PSR_IMPLE_FR501)
368 if (PSR_IMPLE(psr) !
[all...]
H A Dentry.S113 movsg psr ,gr22
170 movsg psr,gr4
173 movgs gr4,psr
175 movgs gr4,psr
240 movsg psr ,gr22
289 movsg psr,gr4
291 movgs gr4,psr
293 movgs gr4,psr
311 movsg psr,gr30
314 movgs gr30,psr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/arch/ia64/kernel/
H A Dmca_drv_asm.S39 mov out2=r10 // psr
43 ssm psr.i | psr.ic
H A Dpal.S70 mov loc3 = psr
78 rsm psr.i
82 1: mov psr.l = loc3
87 srlz.d // seralize restoration of psr.l
112 mov loc3 = psr
114 rsm psr.i
118 .ret0: mov psr.l = loc3
122 srlz.d // serialize restoration of psr.l
161 mov loc3 = psr // save psr
[all...]
/netgear-WNDR4500v2-V1.0.0.60_1.0.38/src/linux/linux-2.6/include/asm-frv/
H A Dsystem.h119 unsigned long psr; \
120 asm volatile(" movsg psr,%0 \n" \
123 " movgs %0,psr \n" \
124 : "=r"(psr) \
131 unsigned long psr; \
132 asm volatile(" movsg psr,%0 \n" \
134 " movgs %0,psr \n" \
135 : "=r"(psr) \
143 asm("movsg psr,%0" \
153 asm volatile(" movsg psr,
[all...]

Completed in 190 milliseconds

1234