\r
STATIC\r
MEMORY_MAP *\r
-AllocateMemoryMapEntry ( \r
- );\r
+AllocateMemoryMapEntry (\r
+ VOID\r
+ );\r
\r
VOID\r
CoreAcquireMemoryLock (\r
}\r
}\r
\r
+STATIC\r
MEMORY_MAP *\r
-AllocateMemoryMapEntry ( \r
- )\r
+AllocateMemoryMapEntry (\r
+ VOID\r
+ )\r
/*++\r
\r
Routine Description:\r
// \r
// The list is empty, to allocate one page to refuel the list\r
//\r
- FreeDescriptorEntries = CoreAllocatePoolPages (EfiBootServicesData, 1, DEFAULT_PAGE_ALLOCATION);\r
+ FreeDescriptorEntries = CoreAllocatePoolPages (EfiBootServicesData, EFI_SIZE_TO_PAGES(DEFAULT_PAGE_ALLOCATION), DEFAULT_PAGE_ALLOCATION);\r
if(FreeDescriptorEntries != NULL) {\r
//\r
// Enque the free memmory map entries into the list\r