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
This commit is contained in:
lgao4 2009-12-08 05:29:54 +00:00
parent c083f7caef
commit 261835ccf2
3 changed files with 1 additions and 16 deletions

View File

@ -145,7 +145,6 @@ BdsLibBootViaBootOption (
EFI_DEVICE_PATH_PROTOCOL *WorkingDevicePath; EFI_DEVICE_PATH_PROTOCOL *WorkingDevicePath;
EFI_ACPI_S3_SAVE_PROTOCOL *AcpiS3Save; EFI_ACPI_S3_SAVE_PROTOCOL *AcpiS3Save;
LIST_ENTRY TempBootLists; LIST_ENTRY TempBootLists;
EFI_SECURITY_ARCH_PROTOCOL *SecurityProtocol;
// //
// Record the performance data for End of BDS // Record the performance data for End of BDS
@ -241,18 +240,6 @@ BdsLibBootViaBootOption (
DevicePath = Option->DevicePath; 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(); DEBUG_CODE_BEGIN();
UINTN DevicePathTypeValue; UINTN DevicePathTypeValue;
CHAR16 *HiiString; 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. // and load the image according to the default boot behavior for removable device.
// //
if (EFI_ERROR (Status)) { if (EFI_ERROR (Status)) {

View File

@ -107,7 +107,6 @@
gEfiUgaDrawProtocolGuid |PcdUgaConsumeSupport # PROTOCOL SOMETIMES_CONSUMES gEfiUgaDrawProtocolGuid |PcdUgaConsumeSupport # PROTOCOL SOMETIMES_CONSUMES
gEfiOEMBadgingProtocolGuid # PROTOCOL CONSUMES gEfiOEMBadgingProtocolGuid # PROTOCOL CONSUMES
gEfiHiiFontProtocolGuid # PROTOCOL CONSUMES gEfiHiiFontProtocolGuid # PROTOCOL CONSUMES
gEfiSecurityArchProtocolGuid # PROTOCOL CONSUMES
[FeaturePcd] [FeaturePcd]
gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport

View File

@ -39,7 +39,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
#include <Protocol/UgaDraw.h> #include <Protocol/UgaDraw.h>
#include <Protocol/HiiFont.h> #include <Protocol/HiiFont.h>
#include <Protocol/HiiImage.h> #include <Protocol/HiiImage.h>
#include <Protocol/Security.h>
#include <Guid/MemoryTypeInformation.h> #include <Guid/MemoryTypeInformation.h>
#include <Guid/FileInfo.h> #include <Guid/FileInfo.h>