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
This commit is contained in:
qhuang8
2009-02-23 03:02:50 +00:00
parent 3f57706fa9
commit ee0961f723
7 changed files with 11 additions and 15 deletions

View File

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

View File

@@ -57,11 +57,8 @@
[Guids]
gPeiPerformanceHobGuid ## CONSUMES ## HOB
[Protocols]
gPerformanceProtocolGuid # PRODUCES
gPerformanceProtocolGuid ## CONSUMES ## HOB
gPerformanceProtocolGuid ## PRODUCES ## PROTOCOL
[Pcd.common]
gEfiMdeModulePkgTokenSpaceGuid.PcdMaxPeiPerformanceLogEntries

View File

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