Home
last modified time | relevance | path

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

/openbmc/linux/arch/mips/kernel/
H A Dkprobes.c184 kcb->kprobe_saved_SR = kcb->kprobe_old_SR = (regs->cp0_status & ST0_IE); in set_current_kprobe()
240 regs->cp0_status &= ~ST0_IE; in prepare_singlestep()
301 regs->cp0_status &= ~ST0_IE; in kprobe_handler()
302 regs->cp0_status |= kcb->kprobe_saved_SR; in kprobe_handler()
394 regs->cp0_status |= kcb->kprobe_saved_SR; in post_kprobe_handler()
415 regs->cp0_status |= kcb->kprobe_old_SR; in kprobe_fault_handler()
H A Dprocess.c57 status = regs->cp0_status & ~(ST0_CU0|ST0_CU1|ST0_CU2|ST0_FR|KU_MASK); in start_thread()
59 regs->cp0_status = status; in start_thread()
123 p->thread.cp0_status = (read_c0_status() & ~(ST0_CU2|ST0_CU1)) | ST0_KERNEL_CUMASK; in copy_thread()
139 unsigned long status = p->thread.cp0_status; in copy_thread()
151 childregs->cp0_status = status; in copy_thread()
165 childregs->cp0_status &= ~(ST0_CU2|ST0_CU1); in copy_thread()
887 uregs[MIPS32_EF_CP0_STATUS] = regs->cp0_status; in mips_dump_regs32()
909 uregs[MIPS64_EF_CP0_STATUS] = regs->cp0_status; in mips_dump_regs64()
H A Dtraps.c212 regs.cp0_status = KSU_KERNEL; in show_stack()
306 printk("Status: %08x ", (uint32_t) regs->cp0_status); in __show_regs()
309 if (regs->cp0_status & ST0_KUO) in __show_regs()
311 if (regs->cp0_status & ST0_IEO) in __show_regs()
313 if (regs->cp0_status & ST0_KUP) in __show_regs()
315 if (regs->cp0_status & ST0_IEP) in __show_regs()
317 if (regs->cp0_status & ST0_KUC) in __show_regs()
319 if (regs->cp0_status & ST0_IEC) in __show_regs()
322 if (regs->cp0_status & ST0_KX) in __show_regs()
324 if (regs->cp0_status & ST0_SX) in __show_regs()
[all …]
H A Dkgdb.c88 { "sr", GDB_SIZEOF_REG, offsetof(struct pt_regs, cp0_status) },
142 if (!(regs->cp0_status & ST0_CU1)) in dbg_set_reg()
176 if (!(regs->cp0_status & ST0_CU1)) in dbg_get_reg()
256 *(ptr++) = p->thread.cp0_status; in sleeping_thread_to_gdb_regs()
H A Dasm-offsets.c69 OFFSET(PT_STATUS, pt_regs, cp0_status); in output_ptreg_defines()
128 thread.cp0_status); in output_thread_defines()
H A Dptrace.c90 __put_user((long)regs->cp0_status, (__s64 __user *)&data->cp0_status); in ptrace_getregs()
896 REG_OFFSET_NAME(c0_status, cp0_status),
/openbmc/u-boot/arch/mips/include/asm/
H A Dptrace.h30 unsigned long cp0_status; member
87 #define user_mode(regs) (((regs)->cp0_status & KU_MASK) == KU_USER)
H A Dprocessor.h73 unsigned long cp0_status; member
/openbmc/linux/arch/mips/include/asm/
H A Dprocessor.h236 unsigned long cp0_status; member
317 .cp0_status = 0, \
368 #define KSTK_STATUS(tsk) (task_pt_regs(tsk)->cp0_status)
H A Dptrace.h38 unsigned long cp0_status; member
142 #define user_mode(regs) (((regs)->cp0_status & KU_MASK) == KU_USER)
/openbmc/linux/samples/kprobes/
H A Dkprobe_example.c40 p->symbol_name, p->addr, regs->cp0_epc, regs->cp0_status); in handler_pre()
81 p->symbol_name, p->addr, regs->cp0_status); in handler_post()
/openbmc/qemu/linux-user/mips64/
H A Dtarget_syscall.h12 target_ulong cp0_status; member
/openbmc/qemu/linux-user/mips/
H A Dtarget_syscall.h15 abi_ulong cp0_status; member
/openbmc/linux/arch/mips/include/uapi/asm/
H A Dptrace.h46 __u64 cp0_status; member
/openbmc/u-boot/arch/mips/lib/
H A Dtraps.c56 printf("Status: %08x\n", (uint32_t) regs->cp0_status); in show_regs()
H A Dasm-offsets.c56 OFFSET(PT_STATUS, pt_regs, cp0_status); in output_ptreg_defines()
/openbmc/linux/drivers/watchdog/
H A Docteon-wdt-main.c220 u64 cp0_status = read_c0_status(); in octeon_wdt_nmi_stage3() local
246 octeon_wdt_write_hex(cp0_status, 16); in octeon_wdt_nmi_stage3()
/openbmc/linux/arch/mips/mti-malta/
H A Dmalta-int.c95 regs->cp0_epc, regs->cp0_status, in corehi_irqdispatch()
/openbmc/linux/arch/mips/kvm/
H A Dentry.c228 UASM_i_SW(&p, V0, offsetof(struct pt_regs, cp0_status), K1); in kvm_mips_build_vcpu_run()
/openbmc/qemu/linux-user/
H A Delfload.c1404 regs->cp0_status = 2 << CP0St_KSU; in init_thread()