]> xenbits.xensource.com Git - xen.git/commit
x86/boot: introduce struct boot_module
authorDaniel P. Smith <dpsmith@apertussolutions.com>
Mon, 21 Oct 2024 00:45:36 +0000 (20:45 -0400)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Mon, 21 Oct 2024 09:31:18 +0000 (10:31 +0100)
commit7cf6e073e47f7c7edfe764ce904df283ec7ddad8
tree8906c9629fe0dca596be02f9aa9351ec823ad222
parent73785a4c7727cd7a888c7d16ca6a77c3ed0161d7
x86/boot: introduce struct boot_module

This will introduce a new struct boot_module to provide a rich state
representation around modules provided by the boot loader. Support is for 64
boot modules, one held in reserve for Xen, and up to 63 can be provided by the
boot loader. The array of struct boot_modules will be accessible via a
reference held in struct boot_info.

A temporary `mod` parameter is included in struct boot_module to ease the
transition from using Multiboot v1 structures over to struct boot_module. Once
the transition is complete, the parameter will be dropped from the structure.

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