arm64: Add the tcr_el2 ds field

This will be used to support FEAT_LPA2 to allow more than 48 bits of
physical address space.

Reviewed by:	alc, kib, markj
Sponsored by:	Arm Ltd
Differential Revision:	https://reviews.freebsd.org/D46392

(cherry picked from commit 7be11454edd4eca6cbd299cb5b486294f912ffbd)
This commit is contained in:
Andrew Turner 2024-09-05 13:11:42 +01:00
parent f87a9788a5
commit 6ac2d3cfb4

View file

@ -2396,6 +2396,8 @@
#define TCR_EL1_CRm 0
#define TCR_EL1_op2 2
/* Bits 63:59 are reserved */
#define TCR_DS_SHIFT 59
#define TCR_DS (UL(1) << TCR_DS_SHIFT)
#define TCR_TCMA1_SHIFT 58
#define TCR_TCMA1 (UL(1) << TCR_TCMA1_SHIFT)
#define TCR_TCMA0_SHIFT 57