summaryrefslogtreecommitdiffstats
path: root/MdeModulePkg/Library/DxeCorePerformanceLib
diff options
context:
space:
mode:
authorqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-23 03:02:50 +0000
committerqhuang8 <qhuang8@6f19259b-4bc3-4df7-8a09-765794883524>2009-02-23 03:02:50 +0000
commitee0961f723dc78d6c95d9980f115c37964314a5a (patch)
tree12e3f3ca6fc6c5fb64595d30b63236484ab97106 /MdeModulePkg/Library/DxeCorePerformanceLib
parent3f57706fa96054e86ceb20cfc2858347cd733cd2 (diff)
downloadedk2-ee0961f723dc78d6c95d9980f115c37964314a5a.tar.gz
edk2-ee0961f723dc78d6c95d9980f115c37964314a5a.tar.bz2
edk2-ee0961f723dc78d6c95d9980f115c37964314a5a.zip
Update Performance library instances to adapt to the update in Performance infrastructure.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7569 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/DxeCorePerformanceLib')
-rw-r--r--MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c2
-rw-r--r--MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf7
-rw-r--r--MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLibInternal.h3
3 files changed, 4 insertions, 8 deletions
diff --git a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c
index f861d61430..01208ec06f 100644
--- a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c
+++ b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.c
@@ -306,7 +306,7 @@ InternalGetPeiPerformance (
//
// Dump PEI Log Entries to DXE Guage Data structure.
//
- GuidHob = GetFirstGuidHob (&gPeiPerformanceHobGuid);
+ GuidHob = GetFirstGuidHob (&gPerformanceProtocolGuid);
if (GuidHob != NULL) {
LogHob = GET_GUID_HOB_DATA (GuidHob);
LogEntryArray = (PEI_PERFORMANCE_LOG_ENTRY *) (LogHob + 1);
diff --git a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
index 4420603ef0..bdda45feb7 100644
--- a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
+++ b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLib.inf
@@ -57,11 +57,8 @@
[Guids]
- gPeiPerformanceHobGuid ## CONSUMES ## HOB
-
-
-[Protocols]
- gPerformanceProtocolGuid # PRODUCES
+ gPerformanceProtocolGuid ## CONSUMES ## HOB
+ gPerformanceProtocolGuid ## PRODUCES ## PROTOCOL
[Pcd.common]
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries
diff --git a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLibInternal.h b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLibInternal.h
index cfa35fa847..a66f6f6d69 100644
--- a/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLibInternal.h
+++ b/MdeModulePkg/Library/DxeCorePerformanceLib/DxeCorePerformanceLibInternal.h
@@ -21,8 +21,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <PiDxe.h>
-#include <Protocol/Performance.h>
-#include <Guid/PeiPerformanceHob.h>
+#include <Guid/Performance.h>
#include <Library/PerformanceLib.h>
#include <Library/DebugLib.h>