mirror of
https://github.com/acidanthera/audk.git
synced 2025-08-18 08:08:09 +02:00
Add the 'opt/org.tianocore/EnableLegacyLoader' FwCfg option to enable/disable the insecure legacy linux kernel loader. For now this is enabled by default. Probably the default will be flipped to disabled at some point in the future. Also print a warning to the screen in case the linux kernel secure boot verification has failed. Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
47 lines
1.2 KiB
INI
47 lines
1.2 KiB
INI
## @file
|
|
# X86 specific implementation of QemuLoadImageLib library class interface
|
|
# with support for loading mixed mode images and non-EFI stub images
|
|
#
|
|
# Note that this implementation reads the cmdline (and possibly kernel, setup
|
|
# data, and initrd in the legacy boot mode) from fw_cfg directly.
|
|
#
|
|
# Copyright (c) 2020, ARM Ltd. All rights reserved.<BR>
|
|
#
|
|
# SPDX-License-Identifier: BSD-2-Clause-Patent
|
|
#
|
|
##
|
|
|
|
[Defines]
|
|
INF_VERSION = 1.27
|
|
BASE_NAME = X86QemuLoadImageLib
|
|
FILE_GUID = 2304df80-e21d-4170-9c3c-113c878f7ac0
|
|
MODULE_TYPE = BASE
|
|
VERSION_STRING = 1.0
|
|
LIBRARY_CLASS = QemuLoadImageLib|DXE_DRIVER
|
|
|
|
[Sources]
|
|
X86QemuLoadImageLib.c
|
|
|
|
[Packages]
|
|
MdeModulePkg/MdeModulePkg.dec
|
|
MdePkg/MdePkg.dec
|
|
OvmfPkg/OvmfPkg.dec
|
|
|
|
[LibraryClasses]
|
|
DebugLib
|
|
MemoryAllocationLib
|
|
LoadLinuxLib
|
|
PrintLib
|
|
QemuFwCfgLib
|
|
QemuFwCfgSimpleParserLib
|
|
ReportStatusCodeLib
|
|
UefiBootServicesTableLib
|
|
|
|
[Protocols]
|
|
gEfiDevicePathProtocolGuid
|
|
gEfiLoadedImageProtocolGuid
|
|
gOvmfLoadedX86LinuxKernelProtocolGuid
|
|
|
|
[Guids]
|
|
gQemuKernelLoaderFsMediaGuid
|