From: qhuang8 Date: Tue, 11 Aug 2009 16:15:29 +0000 (+0000) Subject: Do not use EfiACPIReclaimMemory type to log performance data because some OS might... X-Git-Tag: edk2-stable201903~17263 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=d32fb6238301e6a3208e44de0e86deba29b4710b Do not use EfiACPIReclaimMemory type to log performance data because some OS might reuse that memory. Maybe EfiReservedMemoryType is the best solution for that usage model. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9053 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c index 6fbb12b7c3..66dd20a55b 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c @@ -194,7 +194,7 @@ WriteBootToOsPerformanceData ( // Status = gBS->AllocatePages ( AllocateAnyPages, - EfiACPIReclaimMemory, + EfiReservedMemoryType, EFI_SIZE_TO_PAGES (AcpiLowMemoryLength), &AcpiLowMemoryBase );