summaryrefslogtreecommitdiff
path: root/src/inc/switches.h
diff options
context:
space:
mode:
authorSergiy Kuryata <sergeyk@microsoft.com>2015-12-02 15:23:37 -0800
committerSergiy Kuryata <sergeyk@microsoft.com>2015-12-02 15:23:37 -0800
commit9d92683206a08f0ce1756a7e1eefb10e851b95f9 (patch)
tree5247609002b02f60c0686c5053cc436fb6e7e0c5 /src/inc/switches.h
parent4cb6f34a094a90527106575d3578ba3f9c390b03 (diff)
downloadcoreclr-9d92683206a08f0ce1756a7e1eefb10e851b95f9.tar.gz
coreclr-9d92683206a08f0ce1756a7e1eefb10e851b95f9.tar.bz2
coreclr-9d92683206a08f0ce1756a7e1eefb10e851b95f9.zip
Address code review feedback
Diffstat (limited to 'src/inc/switches.h')
-rw-r--r--src/inc/switches.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/inc/switches.h b/src/inc/switches.h
index dd4da272c0..27f528c1d3 100644
--- a/src/inc/switches.h
+++ b/src/inc/switches.h
@@ -87,12 +87,17 @@
#elif defined(_TARGET_AMD64_) || defined(_TARGET_ARM64_)
#define PAGE_SIZE 0x1000
- #define USE_UPPER_ADDRESS 1
#define UPPER_ADDRESS_MAPPING_FACTOR 2
#define CLR_UPPER_ADDRESS_MIN 0x64400000000
#define CODEHEAP_START_ADDRESS 0x64480000000
#define CLR_UPPER_ADDRESS_MAX 0x644FC000000
+#if !defined(FEATURE_PAL)
+ #define USE_UPPER_ADDRESS 1
+#else
+ #define USE_UPPER_ADDRESS 0
+#endif // !FEATURE_PAL
+
#else
#error Please add a new #elif clause and define all portability macros for the new platform
#endif