OvmfPkg: Generate CloudHv as a PVH ELF binary

Following the model from the Xen target, CloudHv is generated as a PVH
ELF binary to take advantage of the PVH specification, which requires
less emulation from the VMM.

The fdf include file CloudHvElfHeader.fdf.inc has been generated from
the following commands:

$ gcc -D PVH64 -o elf_gen OvmfPkg/OvmfXenElfHeaderGenerator.c
$ ./elf_gen 4194304 OvmfPkg/CloudHv/CloudHvElfHeader.fdf.inc

Signed-off-by: Sebastien Boeuf <sebastien.boeuf@intel.com>
Acked-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
This commit is contained in:
Sebastien Boeuf
2022-03-02 21:31:34 +08:00
committed by mergify[bot]
parent 9ac8c85d50
commit e1c7f9b4e5
3 changed files with 66 additions and 5 deletions

View File

@@ -631,7 +631,7 @@
#
################################################################################
[Components]
OvmfPkg/ResetVector/ResetVector.inf
OvmfPkg/XenResetVector/XenResetVector.inf
#
# SEC Phase modules