HelenOS sources
MIDR_REVISION_SHIFT 156 boot/arch/arm64/include/arch/regutils.h #define MIDR_REVISION_MASK (UWORD64(0xf) << MIDR_REVISION_SHIFT)
MIDR_REVISION_SHIFT 114 kernel/arch/arm32/src/cpu/cpu.c cpu->rev_num = (ident >> MIDR_REVISION_SHIFT) & MIDR_REVISION_MASK;
MIDR_REVISION_SHIFT 156 kernel/arch/arm64/include/arch/regutils.h #define MIDR_REVISION_MASK (UWORD64(0xf) << MIDR_REVISION_SHIFT)
MIDR_REVISION_SHIFT 84 kernel/arch/arm64/src/cpu/cpu.c CPU->arch.revision = (midr & MIDR_REVISION_MASK) >> MIDR_REVISION_SHIFT;
MIDR_REVISION_SHIFT 156 uspace/lib/c/arch/arm64/include/libarch/regutils.h #define MIDR_REVISION_MASK (UWORD64(0xf) << MIDR_REVISION_SHIFT)
HelenOS homepage, sources at GitHub