X-Git-Url: https://git.proxmox.com/?a=blobdiff_plain;f=MdeModulePkg%2FCore%2FPei%2FMemory%2FMemoryServices.c;fp=MdeModulePkg%2FCore%2FPei%2FMemory%2FMemoryServices.c;h=6b3a64a811cd3cff475fd708420d721a88995b8c;hb=d3add11e87dace180387562d6f1951f2bffbd3d9;hp=838a003baaf238719c2dfe715fe09087aec3e4f6;hpb=d39d1260c615b716675f67f5c4e1f4f52df01dad;p=mirror_edk2.git diff --git a/MdeModulePkg/Core/Pei/Memory/MemoryServices.c b/MdeModulePkg/Core/Pei/Memory/MemoryServices.c index 838a003baa..6b3a64a811 100644 --- a/MdeModulePkg/Core/Pei/Memory/MemoryServices.c +++ b/MdeModulePkg/Core/Pei/Memory/MemoryServices.c @@ -759,8 +759,8 @@ PeiFreePages ( /** Pool allocation service. Before permanent memory is discovered, the pool will - be allocated the heap in the temporary memory. Generally, the size of heap in temporary - memory does not exceed to 64K, so the biggest pool size could be allocated is + be allocated in the heap in temporary memory. Generally, the size of the heap in temporary + memory does not exceed 64K, so the biggest pool size could be allocated is 64K. @param PeiServices An indirect pointer to the EFI_PEI_SERVICES table published by the PEI Foundation. @@ -789,7 +789,7 @@ PeiAllocatePool ( // // - // Generally, the size of heap in temporary memory does not exceed to 64K, + // Generally, the size of heap in temporary memory does not exceed 64K, // HobLength is multiples of 8 bytes, so the maximum size of pool is 0xFFF8 - sizeof (EFI_HOB_MEMORY_POOL) // if (Size > (0xFFF8 - sizeof (EFI_HOB_MEMORY_POOL))) {