Home
last modified time | relevance | path

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

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