qemu-patch-raspberry4/pc-bios/optionrom
Stefano Garzarella 2785dc7b17 optionrom: add new PVH option rom
The new pvh.bin option rom can be used with SeaBIOS to boot
uncompressed kernel using the x86/HVM direct boot ABI.

pvh.S contains the entry point of the option rom. It runs
in real mode, loads the e820 table querying the BIOS, and
then it switches to 32bit protected mode and jumps to the
pvh_load_kernel() written in pvh_main.c.
pvh_load_kernel() loads the cmdline and kernel entry_point
using fw_cfg, then it looks for RSDP, fills the
hvm_start_info required by x86/HVM ABI, and finally jumps
to the kernel entry_point.

Signed-off-by: Stefano Garzarella <sgarzare@redhat.com>
Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>
Reviewed-by: Liam Merwick <liam.merwick@oracle.com>
2019-02-05 16:50:17 +01:00
..
code16gcc.h Add optionrom compatible with fw_cfg DMA version 2016-07-14 15:50:52 +02:00
flat.lds optionrom: fix compilation with mingw docker target 2016-08-09 22:57:36 +02:00
kvmvapic.S kvmvapic: Use optionrom helpers 2012-02-18 12:16:01 +02:00
linuxboot.S linuxboot: fix loading old kernels 2014-12-15 12:21:03 +01:00
linuxboot_dma.c linuxboot_dma: move common functions in a new header 2019-02-05 16:50:17 +01:00
Makefile optionrom: add new PVH option rom 2019-02-05 16:50:17 +01:00
multiboot.S multiboot: Calculate upper_mem in the ROM 2013-06-28 14:01:52 -05:00
optionrom.h fw_cfg: import & use linux/qemu_fw_cfg.h 2018-08-23 18:46:25 +02:00
optrom.h linuxboot_dma: move common functions in a new header 2019-02-05 16:50:17 +01:00
optrom_fw_cfg.h linuxboot_dma: move common functions in a new header 2019-02-05 16:50:17 +01:00
pvh.S optionrom: add new PVH option rom 2019-02-05 16:50:17 +01:00
pvh_main.c optionrom: add new PVH option rom 2019-02-05 16:50:17 +01:00