]> xenbits.xensource.com Git - xen.git/commitdiff
x86/boot: Add a temporary module_map pointer to boot_image
authorAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Oct 2024 00:53:08 +0000 (01:53 +0100)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 23 Oct 2024 17:14:24 +0000 (18:14 +0100)
... in order to untangle parameter handling independently from other logic
changes.

Signed-off-by: Andrew Cooper <andrew.cooper3@citrix.com>
Reviewed-by: Daniel P. Smith <dpsmith@apertussolutions.com>
xen/arch/x86/include/asm/bootinfo.h
xen/arch/x86/setup.c

index ffa44340674724e79c21d16055c26625764e3333..6237da7e4d863571b997d260e7472af8035f4b12 100644 (file)
@@ -31,6 +31,7 @@ struct boot_info {
     size_t memmap_length;
 
     unsigned int nr_modules;
+    unsigned long *module_map; /* Temporary */
     struct boot_module mods[MAX_NR_BOOTMODS + 1];
 };
 
index c5b37bd2112e8134e2cd8de9ef855ca819145c16..d8001867c925117dd7ba470d9806aa3fbec8ea46 100644 (file)
@@ -1086,6 +1086,7 @@ void asmlinkage __init noreturn __start_xen(unsigned long mbi_p)
     }
 
     bi = multiboot_fill_boot_info(mbi, mod);
+    bi->module_map = module_map; /* Temporary */
 
     /* Parse the command-line options. */
     if ( (kextra = strstr(bi->cmdline, " -- ")) != NULL )