summaryrefslogtreecommitdiffstats
path: root/grub-core/loader/i386/xen_file32.c
diff options
context:
space:
mode:
Diffstat (limited to 'grub-core/loader/i386/xen_file32.c')
-rw-r--r--grub-core/loader/i386/xen_file32.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/grub-core/loader/i386/xen_file32.c b/grub-core/loader/i386/xen_file32.c
new file mode 100644
index 0000000..340d445
--- /dev/null
+++ b/grub-core/loader/i386/xen_file32.c
@@ -0,0 +1,7 @@
+#define GRUB_TARGET_WORDSIZE 32
+#define XX 32
+#define grub_le_to_cpu_addr grub_le_to_cpu32
+#define ehdrXX ehdr32
+#define grub_xen_get_infoXX grub_xen_get_info32
+#define FOR_ELF_PHDRS FOR_ELF32_PHDRS
+#include "xen_fileXX.c"