mirror of
https://github.com/acidanthera/audk.git
synced 2025-07-25 14:44:28 +02:00
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
This commit is contained in:
parent
f66d9a18c0
commit
d32fb62383
@ -194,7 +194,7 @@ WriteBootToOsPerformanceData (
|
|||||||
//
|
//
|
||||||
Status = gBS->AllocatePages (
|
Status = gBS->AllocatePages (
|
||||||
AllocateAnyPages,
|
AllocateAnyPages,
|
||||||
EfiACPIReclaimMemory,
|
EfiReservedMemoryType,
|
||||||
EFI_SIZE_TO_PAGES (AcpiLowMemoryLength),
|
EFI_SIZE_TO_PAGES (AcpiLowMemoryLength),
|
||||||
&AcpiLowMemoryBase
|
&AcpiLowMemoryBase
|
||||||
);
|
);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user