]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Core/Pei/Memory/MemoryServices.c
The BaseAddress and Length should be align PAGE according to PI specification for...
[mirror_edk2.git] / MdeModulePkg / Core / Pei / Memory / MemoryServices.c
index 0976e2cbdd7623368c8b6938d5934898e4ae4eb3..728b963afafd2e9bbd6fa4ff1bdb3edf720069f7 100644 (file)
@@ -248,7 +248,7 @@ Returns:
     //\r
     BuildMemoryAllocationHob (\r
       Hob.HandoffInformationTable->EfiFreeMemoryTop,\r
-      Pages * EFI_PAGE_SIZE + Offset,\r
+      Pages * EFI_PAGE_SIZE,\r
       MemoryType\r
       );\r
 \r