OvmfPkg: Add support for qemu's -kernel parameter

If QEMU's -kernel parameter was used, then download the
kernel from the FwCfg interface, and launch it.  (See -kernel,
-initrd, -append) The application uses the LoadLinuxLib to boot
the kernel image.

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

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@13923 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
jljusten
2012-11-02 18:28:17 +00:00
parent 3c0a051fa2
commit 52fba28994
4 changed files with 178 additions and 1 deletions

View File

@@ -18,7 +18,7 @@
FILE_GUID = F844172E-9985-44f2-BADE-0DD783462E95
MODULE_TYPE = DXE_DRIVER
VERSION_STRING = 1.0
LIBRARY_CLASS = PlatformBdsLib|DXE_DRIVER
LIBRARY_CLASS = PlatformBdsLib|DXE_DRIVER
#
# The following information is for reference only and not required by the build tools.
@@ -30,6 +30,7 @@
BdsPlatform.c
PlatformData.c
QemuBootOrder.c
QemuKernel.c
BdsPlatform.h
QemuBootOrder.h
@@ -50,6 +51,7 @@
PciLib
NvVarsFileLib
QemuFwCfgLib
LoadLinuxLib
[Pcd]
gEfiIntelFrameworkModulePkgTokenSpaceGuid.PcdPlatformBootTimeOut