X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=SecurityPkg%2FTcg%2FTcgPei%2FTcgPei.c;h=d07047580c5b2d9eb0cd4a7bf7cfa8237b120f52;hp=1ed11a1b2964bd50357d0cf7065e32fcdae73452;hb=d9c5beb159c4b54ba14e3ad731d0e69a2e85c6c0;hpb=05aba7e37b06d035b2fbae280c6b4e3f7d2f28ba 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 #include #include +#include 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; }