david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[pxe] Colourise debug output

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2016-01-11 16:20:05 +00:00
parent 7c6858e95d
commit 07e14bfb8a
1 changed files with 3 additions and 3 deletions

View File

@ -307,8 +307,8 @@ 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;
} }
devices_put(); devices_put();
@ -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 */