diff options
author | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-10 07:57:15 +0000 |
---|---|---|
committer | lgao4 <lgao4@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-03-10 07:57:15 +0000 |
commit | 4941d8817da63dc42d8d2dfcedf35ecc56e07b1f (patch) | |
tree | 96f6d28e47d31cd49a11ddfbe00fd2bef3edfa35 /MdeModulePkg/Core/Dxe/Image | |
parent | 351d6e7fcc5391c0787fa645b1c7fb06c1e11c68 (diff) | |
download | edk2-platforms-4941d8817da63dc42d8d2dfcedf35ecc56e07b1f.tar.xz |
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
Diffstat (limited to 'MdeModulePkg/Core/Dxe/Image')
-rw-r--r-- | MdeModulePkg/Core/Dxe/Image/Image.c | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/MdeModulePkg/Core/Dxe/Image/Image.c b/MdeModulePkg/Core/Dxe/Image/Image.c index 15b474aea9..4acc9d8bd4 100644 --- a/MdeModulePkg/Core/Dxe/Image/Image.c +++ b/MdeModulePkg/Core/Dxe/Image/Image.c @@ -191,7 +191,6 @@ CoreLoadPeImage ( BOOLEAN DstBufAlocated;
UINTN Size;
UINTN LinkTimeBase;
- EFI_TCG_PLATFORM_PROTOCOL *TcgPlatformProtocol;
IMAGE_FILE_HANDLE *FHandle;
FHandle = NULL;
@@ -345,29 +344,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
//
Status = PeCoffLoaderRelocateImage (&Image->ImageContext);
|