mirror of https://github.com/acidanthera/audk.git
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:
parent
c083f7caef
commit
261835ccf2
|
@ -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)) {
|
||||
|
|
|
@ -107,7 +107,6 @@
|
|||
gEfiUgaDrawProtocolGuid |PcdUgaConsumeSupport # PROTOCOL SOMETIMES_CONSUMES
|
||||
gEfiOEMBadgingProtocolGuid # PROTOCOL CONSUMES
|
||||
gEfiHiiFontProtocolGuid # PROTOCOL CONSUMES
|
||||
gEfiSecurityArchProtocolGuid # PROTOCOL CONSUMES
|
||||
|
||||
[FeaturePcd]
|
||||
gEfiMdePkgTokenSpaceGuid.PcdUgaConsumeSupport
|
||||
|
|
|
@ -39,7 +39,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
|||
#include <Protocol/UgaDraw.h>
|
||||
#include <Protocol/HiiFont.h>
|
||||
#include <Protocol/HiiImage.h>
|
||||
#include <Protocol/Security.h>
|
||||
|
||||
#include <Guid/MemoryTypeInformation.h>
|
||||
#include <Guid/FileInfo.h>
|
||||
|
|
Loading…
Reference in New Issue