Home
last modified time | relevance | path

Searched refs:SR_UXL_32 (Results 1 – 3 of 3) sorted by relevance

/openbmc/linux/arch/riscv/kernel/
H A Dprocess.c98 csr_write(CSR_STATUS, (tmp & ~SR_UXL) | SR_UXL_32); in compat_mode_detect()
100 (csr_read(CSR_STATUS) & SR_UXL) == SR_UXL_32; in compat_mode_detect()
131 regs->status |= SR_UXL_32; in start_thread()
/openbmc/linux/arch/riscv/include/asm/
H A Dsyscall.h84 if ((regs->status & SR_UXL) == SR_UXL_32) in syscall_handler()
H A Dcsr.h49 #define SR_UXL_32 _AC(0x100000000, UL) /* XLEN = 32 for U-mode */ macro