Retire TCG platform protocol, which will be replaced by PI Security Architecture protocol.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7848 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4
2009-03-10 07:57:15 +00:00
parent 351d6e7fcc
commit 4941d8817d
8 changed files with 2 additions and 145 deletions

View File

@ -191,7 +191,6 @@ CoreLoadPeImage (
BOOLEAN DstBufAlocated;
UINTN Size;
UINTN LinkTimeBase;
EFI_TCG_PLATFORM_PROTOCOL *TcgPlatformProtocol;
IMAGE_FILE_HANDLE *FHandle;
FHandle = NULL;
@ -344,29 +343,6 @@ CoreLoadPeImage (
}
}
//
// Measure the image before applying fixup
//
Status = CoreLocateProtocol (
&gEfiTcgPlatformProtocolGuid,
NULL,
(VOID **) &TcgPlatformProtocol
);
if (!EFI_ERROR (Status)) {
FHandle = (IMAGE_FILE_HANDLE *) Image->ImageContext.Handle;
Status = TcgPlatformProtocol->MeasurePeImage (
BootPolicy,
(EFI_PHYSICAL_ADDRESS) (UINTN) FHandle->Source,
FHandle->SourceSize,
LinkTimeBase,
Image->ImageContext.ImageType,
Image->Info.DeviceHandle,
Image->Info.FilePath
);
ASSERT_EFI_ERROR (Status);
}
//
// Relocate the image in memory
//