Re: [PATCH v7 03/38] x86/boot: move headroom to boot modules

2024-10-21 Thread Andrew Cooper
On 21/10/2024 1:45 am, Daniel P. Smith wrote: > The purpose of struct boot_module is to encapsulate the state of boot module > as > it is processed by Xen. Locating boot module state struct boot_module reduces > the number of global variables as well as the number of state variables that > must be

Re: [PATCH v7 03/38] x86/boot: move headroom to boot modules

2024-10-21 Thread Andrew Cooper
On 21/10/2024 1:45 am, Daniel P. Smith wrote: > The purpose of struct boot_module is to encapsulate the state of boot module > as > it is processed by Xen. Locating boot module state struct boot_module reduces > the number of global variables as well as the number of state variables that > must be

[PATCH v7 03/38] x86/boot: move headroom to boot modules

2024-10-20 Thread Daniel P. Smith
The purpose of struct boot_module is to encapsulate the state of boot module as it is processed by Xen. Locating boot module state struct boot_module reduces the number of global variables as well as the number of state variables that must be passed around. It also lays the groundwork for hyperlaun