summaryrefslogtreecommitdiff
path: root/i386/include/mach/i386/multiboot.h
diff options
context:
space:
mode:
Diffstat (limited to 'i386/include/mach/i386/multiboot.h')
-rw-r--r--i386/include/mach/i386/multiboot.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/i386/include/mach/i386/multiboot.h b/i386/include/mach/i386/multiboot.h
index c66ca032..5a532576 100644
--- a/i386/include/mach/i386/multiboot.h
+++ b/i386/include/mach/i386/multiboot.h
@@ -158,6 +158,23 @@ struct multiboot_module
unsigned reserved;
};
+#ifdef __x86_64__
+/* The mods_addr field above contains the physical address of the first
+ of 'mods_count' multiboot_module structures. */
+struct multiboot32_module
+{
+ /* Physical start and end addresses of the module data itself. */
+ unsigned mod_start;
+ unsigned mod_end;
+
+ /* Arbitrary ASCII string associated with the module. */
+ unsigned string;
+
+ /* Boot loader must set to 0; OS must ignore. */
+ unsigned reserved;
+};
+#endif
+
/* The mmap_addr field above contains the physical address of the first
of the AddrRangeDesc structure. "size" represents the size of the