HelenOS sources

MIDR_VARIANT_SHIFT   63 boot/arch/arm32/include/arch/cp15.h 	MIDR_VARIANT_SHIFT = 20,
MIDR_VARIANT_SHIFT  159 boot/arch/arm64/include/arch/regutils.h #define MIDR_VARIANT_SHIFT  20
MIDR_VARIANT_SHIFT   63 kernel/arch/arm32/include/arch/cp15.h 	MIDR_VARIANT_SHIFT = 20,
MIDR_VARIANT_SHIFT  159 kernel/arch/arm64/include/arch/regutils.h #define MIDR_VARIANT_SHIFT  20
MIDR_VARIANT_SHIFT   63 uspace/lib/c/arch/arm32/include/libarch/cp15.h 	MIDR_VARIANT_SHIFT = 20,
MIDR_VARIANT_SHIFT  159 uspace/lib/c/arch/arm64/include/libarch/regutils.h #define MIDR_VARIANT_SHIFT  20
HelenOS homepage, sources at GitHub