From: Laszlo Ersek Date: Thu, 23 Nov 2017 21:32:19 +0000 (+0100) Subject: OvmfPkg/QemuBootOrderLib: let an OFW devpath match multiple UEFI boot opts X-Git-Tag: edk2-stable201903~2995 X-Git-Url: https://git.proxmox.com/?a=commitdiff_plain;h=dc32e820f02854b95ae806cdf3d87ae0d229a932;hp=dc32e820f02854b95ae806cdf3d87ae0d229a932;p=mirror_edk2.git OvmfPkg/QemuBootOrderLib: let an OFW devpath match multiple UEFI boot opts This means that SetBootOrderFromQemu() will preserve all UEFI boot options matched by any given OFW devpath, such as PXEv4, HTTPv4, PXEv6 and HTTPv6 boot options for the same NIC. Currently we stop the matching / appending for the OFW devpath coming from the outer loop whenever we find the first UEFI boot option match in the inner loop. (The previous patch was about multiple OFW devpaths matching a single UEFI boot option (which should never happen). This patch is about a single OFW devpath matching multiple UEFI boot options. With the "break" statement removed here, the small optimization from the last patch becomes a bit more relevant, because now the inner loop always counts up to ActiveCount.) Cc: Ard Biesheuvel Cc: Jordan Justen Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Laszlo Ersek Acked-by: Ard Biesheuvel ---