MAX_POOL_SIZE was hardcoded to 0xFFFFFF00. MAX_POOL_SIZE was replaced with MAX_ADDRES...
authorajfish <ajfish@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 24 Oct 2006 01:20:09 +0000 (01:20 +0000)
committerajfish <ajfish@6f19259b-4bc3-4df7-8a09-765794883524>
Tue, 24 Oct 2006 01:20:09 +0000 (01:20 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@1833 6f19259b-4bc3-4df7-8a09-765794883524

EdkModulePkg/Core/Dxe/Mem/pool.c

index 2f4669e..3201a97 100644 (file)
@@ -62,7 +62,7 @@ typedef struct {
 \r
 #define MAX_POOL_LIST       SIZE_TO_LIST(DEFAULT_PAGE_ALLOCATION)\r
 \r
-#define MAX_POOL_SIZE      0xffffff00\r
+#define MAX_POOL_SIZE     (MAX_ADDRESS - POOL_OVERHEAD)\r
 \r
 //\r
 // Globals\r