summaryrefslogtreecommitdiff
path: root/EdkModulePkg
diff options
context:
space:
mode:
Diffstat (limited to 'EdkModulePkg')
-rw-r--r--EdkModulePkg/Core/Dxe/Mem/pool.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/EdkModulePkg/Core/Dxe/Mem/pool.c b/EdkModulePkg/Core/Dxe/Mem/pool.c
index 2f4669e6c1..3201a97864 100644
--- a/EdkModulePkg/Core/Dxe/Mem/pool.c
+++ b/EdkModulePkg/Core/Dxe/Mem/pool.c
@@ -62,7 +62,7 @@ typedef struct {
#define MAX_POOL_LIST SIZE_TO_LIST(DEFAULT_PAGE_ALLOCATION)
-#define MAX_POOL_SIZE 0xffffff00
+#define MAX_POOL_SIZE (MAX_ADDRESS - POOL_OVERHEAD)
//
// Globals