HelenOS sources

SPSR_MODE_MASK    175 boot/arch/arm64/include/arch/regutils.h #define SPSR_MODE_MASK  (UWORD64(0x1f) << SPSR_MODE_SHIFT)
SPSR_MODE_MASK    175 kernel/arch/arm64/include/arch/regutils.h #define SPSR_MODE_MASK  (UWORD64(0x1f) << SPSR_MODE_SHIFT)
SPSR_MODE_MASK    175 uspace/lib/c/arch/arm64/include/libarch/regutils.h #define SPSR_MODE_MASK  (UWORD64(0x1f) << SPSR_MODE_SHIFT)
HelenOS homepage, sources at GitHub