]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/mach/shared_region.h
xnu-6153.121.1.tar.gz
[apple/xnu.git] / osfmk / mach / shared_region.h
index be70167dc41578f0438826437103759c99625328..f6efdcbc169100fbc1e05e0a31b0677a1576a112 100644 (file)
 #define SHARED_REGION_NESTING_MIN_PPC64         0x0000000010000000ULL
 #define SHARED_REGION_NESTING_MAX_PPC64         0x0000000010000000ULL
 
-#define SHARED_REGION_BASE_ARM                  0x1A000000ULL
-#define SHARED_REGION_SIZE_ARM                  0x26000000ULL
-#define SHARED_REGION_NESTING_BASE_ARM          0x1A000000ULL
-#define SHARED_REGION_NESTING_SIZE_ARM          0x26000000ULL
+#define SHARED_REGION_BASE_ARM                  0x40000000ULL
+#define SHARED_REGION_SIZE_ARM                  0x40000000ULL
+#define SHARED_REGION_NESTING_BASE_ARM          0x40000000ULL
+#define SHARED_REGION_NESTING_SIZE_ARM          0x40000000ULL
 #define SHARED_REGION_NESTING_MIN_ARM           ?
 #define SHARED_REGION_NESTING_MAX_ARM           ?
 
+#define SHARED_REGION_BASE_ARM64_32             0x1A000000ULL
+#define SHARED_REGION_SIZE_ARM64_32             0x40000000ULL
+#define SHARED_REGION_NESTING_BASE_ARM64_32     0x1A000000ULL
+#define SHARED_REGION_NESTING_SIZE_ARM64_32     0x40000000ULL
+#define SHARED_REGION_NESTING_MIN_ARM64_32      ?
+#define SHARED_REGION_NESTING_MAX_ARM64_32      ?
 
 #ifdef XNU_KERNEL_PRIVATE
 /* ARM64_TODO: move to higher memory */
 #define SHARED_REGION_NESTING_SIZE              SHARED_REGION_NESTING_SIZE_ARM
 #define SHARED_REGION_NESTING_MIN               SHARED_REGION_NESTING_MIN_ARM
 #define SHARED_REGION_NESTING_MAX               SHARED_REGION_NESTING_MAX_ARM
+#elif defined(__arm64__) && !defined(__LP64__)
+#define SHARED_REGION_BASE                      SHARED_REGION_BASE_ARM64_32
+#define SHARED_REGION_SIZE                      SHARED_REGION_SIZE_ARM64_32
+#define SHARED_REGION_NESTING_BASE              SHARED_REGION_NESTING_BASE_ARM64_32
+#define SHARED_REGION_NESTING_SIZE              SHARED_REGION_NESTING_SIZE_ARM64_32
+#define SHARED_REGION_NESTING_MIN               SHARED_REGION_NESTING_MIN_ARM64_32
+#define SHARED_REGION_NESTING_MAX               SHARED_REGION_NESTING_MAX_ARM64_32
 #elif defined(__arm64__) && defined(__LP64__)
 #define SHARED_REGION_BASE                      SHARED_REGION_BASE_ARM64
 #define SHARED_REGION_SIZE                      SHARED_REGION_SIZE_ARM64