From d32fb6238301e6a3208e44de0e86deba29b4710b Mon Sep 17 00:00:00 2001 From: qhuang8 Date: Tue, 11 Aug 2009 16:15:29 +0000 Subject: [PATCH] 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 --- IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 ); -- 2.39.2