summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-11 16:15:29 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-08-11 16:15:29 +0000
commitd32fb6238301e6a3208e44de0e86deba29b4710b (patch)
tree0095983d55fda9f24a32b7ce9e59790d1a9fd7b2
parentf66d9a18c0467eab16a24984892c791eb54132af (diff)
downloadedk2-platforms-d32fb6238301e6a3208e44de0e86deba29b4710b.tar.xz
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
-rw-r--r--IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c2
1 files changed, 1 insertions, 1 deletions
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
);