From 9421f5ab8d1efff12a4d07b4f07152426684b56a Mon Sep 17 00:00:00 2001 From: Dov Murik Date: Mon, 28 Jun 2021 10:51:10 +0000 Subject: OvmfPkg/X86QemuLoadImageLib: State fw_cfg dependency in file header Make it clear that X86QemuLoadImageLib relies on fw_cfg; prepare the ground to add a warning about the incompatibility with boot verification process. Cc: Laszlo Ersek Cc: Ard Biesheuvel Cc: Jordan Justen Cc: James Bottomley Cc: Tobin Feldman-Fitzthum Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3457 Signed-off-by: Dov Murik Reviewed-by: Laszlo Ersek Message-Id: <20210628105110.379951-6-dovmurik@linux.ibm.com> --- OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.c | 3 +++ OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf | 3 +++ 2 files changed, 6 insertions(+) (limited to 'OvmfPkg/Library/X86QemuLoadImageLib') diff --git a/OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.c b/OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.c index 6b1e7e6490..9f30df2973 100644 --- a/OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.c +++ b/OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.c @@ -2,6 +2,9 @@ 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) 2006 - 2015, Intel Corporation. All rights reserved.
Copyright (c) 2020, ARM Ltd. All rights reserved.
diff --git a/OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf b/OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf index e1615badd2..c7ec041cb7 100644 --- a/OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf +++ b/OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf @@ -2,6 +2,9 @@ # 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.
# # SPDX-License-Identifier: BSD-2-Clause-Patent -- cgit v1.2.3