diff options
author | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-11 16:15:29 +0000 |
---|---|---|
committer | qhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-08-11 16:15:29 +0000 |
commit | d32fb6238301e6a3208e44de0e86deba29b4710b (patch) | |
tree | 0095983d55fda9f24a32b7ce9e59790d1a9fd7b2 /IntelFrameworkModulePkg | |
parent | f66d9a18c0467eab16a24984892c791eb54132af (diff) | |
download | edk2-d32fb6238301e6a3208e44de0e86deba29b4710b.tar.gz edk2-d32fb6238301e6a3208e44de0e86deba29b4710b.tar.bz2 edk2-d32fb6238301e6a3208e44de0e86deba29b4710b.zip |
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
Diffstat (limited to 'IntelFrameworkModulePkg')
-rw-r--r-- | IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c | 2 |
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
);
|