]> git.ipfire.org Git - thirdparty/grub.git/commit
xen: Add basic hooks for PVH in current code
authorJuergen Gross <jgross@suse.com>
Fri, 7 Dec 2018 12:11:37 +0000 (13:11 +0100)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 12 Dec 2018 11:03:27 +0000 (12:03 +0100)
commit0b3e4eb2d2e1875e6045e838962f769f2ce161dd
tree25922bd00a24b8180fb7e44ff98f8c017e857c50
parent53a92dea8b675afb3f46aed15c04528695d46d59
xen: Add basic hooks for PVH in current code

Add the hooks to current code needed for Xen PVH. They will be filled
with code later when the related functionality is being added.

loader/i386/linux.c needs to include machine/kernel.h now as it needs
to get GRUB_KERNEL_USE_RSDP_ADDR from there. This in turn requires to
add an empty kernel.h header for some i386 platforms (efi, coreboot,
ieee1275, xen) and for x86_64 efi.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
Tested-by: Hans van Kranenburg <hans@knorrie.org>
12 files changed:
grub-core/Makefile.am
grub-core/kern/i386/xen/pvh.c [new file with mode: 0644]
grub-core/kern/i386/xen/startup_pvh.S [new file with mode: 0644]
grub-core/kern/xen/init.c
grub-core/loader/i386/linux.c
include/grub/i386/coreboot/kernel.h [new file with mode: 0644]
include/grub/i386/efi/kernel.h [new file with mode: 0644]
include/grub/i386/ieee1275/kernel.h [new file with mode: 0644]
include/grub/i386/xen/kernel.h [new file with mode: 0644]
include/grub/i386/xen_pvh/kernel.h [new file with mode: 0644]
include/grub/x86_64/efi/kernel.h [new file with mode: 0644]
include/grub/xen.h