Add the arm64 TTBR fields to armreg.h
Sponsored by: The FreeBSD Foundation
This commit is contained in:
parent
a6668e31aa
commit
0accd72674
@ -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)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user