diff options
author | Laszlo Ersek <lersek@redhat.com> | 2016-05-17 19:22:17 +0200 |
---|---|---|
committer | Laszlo Ersek <lersek@redhat.com> | 2016-05-25 12:25:19 +0200 |
commit | 2542feea2ecd4dc73ee54cb32c875839413eed05 (patch) | |
tree | ed12b43002c187a06563243ef5c9b2cce46df2ca /OvmfPkg/Include/Library | |
parent | 35d3e9c5222304b2015566955a6c427016368793 (diff) | |
download | edk2-platforms-2542feea2ecd4dc73ee54cb32c875839413eed05.tar.xz |
OvmfPkg, ArmVirtPkg: clean up SetBootOrderFromQemu() parameter list
With OvmfPkg's original QemuBootOrderLib (and USE_OLD_BDS) gone, we no
longer need the BootOptionList parameter in the SetBootOrderFromQemu()
prototype. Update the library class header file (including the function's
documentation), and adapt the library instance and the call sites.
Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Gary Ching-Pang Lin <glin@suse.com>
Cc: Jordan Justen <jordan.l.justen@intel.com>
Cc: Ruiyu Ni <ruiyu.ni@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
Diffstat (limited to 'OvmfPkg/Include/Library')
-rw-r--r-- | OvmfPkg/Include/Library/QemuBootOrderLib.h | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/OvmfPkg/Include/Library/QemuBootOrderLib.h b/OvmfPkg/Include/Library/QemuBootOrderLib.h index 80d02c80c2..743a717824 100644 --- a/OvmfPkg/Include/Library/QemuBootOrderLib.h +++ b/OvmfPkg/Include/Library/QemuBootOrderLib.h @@ -26,12 +26,11 @@ Attempt to retrieve the "bootorder" fw_cfg file from QEMU. Translate the
OpenFirmware device paths therein to UEFI device path fragments. Match the
- translated fragments against BootOptionList, and rewrite the BootOrder NvVar
- so that it corresponds to the order described in fw_cfg.
-
- @param[in] BootOptionList A boot option list, created with
- BdsLibEnumerateAllBootOption ().
+ translated fragments against the current list of boot options, and rewrite
+ the BootOrder NvVar so that it corresponds to the order described in fw_cfg.
+ Platform BDS should call this function after EfiBootManagerConnectAll () and
+ EfiBootManagerRefreshAllBootOption () return.
@retval RETURN_SUCCESS BootOrder NvVar rewritten.
@@ -51,7 +50,7 @@ **/
RETURN_STATUS
SetBootOrderFromQemu (
- IN CONST LIST_ENTRY *BootOptionList
+ VOID
);
|