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:
qhuang8
2009-02-23 03:15:57 +00:00
parent 6aa22a177c
commit 6055758f87
4 changed files with 5 additions and 27 deletions

View File

@@ -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