]> git.proxmox.com Git - mirror_edk2.git/blobdiff - OvmfPkg/Include/Library/QemuBootOrderLib.h
OvmfPkg/QemuBootOrderLib: clean up translation of virtio-net over MMIO
[mirror_edk2.git] / OvmfPkg / Include / Library / QemuBootOrderLib.h
index 80d02c80c260dedf683fbb68972eb36af0fe1c5a..874344a95d80258e6f1d4a07e0a67fd81f9cdb7c 100644 (file)
 \r
   Attempt to retrieve the "bootorder" fw_cfg file from QEMU. Translate the\r
   OpenFirmware device paths therein to UEFI device path fragments. Match the\r
-  translated fragments against BootOptionList, and rewrite the BootOrder NvVar\r
-  so that it corresponds to the order described in fw_cfg.\r
-\r
-  @param[in] BootOptionList  A boot option list, created with\r
-                             BdsLibEnumerateAllBootOption ().\r
+  translated fragments against the current list of boot options, and rewrite\r
+  the BootOrder NvVar so that it corresponds to the order described in fw_cfg.\r
 \r
+  Platform BDS should call this function after EfiBootManagerConnectAll () and\r
+  EfiBootManagerRefreshAllBootOption () return.\r
 \r
   @retval RETURN_SUCCESS            BootOrder NvVar rewritten.\r
 \r
@@ -50,8 +49,9 @@
 \r
 **/\r
 RETURN_STATUS\r
+EFIAPI\r
 SetBootOrderFromQemu (\r
-  IN  CONST LIST_ENTRY *BootOptionList\r
+  VOID\r
   );\r
 \r
 \r
@@ -62,6 +62,7 @@ SetBootOrderFromQemu (
   @return  The TimeoutDefault argument for PlatformBdsEnterFrontPage().\r
 **/\r
 UINT16\r
+EFIAPI\r
 GetFrontPageTimeoutFromQemu (\r
   VOID\r
   );\r