This series adds support for QEMU's -kernel option by porting the efilinux project into OvmfPkg.
v3: * Fix memory allocation ranges for kernel setup and initrd * Use ramdisk_max kernel setup field properly * Port GOP based framebuffer init from efilinux * Cleanup unused portions of LinuxGdt.c * Remove separate QemuKernelDxe application and move QEMU kernel boot support into OVMF's BDS platform lib v2: * Many changes based on Laszlo Ersek's code review * Initrd max address of 1GB (efilinux 8947b2) * Merge E820 memory types (efilinux d0efc6) * Only set efi_*_hi for x86-64 (efilinux 0f35b5) * Use bzimage size rather than 8MB (efilinux f72063) Jordan Justen (4): OvmfPkg: Add Linux bzimage include file OvmfPkg: Add LoadLinuxLib library interface OvmfPkg: Add LoadLinuxLib library implementation OvmfPkg: Add support for qemu's -kernel parameter OvmfPkg/Include/IndustryStandard/LinuxBzimage.h | 164 +++++ OvmfPkg/Include/Library/LoadLinuxLib.h | 212 +++++++ OvmfPkg/Library/LoadLinuxLib/Ia32/JumpToKernel.S | 29 + OvmfPkg/Library/LoadLinuxLib/Ia32/JumpToKernel.asm | 35 ++ OvmfPkg/Library/LoadLinuxLib/Linux.c | 655 ++++++++++++++++++++ OvmfPkg/Library/LoadLinuxLib/LinuxGdt.c | 181 ++++++ OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.h | 58 ++ OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf | 50 ++ OvmfPkg/Library/LoadLinuxLib/X64/JumpToKernel.S | 30 + OvmfPkg/Library/LoadLinuxLib/X64/JumpToKernel.asm | 34 + OvmfPkg/Library/PlatformBdsLib/BdsPlatform.c | 5 + OvmfPkg/Library/PlatformBdsLib/BdsPlatform.h | 11 + OvmfPkg/Library/PlatformBdsLib/PlatformBdsLib.inf | 4 +- OvmfPkg/Library/PlatformBdsLib/QemuKernel.c | 159 +++++ OvmfPkg/OvmfPkg.dec | 4 + OvmfPkg/OvmfPkgIa32.dsc | 1 + OvmfPkg/OvmfPkgIa32X64.dsc | 1 + OvmfPkg/OvmfPkgX64.dsc | 1 + 18 files changed, 1633 insertions(+), 1 deletion(-) create mode 100644 OvmfPkg/Include/IndustryStandard/LinuxBzimage.h create mode 100644 OvmfPkg/Include/Library/LoadLinuxLib.h create mode 100644 OvmfPkg/Library/LoadLinuxLib/Ia32/JumpToKernel.S create mode 100644 OvmfPkg/Library/LoadLinuxLib/Ia32/JumpToKernel.asm create mode 100644 OvmfPkg/Library/LoadLinuxLib/Linux.c create mode 100644 OvmfPkg/Library/LoadLinuxLib/LinuxGdt.c create mode 100644 OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.h create mode 100644 OvmfPkg/Library/LoadLinuxLib/LoadLinuxLib.inf create mode 100644 OvmfPkg/Library/LoadLinuxLib/X64/JumpToKernel.S create mode 100644 OvmfPkg/Library/LoadLinuxLib/X64/JumpToKernel.asm create mode 100644 OvmfPkg/Library/PlatformBdsLib/QemuKernel.c -- 1.7.9.5 ------------------------------------------------------------------------------ The Windows 8 Center In partnership with Sourceforge Your idea - your app - 30 days. Get started! http://windows8center.sourceforge.net/ what-html-developers-need-to-know-about-coding-windows-8-metro-style-apps/ _______________________________________________ edk2-devel mailing list edk2-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/edk2-devel