mirror of https://github.com/ipxe/ipxe.git
[pxe] Colourise debug output
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/43/head
parent
7c6858e95d
commit
07e14bfb8a
|
@ -307,7 +307,7 @@ int pxe_deactivate ( void ) {
|
||||||
if ( ( rc = unhook_bios_interrupt ( 0x1a,
|
if ( ( rc = unhook_bios_interrupt ( 0x1a,
|
||||||
(unsigned int) pxe_int_1a,
|
(unsigned int) pxe_int_1a,
|
||||||
&pxe_int_1a_vector ))!= 0){
|
&pxe_int_1a_vector ))!= 0){
|
||||||
DBG ( "Could not unhook INT 1A: %s\n",
|
DBGC ( &pxe_netdev, "PXE could not unhook INT 1A: %s\n",
|
||||||
strerror ( rc ) );
|
strerror ( rc ) );
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
@ -334,7 +334,7 @@ int pxe_start_nbp ( void ) {
|
||||||
/* Allow restarting NBP via PXENV_RESTART_TFTP */
|
/* Allow restarting NBP via PXENV_RESTART_TFTP */
|
||||||
jmp = rmsetjmp ( pxe_restart_nbp );
|
jmp = rmsetjmp ( pxe_restart_nbp );
|
||||||
if ( jmp )
|
if ( jmp )
|
||||||
DBG ( "Restarting NBP (%x)\n", jmp );
|
DBGC ( &pxe_netdev, "PXE NBP restarting (%x)\n", jmp );
|
||||||
|
|
||||||
/* Far call to PXE NBP */
|
/* Far call to PXE NBP */
|
||||||
__asm__ __volatile__ ( REAL_CODE ( "pushl %%ebp\n\t" /* gcc bug */
|
__asm__ __volatile__ ( REAL_CODE ( "pushl %%ebp\n\t" /* gcc bug */
|
||||||
|
|
Loading…
Reference in New Issue