]> xenbits.xensource.com Git - xen.git/commit
x86/boot: introduce boot module types
authorDaniel P. Smith <dpsmith@apertussolutions.com>
Sat, 2 Nov 2024 17:25:40 +0000 (13:25 -0400)
committerAndrew Cooper <andrew.cooper3@citrix.com>
Wed, 6 Nov 2024 19:00:23 +0000 (19:00 +0000)
commit5899b749b8f1a074919232cc76e8209d13f47439
treec13378e4aa78d2f146bc619aee5e8c49cd32bfb8
parent282bd66cee60e09e89793fb402625408f2770e3f
x86/boot: introduce boot module types

This commit introduces module types for the types of boot modules that may be
passed to Xen. These include xen, kernel, ramdisk, microcode, and xsm policy.
This reduces the need for hard coded order assumptions and global variables to
be used by consumers of boot modules, such as domain construction.

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