summaryrefslogtreecommitdiff
path: root/IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-23 03:15:57 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-23 03:15:57 +0000
commit6055758f8785e163d090fe42d7cf494c65988132 (patch)
tree31d68b5105f80a492e149fb6ef8055981151ebda /IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c
parent6aa22a177c32344ff1d5f765183d0da416fcc252 (diff)
downloadedk2-platforms-6055758f8785e163d090fe42d7cf494c65988132.tar.xz
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
Diffstat (limited to 'IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c')
-rw-r--r--IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c
index 0e3f7936cd..6fbb12b7c3 100644
--- a/IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c
+++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/Performance.c
@@ -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