diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h index bcbe9d13863d..19be64316fbc 100644 --- a/sys/arm64/include/armreg.h +++ b/sys/arm64/include/armreg.h @@ -1187,6 +1187,13 @@ #define TCR_SMP_ATTRS 0 #endif +/* TTBR0_EL1 & TTBR1_EL1 - Translation Table Base Register 0 & 1 */ +#define TTBR_ASID_SHIFT 48 +#define TTBR_ASID_MASK (0xfffful << TTBR_ASID_SHIFT) +#define TTBR_BADDR 0x0000fffffffffffeul +#define TTBR_CnP_SHIFT 0 +#define TTBR_CnP (1ul << TTBR_CnP_SHIFT) + /* Saved Program Status Register */ #define DBG_SPSR_SS (0x1 << 21)