Home
last modified time | relevance | path

Searched refs:cp0_status (Results 1 – 14 of 14) sorted by relevance

/linux-2.6.39/arch/mips/kernel/
Dprocess.c94 status = regs->cp0_status & ~(ST0_CU0|ST0_CU1|ST0_FR|KU_MASK); in start_thread()
99 regs->cp0_status = status; in start_thread()
146 if (childregs->cp0_status & ST0_CU0) { in copy_thread()
161 p->thread.cp0_status = read_c0_status() & ~(ST0_CU2|ST0_CU1); in copy_thread()
162 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); in copy_thread()
206 gp[EF_CP0_STATUS] = regs->cp0_status; in elf_dump_regs()
243 regs.cp0_status = read_c0_status(); in kernel_thread()
245 regs.cp0_status = (regs.cp0_status & ~(ST0_KUP | ST0_IEP | ST0_IEC)) | in kernel_thread()
246 ((regs.cp0_status & (ST0_KUC | ST0_IEC)) << 2); in kernel_thread()
248 regs.cp0_status |= ST0_EXL; in kernel_thread()
Dkprobes.c190 kcb->kprobe_saved_SR = kcb->kprobe_old_SR = (regs->cp0_status & ST0_IE); in set_current_kprobe()
196 regs->cp0_status &= ~ST0_IE; in prepare_singlestep()
228 regs->cp0_status &= ~ST0_IE; in kprobe_handler()
229 regs->cp0_status |= kcb->kprobe_saved_SR; in kprobe_handler()
331 regs->cp0_status |= kcb->kprobe_saved_SR; in post_kprobe_handler()
355 regs->cp0_status |= kcb->kprobe_old_SR; in kprobe_fault_handler()
Dtraps.c277 printk("Status: %08x ", (uint32_t) regs->cp0_status); in __show_regs()
280 if (regs->cp0_status & ST0_KUO) in __show_regs()
282 if (regs->cp0_status & ST0_IEO) in __show_regs()
284 if (regs->cp0_status & ST0_KUP) in __show_regs()
286 if (regs->cp0_status & ST0_IEP) in __show_regs()
288 if (regs->cp0_status & ST0_KUC) in __show_regs()
290 if (regs->cp0_status & ST0_IEC) in __show_regs()
293 if (regs->cp0_status & ST0_KX) in __show_regs()
295 if (regs->cp0_status & ST0_SX) in __show_regs()
297 if (regs->cp0_status & ST0_UX) in __show_regs()
[all …]
Dkgdb.c87 { "sr", GDB_SIZEOF_REG, offsetof(struct pt_regs, cp0_status) },
141 if (!(regs->cp0_status & ST0_CU1)) in dbg_set_reg()
175 if (!(regs->cp0_status & ST0_CU1)) in dbg_get_reg()
262 *(ptr++) = regs->cp0_status; in sleeping_thread_to_gdb_regs()
Dbinfmt_elfo32.c145 grp[EF_CP0_STATUS] = (elf_greg_t) regs->cp0_status; in elf32_core_copy_regs()
Dasm-offsets.c63 OFFSET(PT_STATUS, pt_regs, cp0_status); in output_ptreg_defines()
120 thread.cp0_status); in output_thread_defines()
Dptrace.c74 __put_user((long)regs->cp0_status, data + EF_CP0_STATUS - EF_R0); in ptrace_getregs()
/linux-2.6.39/arch/mips/include/asm/
Dprocessor.h209 unsigned long cp0_status; member
272 .cp0_status = 0, \
333 #define KSTK_STATUS(tsk) (task_pt_regs(tsk)->cp0_status)
Dptrace.h39 unsigned long cp0_status; member
138 #define user_mode(regs) (((regs)->cp0_status & KU_MASK) == KU_USER)
/linux-2.6.39/samples/kprobes/
Dkprobe_example.c38 p->addr, regs->cp0_epc, regs->cp0_status); in handler_pre()
59 p->addr, regs->cp0_status); in handler_post()
/linux-2.6.39/drivers/watchdog/
Docteon-wdt-main.c328 u64 cp0_status = read_c0_status(); in octeon_wdt_nmi_stage3() local
354 octeon_wdt_write_hex(cp0_status, 16); in octeon_wdt_nmi_stage3()
/linux-2.6.39/arch/mips/powertv/
Dpowertv_setup.c199 my_regs.cp0_status = read_c0_status(); in panic_handler()
/linux-2.6.39/arch/mips/mti-malta/
Dmalta-int.c153 regs->cp0_epc, regs->cp0_status, in corehi_irqdispatch()
/linux-2.6.39/arch/mips/math-emu/
Dcp1emu.c182 return xcp->cp0_status & ST0_FR; in cop1_64bit()