From 7be11454edd4eca6cbd299cb5b486294f912ffbd Mon Sep 17 00:00:00 2001 From: Andrew Turner Date: Thu, 5 Sep 2024 13:11:42 +0100 Subject: 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 --- sys/arm64/include/armreg.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'sys/arm64/include') diff --git a/sys/arm64/include/armreg.h b/sys/arm64/include/armreg.h index a04afd57585c..b4adc3d2c254 100644 --- a/sys/arm64/include/armreg.h +++ b/sys/arm64/include/armreg.h @@ -2444,6 +2444,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 -- cgit v1.2.3