HomeSort by: relevance | last modified time | path
    Searched refs:XLEN (Results 1 - 2 of 2) sorted by relevancy

  /src/sys/arch/riscv/include/
types.h 41 /* XLEN is the native base integer ISA width */
42 #define XLEN (sizeof(long) * NBBY)
sysreg.h 173 #define SR_UXL __BITS(33, 32) // U-mode XLEN
174 #define SR_UXL_32 1 // XLEN == 32
175 #define SR_UXL_64 2 // XLEN == 64
176 #define SR_UXL_128 3 // XLEN == 128
217 /* Bit (XLEN-1) - 10 is WIRI */
227 /* Bit (XLEN-1) - 10 is WIRI */
244 #define CAUSE_INTERRUPT_P(cause) ((cause) & __BIT(XLEN - 1))
245 #define CAUSE_CODE(cause) ((cause) & __BITS(XLEN - 2, 0))

Completed in 12 milliseconds