diff options
Diffstat (limited to 'EdkModulePkg/Core/Dxe/Mem/pool.c')
-rw-r--r-- | EdkModulePkg/Core/Dxe/Mem/pool.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/EdkModulePkg/Core/Dxe/Mem/pool.c b/EdkModulePkg/Core/Dxe/Mem/pool.c index 3201a97864..c024f0368c 100644 --- a/EdkModulePkg/Core/Dxe/Mem/pool.c +++ b/EdkModulePkg/Core/Dxe/Mem/pool.c @@ -111,7 +111,7 @@ Returns: for (Type=0; Type < EfiMaxMemoryType; Type++) {
PoolHead[Type].Signature = 0;
PoolHead[Type].Used = 0;
- PoolHead[Type].MemoryType = Type;
+ PoolHead[Type].MemoryType = (EFI_MEMORY_TYPE) Type;
for (Index=0; Index < MAX_POOL_LIST; Index++) {
InitializeListHead (&PoolHead[Type].FreeList[Index]);
}
@@ -119,7 +119,7 @@ Returns: InitializeListHead (&PoolHeadList);
}
-
+STATIC
POOL *
LookupPoolHead (
IN EFI_MEMORY_TYPE MemoryType
|