[init] Show initialisation function names in debug messages

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown
2025-07-15 14:08:15 +01:00
parent 7ac4b3c6f1
commit 1e3fb1b37e
36 changed files with 38 additions and 1 deletions

View File

@@ -250,6 +250,7 @@ static void cpuid_settings_init ( void ) {
/** CPUID settings initialiser */
struct init_fn cpuid_settings_init_fn __init_fn ( INIT_NORMAL ) = {
.name = "cpuid",
.initialise = cpuid_settings_init,
};

View File

@@ -86,5 +86,6 @@ static void debugcon_init ( void ) {
* Debug port console initialisation function
*/
struct init_fn debugcon_init_fn __init_fn ( INIT_EARLY ) = {
.name = "debugcon",
.initialise = debugcon_init,
};

View File

@@ -44,5 +44,6 @@ static void pci_autoboot_init ( void ) {
/** PCI autoboot device initialisation function */
struct init_fn pci_autoboot_init_fn __init_fn ( INIT_NORMAL ) = {
.name = "autoboot",
.initialise = pci_autoboot_init,
};

View File

@@ -109,5 +109,6 @@ struct console_driver vga_console __console_driver = {
};
struct init_fn video_init_fn __init_fn ( INIT_EARLY ) = {
.name = "video",
.initialise = video_init,
};

View File

@@ -74,5 +74,6 @@ static void cachedhcp_init ( void ) {
/** Cached DHCPACK initialisation function */
struct init_fn cachedhcp_init_fn __init_fn ( INIT_NORMAL ) = {
.name = "cachedhcp",
.initialise = cachedhcp_init,
};

View File

@@ -288,6 +288,7 @@ static void int13con_init ( void ) {
* INT13 console initialisation function
*/
struct init_fn int13con_init_fn __init_fn ( INIT_CONSOLE ) = {
.name = "int13con",
.initialise = int13con_init,
};

View File

@@ -191,5 +191,6 @@ static void pcicloud_init ( void ) {
/** Cloud VM PCI configuration space access initialisation function */
struct init_fn pcicloud_init_fn __init_fn ( INIT_EARLY ) = {
.name = "pcicloud",
.initialise = pcicloud_init,
};

View File

@@ -257,6 +257,7 @@ static void pxe_init_structures ( void ) {
/** PXE structure initialiser */
struct init_fn pxe_init_fn __init_fn ( INIT_NORMAL ) = {
.name = "pxe",
.initialise = pxe_init_structures,
};

View File

@@ -200,6 +200,7 @@ static void guestinfo_init ( void ) {
/** GuestInfo settings initialiser */
struct init_fn guestinfo_init_fn __init_fn ( INIT_NORMAL ) = {
.name = "guestinfo",
.initialise = guestinfo_init,
};

View File

@@ -134,5 +134,6 @@ static void vmconsole_init ( void ) {
* VMware logfile console initialisation function
*/
struct init_fn vmconsole_init_fn __init_fn ( INIT_CONSOLE ) = {
.name = "vmconsole",
.initialise = vmconsole_init,
};