Home
last modified time | relevance | path

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

/linux-3.4.99/arch/mips/kernel/
Dprocess.c91 status = regs->cp0_status & ~(ST0_CU0|ST0_CU1|ST0_FR|KU_MASK); in start_thread()
96 regs->cp0_status = status; in start_thread()
142 if (childregs->cp0_status & ST0_CU0) { in copy_thread()
157 p->thread.cp0_status = read_c0_status() & ~(ST0_CU2|ST0_CU1); in copy_thread()
158 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); in copy_thread()
202 gp[EF_CP0_STATUS] = regs->cp0_status; in elf_dump_regs()
239 regs.cp0_status = read_c0_status(); in kernel_thread()
241 regs.cp0_status = (regs.cp0_status & ~(ST0_KUP | ST0_IEP | ST0_IEC)) | in kernel_thread()
242 ((regs.cp0_status & (ST0_KUC | ST0_IEC)) << 2); in kernel_thread()
244 regs.cp0_status |= ST0_EXL; in kernel_thread()
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 …]
Dkprobes.c235 kcb->kprobe_saved_SR = kcb->kprobe_old_SR = (regs->cp0_status & ST0_IE); in set_current_kprobe()
291 regs->cp0_status &= ~ST0_IE; in prepare_singlestep()
353 regs->cp0_status &= ~ST0_IE; in kprobe_handler()
354 regs->cp0_status |= kcb->kprobe_saved_SR; in kprobe_handler()
450 regs->cp0_status |= kcb->kprobe_saved_SR; in post_kprobe_handler()
474 regs->cp0_status |= kcb->kprobe_old_SR; in kprobe_fault_handler()
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.c73 __put_user((long)regs->cp0_status, data + EF_CP0_STATUS - EF_R0); in ptrace_getregs()
/linux-3.4.99/arch/mips/include/asm/
Dprocessor.h208 unsigned long cp0_status; member
271 .cp0_status = 0, \
332 #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-3.4.99/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-3.4.99/drivers/watchdog/
Docteon-wdt-main.c330 u64 cp0_status = read_c0_status(); in octeon_wdt_nmi_stage3() local
356 octeon_wdt_write_hex(cp0_status, 16); in octeon_wdt_nmi_stage3()
/linux-3.4.99/arch/mips/powertv/
Dpowertv_setup.c199 my_regs.cp0_status = read_c0_status(); in panic_handler()
/linux-3.4.99/arch/mips/mti-malta/
Dmalta-int.c154 regs->cp0_epc, regs->cp0_status, in corehi_irqdispatch()
/linux-3.4.99/arch/mips/math-emu/
Dcp1emu.c182 return xcp->cp0_status & ST0_FR; in cop1_64bit()