audk/OvmfPkg/Library
jljusten 2cd086a675 OvmfPkg: get boot order from QEMU
Set the boot order based on configuration retrieved from QEMU.

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 the enumerated BootOptionList, and rewrite
the BootOrder NvVar so that it corresponds to the order described in
fw_cfg.

The user is expected to configure working boot options first.

Tested via virt-manager's boot order widget.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Laszlo Ersek <lersek@redhat.com>
Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13683 6f19259b-4bc3-4df7-8a09-765794883524
2012-08-27 23:28:30 +00:00
..
AcpiTimerLib OvmfPkg/AcpiTables: Change the ACPI PM Base Adress to 0xb000 2012-05-04 15:02:33 +00:00
EmuVariableFvbLib OvmfPkg EMU FVB: Add 2 functions to PlatformFvbLib 2011-01-09 03:51:16 +00:00
NvVarsFileLib OvmfPkg NvVarsFileLib: Leverage SerializeVariablesLib 2011-01-30 19:50:08 +00:00
PlatformBdsLib OvmfPkg: get boot order from QEMU 2012-08-27 23:28:30 +00:00
PlatformDebugLibIoPort OvmfPkg: add support for debug console on port 0x402 2012-07-26 16:36:39 +00:00
PlatformFvbLibNull OvmfPkg EMU FVB: Add 2 functions to PlatformFvbLib 2011-01-09 03:51:16 +00:00
PlatformSecureLib OvmfPkg: Add custom mode setup if the Secure Boot build option is specified. 2012-04-04 17:35:06 +00:00
QemuFwCfgLib OvmfPkg: introduce QemuFwCfgFindFile () 2012-07-23 17:10:29 +00:00
ResetSystemLib OvmfPkg ResetSystemLib: Fix build issue with VS2005 2011-01-27 01:08:52 +00:00
SerializeVariablesLib OvmfPkg: Remove variables that are set, but not used 2011-10-31 15:57:12 +00:00