summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Brown2008-09-23 05:15:56 +0200
committerMichael Brown2008-09-23 05:15:56 +0200
commita2f9bf70d75c94e7d7a0d67fe293b1300cb6fe27 (patch)
tree18d6e9b51f1631a493638eda52a98b1f4704e18f
parent[relocate] Guard against systems that report empty memory regions (diff)
downloadipxe-a2f9bf70d75c94e7d7a0d67fe293b1300cb6fe27.tar.gz
ipxe-a2f9bf70d75c94e7d7a0d67fe293b1300cb6fe27.tar.xz
ipxe-a2f9bf70d75c94e7d7a0d67fe293b1300cb6fe27.zip
[pxe] Display PXE_LOADER debug message after call to initialise()
At least one Dell system calls the UNDI loader entry point with the BIOS console disabled. The serial console is active only after a call to initialise(), so move the debug message in undi_loader() so that it can be displayed via the serial console.
-rw-r--r--src/interface/pxe/pxe_loader.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/interface/pxe/pxe_loader.c b/src/interface/pxe/pxe_loader.c
index f815bc25..d228a36d 100644
--- a/src/interface/pxe/pxe_loader.c
+++ b/src/interface/pxe/pxe_loader.c
@@ -31,12 +31,12 @@
*/
PXENV_EXIT_t undi_loader ( struct s_UNDI_LOADER *undi_loader ) {
- DBG ( "[PXENV_UNDI_LOADER to CS %04x DS %04x]",
- undi_loader->UNDI_CS, undi_loader->UNDI_DS );
-
/* Perform one-time initialisation (e.g. heap) */
initialise();
+ DBG ( "[PXENV_UNDI_LOADER to CS %04x DS %04x]",
+ undi_loader->UNDI_CS, undi_loader->UNDI_DS );
+
/* Set up PXE data structures */
pxe_init_structures();