@@ -8,7 +8,6 @@
#ifndef X86_BOOTINFO_H
#define X86_BOOTINFO_H
-#include <xen/multiboot.h>
#include <xen/types.h>
/* Max number of boot modules a bootloader can provide in addition to Xen */
@@ -25,9 +24,6 @@ enum bootmod_type {
};
struct boot_module {
- /* Transitionary only */
- module_t *mod;
-
/*
* A boot module may contain a compressed kernel that will require
* additional space, before the module data, into which the kernel will be
@@ -314,8 +314,6 @@ static struct boot_info *__init multiboot_fill_boot_info(unsigned long mbi_p)
*/
for ( i = 0; i < MAX_NR_BOOTMODS && i < bi->nr_modules; i++ )
{
- bi->mods[i].mod = &mods[i];
-
bi->mods[i].cmdline = (paddr_t)mods[i].string;
if ( !efi_enabled(EFI_LOADER) )
@@ -331,7 +329,6 @@ static struct boot_info *__init multiboot_fill_boot_info(unsigned long mbi_p)
}
/* Variable 'i' should be one entry past the last module. */
- bi->mods[i].mod = &mods[bi->nr_modules];
bi->mods[i].start = mods[i].mod_start;
bi->mods[i].size = mods[i].mod_end - mods[i].mod_start;
bi->mods[i].type = BOOTMOD_XEN;