Update for the performance infrastructure changes:
1. Use raw string for performance tokens 2. Reuse gPerformanceProtocolGuid as performance variable paring GUID git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7576 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
@@ -166,7 +166,7 @@ WriteBootToOsPerformanceData (
|
||||
BOOLEAN CountUp;
|
||||
|
||||
//
|
||||
// Retrive time stamp count as early as possilbe
|
||||
// Retrieve time stamp count as early as possible
|
||||
//
|
||||
Ticker = GetPerformanceCounter ();
|
||||
|
||||
@@ -306,7 +306,7 @@ Done:
|
||||
|
||||
gRT->SetVariable (
|
||||
L"PerfDataMemAddr",
|
||||
&gEfiGenericPlatformVariableGuid,
|
||||
&gPerformanceProtocolGuid,
|
||||
EFI_VARIABLE_NON_VOLATILE | EFI_VARIABLE_BOOTSERVICE_ACCESS | EFI_VARIABLE_RUNTIME_ACCESS,
|
||||
sizeof (EFI_PHYSICAL_ADDRESS),
|
||||
&AcpiLowMemoryBase
|
||||
|
Reference in New Issue
Block a user