mirror of https://github.com/acidanthera/audk.git
QuarkPlatformPkg/PlatformBootManagerLib: use new UefiShellFileGuid definition
Move to the new definition of UefiShellFileGuid, which is defined in the ShellPkg package declaration file rather than hardcoded in this module. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org> Reviewed-by: Michael Kinney <michael.d.kinney@intel.com>
This commit is contained in:
parent
c81c2c0fc4
commit
93c4bb63de
|
@ -15,8 +15,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
|
||||||
|
|
||||||
#include "PlatformBootManager.h"
|
#include "PlatformBootManager.h"
|
||||||
|
|
||||||
EFI_GUID mUefiShellFileGuid = {0x7C04A583, 0x9E3E, 0x4f1c, {0xAD, 0x65, 0xE0, 0x52, 0x68, 0xD0, 0xB4, 0xD1 }};
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Return the index of the load option in the load option array.
|
Return the index of the load option in the load option array.
|
||||||
|
|
||||||
|
@ -246,7 +244,7 @@ PlatformBootManagerBeforeConsole (
|
||||||
//
|
//
|
||||||
// Register UEFI Shell
|
// Register UEFI Shell
|
||||||
//
|
//
|
||||||
PlatformRegisterFvBootOption (&mUefiShellFileGuid, L"UEFI Shell", LOAD_OPTION_ACTIVE);
|
PlatformRegisterFvBootOption (&gUefiShellFileGuid, L"UEFI Shell", LOAD_OPTION_ACTIVE);
|
||||||
|
|
||||||
Status = gBS->LocateProtocol(&gEsrtManagementProtocolGuid, NULL, (VOID **)&EsrtManagement);
|
Status = gBS->LocateProtocol(&gEsrtManagementProtocolGuid, NULL, (VOID **)&EsrtManagement);
|
||||||
if (EFI_ERROR(Status)) {
|
if (EFI_ERROR(Status)) {
|
||||||
|
|
|
@ -40,6 +40,7 @@
|
||||||
SourceLevelDebugPkg/SourceLevelDebugPkg.dec
|
SourceLevelDebugPkg/SourceLevelDebugPkg.dec
|
||||||
QuarkPlatformPkg/QuarkPlatformPkg.dec
|
QuarkPlatformPkg/QuarkPlatformPkg.dec
|
||||||
SecurityPkg/SecurityPkg.dec
|
SecurityPkg/SecurityPkg.dec
|
||||||
|
ShellPkg/ShellPkg.dec
|
||||||
SignedCapsulePkg/SignedCapsulePkg.dec
|
SignedCapsulePkg/SignedCapsulePkg.dec
|
||||||
|
|
||||||
[LibraryClasses]
|
[LibraryClasses]
|
||||||
|
@ -70,6 +71,7 @@
|
||||||
gEfiVTUTF8Guid
|
gEfiVTUTF8Guid
|
||||||
gEfiTtyTermGuid
|
gEfiTtyTermGuid
|
||||||
gEfiEndOfDxeEventGroupGuid
|
gEfiEndOfDxeEventGroupGuid
|
||||||
|
gUefiShellFileGuid
|
||||||
|
|
||||||
[Pcd]
|
[Pcd]
|
||||||
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate
|
gEfiMdePkgTokenSpaceGuid.PcdUartDefaultBaudRate
|
||||||
|
|
Loading…
Reference in New Issue