[PATCH v3 5/5] OvmfPkg/X86QemuLoadImageLib: State fw_cfg dependency in file header
Dov Murik
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 <lersek@...> Cc: Ard Biesheuvel <ardb+tianocore@...> Cc: Jordan Justen <jordan.l.justen@...> Cc: James Bottomley <jejb@...> Cc: Tobin Feldman-Fitzthum <tobin@...> Ref: https://bugzilla.tianocore.org/show_bug.cgi?id=3D3457 Signed-off-by: Dov Murik <dovmurik@...> Reviewed-by: Laszlo Ersek <lersek@...> --- OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf | 3 +++ OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.c | 3 +++ 2 files changed, 6 insertions(+) diff --git a/OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf b/= OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.inf index e1615badd2ba..c7ec041cb706 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= =0D # with support for loading mixed mode images and non-EFI stub images=0D #=0D +# Note that this implementation reads the cmdline (and possibly kernel, s= etup=0D +# data, and initrd in the legacy boot mode) from fw_cfg directly.=0D +#=0D # Copyright (c) 2020, ARM Ltd. All rights reserved.<BR>=0D #=0D # SPDX-License-Identifier: BSD-2-Clause-Patent=0D diff --git a/OvmfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.c b/Ov= mfPkg/Library/X86QemuLoadImageLib/X86QemuLoadImageLib.c index 6b1e7e649014..9f30df29736d 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= =0D with support for loading mixed mode images and non-EFI stub images=0D =0D + Note that this implementation reads the cmdline (and possibly kernel, se= tup=0D + data, and initrd in the legacy boot mode) from fw_cfg directly.=0D +=0D Copyright (c) 2006 - 2015, Intel Corporation. All rights reserved.<BR>=0D Copyright (c) 2020, ARM Ltd. All rights reserved.<BR>=0D =0D --=20 2.25.1 |
|