From 261835ccf2acec462d2fa11f6ba939afdf28a234 Mon Sep 17 00:00:00 2001 From: lgao4 Date: Tue, 8 Dec 2009 05:29:54 +0000 Subject: Don't need call SAP measure GPT table, which can be covered in SAP implementation. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@9541 6f19259b-4bc3-4df7-8a09-765794883524 --- IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c | 15 +-------------- .../Library/GenericBdsLib/GenericBdsLib.inf | 1 - .../Library/GenericBdsLib/InternalBdsLib.h | 1 - 3 files changed, 1 insertion(+), 16 deletions(-) (limited to 'IntelFrameworkModulePkg') diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c index 0eb59e89c8..c022c15ee0 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/BdsBoot.c @@ -145,7 +145,6 @@ BdsLibBootViaBootOption ( EFI_DEVICE_PATH_PROTOCOL *WorkingDevicePath; EFI_ACPI_S3_SAVE_PROTOCOL *AcpiS3Save; LIST_ENTRY TempBootLists; - EFI_SECURITY_ARCH_PROTOCOL *SecurityProtocol; // // Record the performance data for End of BDS @@ -241,18 +240,6 @@ BdsLibBootViaBootOption ( DevicePath = Option->DevicePath; } - // - // Measure GPT Table by SAP protocol. - // - Status = gBS->LocateProtocol ( - &gEfiSecurityArchProtocolGuid, - NULL, - (VOID**) &SecurityProtocol - ); - if (!EFI_ERROR (Status)) { - Status = SecurityProtocol->FileAuthenticationState (SecurityProtocol, 0, DevicePath); - } - DEBUG_CODE_BEGIN(); UINTN DevicePathTypeValue; CHAR16 *HiiString; @@ -326,7 +313,7 @@ BdsLibBootViaBootOption ( ); // - // If we didn't find an image directly, we need to try as if it is a removable device boot opotion + // If we didn't find an image directly, we need to try as if it is a removable device boot option // and load the image according to the default boot behavior for removable device. // if (EFI_ERROR (Status)) { diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf b/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf index acab4bda2f..2f6ba4b8e6 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/GenericBdsLib.inf @@ -107,7 +107,6 @@ gEfiUgaDrawProtocolGuid |PcdUgaConsumeSupport # PROTOCOL SOMETIMES_CONSUMES gEfiOEMBadgingProtocolGuid # PROTOCOL CONSUMES gEfiHiiFontProtocolGuid # PROTOCOL CONSUMES - gEfiSecurityArchProtocolGuid # PROTOCOL CONSUMES [FeaturePcd] gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport diff --git a/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h b/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h index 5830e8068f..f269e44eff 100644 --- a/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h +++ b/IntelFrameworkModulePkg/Library/GenericBdsLib/InternalBdsLib.h @@ -39,7 +39,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include #include #include -#include #include #include -- cgit v1.2.3