HelenOS sources
SPSR_MODE_SHIFT 175 boot/arch/arm64/include/arch/regutils.h #define SPSR_MODE_MASK (UWORD64(0x1f) << SPSR_MODE_SHIFT)
SPSR_MODE_SHIFT 65 kernel/arch/arm64/include/arch/istate.h return (istate->spsr & SPSR_MODE_MASK) >> SPSR_MODE_SHIFT ==
SPSR_MODE_SHIFT 175 kernel/arch/arm64/include/arch/regutils.h #define SPSR_MODE_MASK (UWORD64(0x1f) << SPSR_MODE_SHIFT)
SPSR_MODE_SHIFT 65 uspace/lib/c/arch/arm64/include/libarch/istate.h return (istate->spsr & SPSR_MODE_MASK) >> SPSR_MODE_SHIFT ==
SPSR_MODE_SHIFT 175 uspace/lib/c/arch/arm64/include/libarch/regutils.h #define SPSR_MODE_MASK (UWORD64(0x1f) << SPSR_MODE_SHIFT)
HelenOS homepage, sources at GitHub