[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH v6 05/20] xen: add some dummy headers for PVH mode
From: |
Juergen Gross |
Subject: |
[PATCH v6 05/20] xen: add some dummy headers for PVH mode |
Date: |
Wed, 28 Nov 2018 14:55:15 +0100 |
With Xen PVH mode adding a new machine type the machine related headers
need to be present for the build to succeed. Most of the headers just
need to include the related common i386 headers. Add those to the tree.
Note that xen_pvh/int.h needs to include pc/int_types.h instead of
pc/int.h in order to avoid the definition of grub_bios_interrupt().
xen_pvh/memory.h needs to include coreboot/memory.h (like some other
<machine>/memory.h do as well) as this contains just the needed stubs.
Signed-off-by: Juergen Gross <address@hidden>
Reviewed-by: Daniel Kiper <address@hidden>
---
V3: updated commit message (Daniel Kiper)
xenpvh->xen_pvh (Daniel Kiper)
V5: updated commit message (Daniel Kiper)
---
include/grub/i386/xen_pvh/boot.h | 1 +
include/grub/i386/xen_pvh/console.h | 1 +
include/grub/i386/xen_pvh/int.h | 1 +
include/grub/i386/xen_pvh/memory.h | 1 +
include/grub/i386/xen_pvh/time.h | 1 +
5 files changed, 5 insertions(+)
create mode 100644 include/grub/i386/xen_pvh/boot.h
create mode 100644 include/grub/i386/xen_pvh/console.h
create mode 100644 include/grub/i386/xen_pvh/int.h
create mode 100644 include/grub/i386/xen_pvh/memory.h
create mode 100644 include/grub/i386/xen_pvh/time.h
diff --git a/include/grub/i386/xen_pvh/boot.h b/include/grub/i386/xen_pvh/boot.h
new file mode 100644
index 000000000..6cd23aa83
--- /dev/null
+++ b/include/grub/i386/xen_pvh/boot.h
@@ -0,0 +1 @@
+#include <grub/i386/pc/boot.h>
diff --git a/include/grub/i386/xen_pvh/console.h
b/include/grub/i386/xen_pvh/console.h
new file mode 100644
index 000000000..305a46d8e
--- /dev/null
+++ b/include/grub/i386/xen_pvh/console.h
@@ -0,0 +1 @@
+#include <grub/i386/pc/console.h>
diff --git a/include/grub/i386/xen_pvh/int.h b/include/grub/i386/xen_pvh/int.h
new file mode 100644
index 000000000..0f1f9ee62
--- /dev/null
+++ b/include/grub/i386/xen_pvh/int.h
@@ -0,0 +1 @@
+#include <grub/i386/pc/int_types.h>
diff --git a/include/grub/i386/xen_pvh/memory.h
b/include/grub/i386/xen_pvh/memory.h
new file mode 100644
index 000000000..8dd6f7c8c
--- /dev/null
+++ b/include/grub/i386/xen_pvh/memory.h
@@ -0,0 +1 @@
+#include <grub/i386/coreboot/memory.h>
diff --git a/include/grub/i386/xen_pvh/time.h b/include/grub/i386/xen_pvh/time.h
new file mode 100644
index 000000000..2298ee8f4
--- /dev/null
+++ b/include/grub/i386/xen_pvh/time.h
@@ -0,0 +1 @@
+#include <grub/i386/pc/time.h>
--
2.16.4
- [PATCH v6 00/20] xen: add pvh guest support, Juergen Gross, 2018/11/28
- [PATCH v6 02/20] loader/linux: support passing rsdp address via boot params, Juergen Gross, 2018/11/28
- [PATCH v6 10/20] xen: add PVH boot entry code, Juergen Gross, 2018/11/28
- [PATCH v6 04/20] xen: prepare common code for Xen PVH support, Juergen Gross, 2018/11/28
- [PATCH v6 03/20] xen: carve out grant tab initialization into dedicated function, Juergen Gross, 2018/11/28
- [PATCH v6 08/20] xen: add PVH specific defines to offset.h, Juergen Gross, 2018/11/28
- [PATCH v6 13/20] xen: setup Xen specific data for PVH, Juergen Gross, 2018/11/28
- [PATCH v6 11/20] xen: setup hypercall page for PVH, Juergen Gross, 2018/11/28
- [PATCH v6 05/20] xen: add some dummy headers for PVH mode,
Juergen Gross <=
- [PATCH v6 12/20] xen: get memory map from hypervisor for PVH, Juergen Gross, 2018/11/28
- [PATCH v6 07/20] xen: modify grub_xen_ptr2mfn() for xen-pvh, Juergen Gross, 2018/11/28
- [PATCH v6 19/20] xen_pvh: support grub-install for xen_pvh, Juergen Gross, 2018/11/28
- [PATCH v6 16/20] grub-module-verifier: Ignore all_video for xenpvh, Juergen Gross, 2018/11/28
- [PATCH v6 09/20] xen: add basic hooks for PVH in current code, Juergen Gross, 2018/11/28
- [PATCH v6 18/20] xen_pvh: support building a standalone image, Juergen Gross, 2018/11/28
- [PATCH v6 06/20] xen: rearrange xen/init.c to prepare it for Xen PVH mode, Juergen Gross, 2018/11/28
- [PATCH v6 17/20] xen: use elfnote defines instead of plain numbers, Juergen Gross, 2018/11/28