audk/OvmfPkg/Library/PlatformBootManagerLib
Gary Lin 14b2ebc30c OvmfPkg/PlatformBootManagerLib: Postpone the shell registration
We currently register the shell before creating the boot options for
the block devices and the network devices, so the boot manager boots
into the internal shell if the user doesn't specify the boot order.
However, Xen doesn't support fw_cfg, so there is no way to change the
boot order with the external command, and the firmware will always
boot into the internal shell if the user doesn't interfere the boot
process.

This patch postpones the shell registration after MdeModulePkg/BDS
creates all the boot options for the block and network devices, so
that firmware will try to boot the block/network devices first.

Cc: Laszlo Ersek <lersek@redhat.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: Gary Lin <glin@suse.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Ruiyu Ni <ruiyu.ni@intel.com>
2016-05-12 10:25:15 +02:00
..
BdsPlatform.c OvmfPkg/PlatformBootManagerLib: Postpone the shell registration 2016-05-12 10:25:15 +02:00
BdsPlatform.h OvmfPkg/PlatformBootManagerLib: Remove unused C structures definitions 2016-05-04 08:47:45 +08:00
PlatformBootManagerLib.inf OvmfPkg/PlatformBootManagerLib: Add EnableQuietBoot & DisableQuietBoot 2016-05-04 08:47:44 +08:00
PlatformData.c OvmfPkg/PlatformBootManagerLib: Remove unused vars and func prototypes 2016-05-04 08:47:43 +08:00
QemuKernel.c OvmfPkg: Duplicate PlatformBdsLib to PlatformBootManagerLib 2016-05-04 08:47:36 +08:00
QuietBoot.c OvmfPkg/PlatformBootManagerLib: Fix gcc-4.8 Ia32 build failure 2016-05-04 08:47:44 +08:00