Browse Source

[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.
tags/v0.9.4
Michael Brown 16 years ago
parent
commit
a2f9bf70d7
1 changed files with 3 additions and 3 deletions
  1. 3
    3
      src/interface/pxe/pxe_loader.c

+ 3
- 3
src/interface/pxe/pxe_loader.c View File

@@ -31,12 +31,12 @@
31 31
  */
32 32
 PXENV_EXIT_t undi_loader ( struct s_UNDI_LOADER *undi_loader ) {
33 33
 
34
-	DBG ( "[PXENV_UNDI_LOADER to CS %04x DS %04x]",
35
-	      undi_loader->UNDI_CS, undi_loader->UNDI_DS );
36
-
37 34
 	/* Perform one-time initialisation (e.g. heap) */
38 35
 	initialise();
39 36
 
37
+	DBG ( "[PXENV_UNDI_LOADER to CS %04x DS %04x]",
38
+	      undi_loader->UNDI_CS, undi_loader->UNDI_DS );
39
+
40 40
 	/* Set up PXE data structures */
41 41
 	pxe_init_structures();
42 42
 

Loading…
Cancel
Save