Home
last modified time | relevance | path

Searched refs:SR_UXL (Results 1 – 4 of 4) sorted by relevance

/linux/arch/riscv/kernel/
H A Dprocess.c125 csr_write(CSR_STATUS, (tmp & ~SR_UXL) | SR_UXL_32); in compat_mode_detect()
127 (csr_read(CSR_STATUS) & SR_UXL) == SR_UXL_32; in compat_mode_detect()
155 regs->status &= ~SR_UXL; in start_thread()
/linux/arch/riscv/include/asm/
H A Dsyscall.h84 if ((regs->status & SR_UXL) == SR_UXL_32) in syscall_handler()
H A Dcsr.h48 #define SR_UXL _AC(0x300000000, UL) /* XLEN mask for U-mode */ macro
/linux/tools/arch/riscv/include/asm/
H A Dcsr.h47 #define SR_UXL _AC(0x300000000, UL) /* XLEN mask for U-mode */ macro