]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Update Performance library instances to adapt to the update in Performance infrastruc...
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 23 Feb 2009 03:02:50 +0000 (03:02 +0000)
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>
Mon, 23 Feb 2009 03:02:50 +0000 (03:02 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7569 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c
MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLibInternal.h
MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.c
MdeModulePkg/Library/DxePerformanceLib/DxePerformanceLib.inf
MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.c
MdeModulePkg/Library/PeiPerformanceLib/PeiPerformanceLib.inf

index f861d614300148b298c0b5fdff5bf337f2fbab8e..01208ec06fa969ff6322444f80d26065b45ad6ba 100644 (file)
@@ -306,7 +306,7 @@ InternalGetPeiPerformance (
   //\r
   // Dump PEI Log Entries to DXE Guage Data structure.\r
   //\r
-  GuidHob = GetFirstGuidHob (&gPeiPerformanceHobGuid);\r
+  GuidHob = GetFirstGuidHob (&gPerformanceProtocolGuid);\r
   if (GuidHob != NULL) {\r
     LogHob          = GET_GUID_HOB_DATA (GuidHob);\r
     LogEntryArray   = (PEI_PERFORMANCE_LOG_ENTRY *) (LogHob + 1);\r
index 4420603ef0f69fe3977c93ffebef68e777e147d6..bdda45feb768aef48f74bf24f23fbae28dee53cc 100644 (file)
 \r
 \r
 [Guids]\r
-  gPeiPerformanceHobGuid                        ## CONSUMES ## HOB\r
-\r
-\r
-[Protocols]\r
-  gPerformanceProtocolGuid                      # PRODUCES\r
+  gPerformanceProtocolGuid                        ## CONSUMES ## HOB\r
+  gPerformanceProtocolGuid                        ## PRODUCES ## PROTOCOL\r
 \r
 [Pcd.common]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries\r
index cfa35fa847550d5c74f17ac93959495f2085eb97..a66f6f6d696e66f09b9cd1b28e7afd109204410c 100644 (file)
@@ -21,8 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #include <PiDxe.h>\r
 \r
-#include <Protocol/Performance.h>\r
-#include <Guid/PeiPerformanceHob.h>\r
+#include <Guid/Performance.h>\r
 \r
 #include <Library/PerformanceLib.h>\r
 #include <Library/DebugLib.h>\r
index 8da302769acf9ef059fc1db7dce46983871b2929..ffd09a035b6c3f9221d3951d4e4ecd61be07dc5b 100644 (file)
@@ -20,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #include <PiDxe.h>\r
 \r
-#include <Protocol/Performance.h>\r
+#include <Guid/Performance.h>\r
 \r
 #include <Library/PerformanceLib.h>\r
 #include <Library/DebugLib.h>\r
index 99434b7c6e39b335e35eaffd685d86784cb9ce1d..34336618d05c0e9a61522f898938dcca26d7871a 100644 (file)
@@ -46,8 +46,8 @@
   DebugLib\r
 \r
 \r
-[Protocols]\r
-  gPerformanceProtocolGuid  ## CONSUMES\r
+[Guids]\r
+  gPerformanceProtocolGuid  ## CONSUMES ## PROTOCOL\r
 \r
 \r
 [Pcd.common]\r
index 19a734d0dcdcf677f24510986ec64f540a0d8712..0778527d1ed57792ed4c0d40784198bf451414de 100644 (file)
@@ -20,7 +20,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #include <PiPei.h>\r
 \r
-#include <Guid/PeiPerformanceHob.h>\r
+#include <Guid/Performance.h>\r
 \r
 #include <Library/PerformanceLib.h>\r
 #include <Library/DebugLib.h>\r
@@ -57,7 +57,7 @@ InternalGetPerformanceHobLog (
   PEI_PERFORMANCE_LOG_HEADER  *PeiPerformanceLog;\r
   UINTN                       PeiPerformanceLogSize;\r
 \r
-  GuidHob = GetFirstGuidHob (&gPeiPerformanceHobGuid);\r
+  GuidHob = GetFirstGuidHob (&gPerformanceProtocolGuid);\r
 \r
   if (GuidHob != NULL) {\r
     //\r
@@ -70,7 +70,7 @@ InternalGetPerformanceHobLog (
     //\r
     PeiPerformanceLogSize = sizeof (PEI_PERFORMANCE_LOG_HEADER) +\r
                             sizeof (PEI_PERFORMANCE_LOG_ENTRY) * PcdGet8 (PcdMaxPeiPerformanceLogEntries);\r
-    PeiPerformanceLog     = BuildGuidHob (&gPeiPerformanceHobGuid, PeiPerformanceLogSize);\r
+    PeiPerformanceLog     = BuildGuidHob (&gPerformanceProtocolGuid, PeiPerformanceLogSize);\r
     PeiPerformanceLog     = ZeroMem (PeiPerformanceLog, PeiPerformanceLogSize);\r
   }\r
 \r
index 891e12dcc63491645603281b73aee82244d4287d..63a1c528ead4f3733b60bad9a4bd135c920c5c70 100644 (file)
@@ -50,7 +50,7 @@
 \r
 \r
 [Guids]\r
-  gPeiPerformanceHobGuid ## HOB\r
+  gPerformanceProtocolGuid ## HOB\r
 \r
 [Pcd.common]\r
   gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries\r