From 0faafc22a881696670426caf660be37e0e1effdc Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sun, 18 Mar 2012 23:40:32 +0100 Subject: multiboot.h: Add 64bit variant * i386/include/mach/i386/multiboot.h (multiboot32_module): New structure. --- i386/include/mach/i386/multiboot.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) 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 -- cgit v1.2.3