audk/ArmVirtPkg/Library/PlatformBootManagerLib
Laszlo Ersek efadd41590 ArmVirtPkg/PlatformBootManagerLib: Postpone the shell registration
This patch ports Gary's OvmfPkg commit 14b2ebc30c to ArmVirtPkg.

Turns out Gary's argument in 14b2ebc30c is not only valid for Xen. The
same situation arises with QEMU if:
- the user specifies no boot order via fw_cfg at all (so QemuBootOrderLib
  won't touch the boot order), and
- the varstore file has just been created from the varstore template.

In this case the user is dropped to the UEFI shell (because the shell is
registered earlier than all the auto-generated options), which is likely
not what the user wants.

Cc: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Cc: Gary Lin <glin@suse.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
2016-07-08 13:11:31 +02:00
..
PlatformBm.c ArmVirtPkg/PlatformBootManagerLib: Postpone the shell registration 2016-07-08 13:11:31 +02:00
PlatformBm.h ArmVirtPkg/PlatformBootManagerLib: rebase boot logo display to BootLogoLib 2016-06-06 17:06:49 +02:00
PlatformBootManagerLib.inf ArmVirtPkg/PlatformBootManagerLib: rebase boot logo display to BootLogoLib 2016-06-06 17:06:49 +02:00
QemuKernel.c ArmVirtPkg: duplicate PlatformIntelBdsLib to PlatformBootManagerLib 2016-05-06 10:04:49 +02:00