Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
[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.
  • Loading branch information
Michael Brown committed Sep 23, 2008
1 parent ca0b0f0 commit a2f9bf7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/interface/pxe/pxe_loader.c
Expand Up @@ -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();

Expand Down

0 comments on commit a2f9bf7

Please sign in to comment.