diff options
Diffstat (limited to 'SecurityPkg/Tcg/TcgPei/TcgPei.c')
-rw-r--r-- | SecurityPkg/Tcg/TcgPei/TcgPei.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/SecurityPkg/Tcg/TcgPei/TcgPei.c b/SecurityPkg/Tcg/TcgPei/TcgPei.c index 1ed11a1b29..d07047580c 100644 --- a/SecurityPkg/Tcg/TcgPei/TcgPei.c +++ b/SecurityPkg/Tcg/TcgPei/TcgPei.c @@ -41,6 +41,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include <Library/Tpm12DeviceLib.h>
#include <Library/Tpm12CommandLib.h>
#include <Library/BaseCryptLib.h>
+#include <Library/PerformanceLib.h>
BOOLEAN mImageInMemory = FALSE;
@@ -170,6 +171,8 @@ EndofPeiSignalNotifyCallBack ( MeasuredHobData = NULL;
+ PERF_CALLBACK_BEGIN (&gEfiEndOfPeiSignalPpiGuid);
+
//
// Create a Guid hob to save all measured Fv
//
@@ -195,6 +198,8 @@ EndofPeiSignalNotifyCallBack ( CopyMem (&MeasuredHobData->MeasuredFvBuf[mMeasuredBaseFvIndex] , mMeasuredChildFvInfo, sizeof(EFI_PLATFORM_FIRMWARE_BLOB) * (mMeasuredChildFvIndex));
}
+ PERF_CALLBACK_END (&gEfiEndOfPeiSignalPpiGuid);
+
return EFI_SUCCESS;
}
|