Searched refs:SSTATUS_SIE (Results 1 – 7 of 7) sorted by relevance
/freebsd/sys/riscv/include/ |
H A D | cpufunc.h | 58 : "=&r" (ret) : "i" (SSTATUS_SIE) in intr_disable() 61 return (ret & (SSTATUS_SIE)); in intr_disable() 80 :: "i" (SSTATUS_SIE) in intr_enable()
|
H A D | riscvreg.h | 61 #define SSTATUS_SIE (1 << 1) macro
|
/freebsd/sys/cddl/dev/dtrace/riscv/ |
H A D | dtrace_asm.S | 58 csrrci a0, sstatus, (SSTATUS_SIE) 59 andi a0, a0, (SSTATUS_SIE)
|
/freebsd/sys/riscv/riscv/ |
H A D | exception.S | 128 li t1, ~SSTATUS_SIE 188 csrci sstatus, (SSTATUS_SIE) 196 andi a4, a4, (SSTATUS_SIE)
|
H A D | vm_machdep.c | 121 td2->td_md.md_saved_sstatus_ie = (SSTATUS_SIE); in cpu_fork() 181 td->td_md.md_saved_sstatus_ie = (SSTATUS_SIE); in cpu_copy_thread()
|
H A D | trap.c | 242 if ((frame->tf_sstatus & SSTATUS_SIE) != 0) in page_fault_handler() 312 KASSERT((csr_read(sstatus) & (SSTATUS_SPP | SSTATUS_SIE)) == in do_trap_supervisor() 393 KASSERT((csr_read(sstatus) & (SSTATUS_SPP | SSTATUS_SIE)) == 0, in do_trap_user()
|
H A D | swtch.S | 375 li t1, ~SSTATUS_SIE
|