summaryrefslogtreecommitdiffstats
path: root/src/arch/i386
diff options
context:
space:
mode:
authorMichael Brown2016-01-11 17:20:05 +0100
committerMichael Brown2016-01-11 17:20:05 +0100
commit07e14bfb8ae3172182b66d6a04f91a3c9d56af68 (patch)
tree4a4302a71e90c216184447ba0a7882f98355e391 /src/arch/i386
parent[infiniband] Profile post work queue entry operations (diff)
downloadipxe-07e14bfb8ae3172182b66d6a04f91a3c9d56af68.tar.gz
ipxe-07e14bfb8ae3172182b66d6a04f91a3c9d56af68.tar.xz
ipxe-07e14bfb8ae3172182b66d6a04f91a3c9d56af68.zip
[pxe] Colourise debug output
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386')
-rw-r--r--src/arch/i386/interface/pxe/pxe_call.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/arch/i386/interface/pxe/pxe_call.c b/src/arch/i386/interface/pxe/pxe_call.c
index 0b67880c..7da4d760 100644
--- a/src/arch/i386/interface/pxe/pxe_call.c
+++ b/src/arch/i386/interface/pxe/pxe_call.c
@@ -307,8 +307,8 @@ int pxe_deactivate ( void ) {
if ( ( rc = unhook_bios_interrupt ( 0x1a,
(unsigned int) pxe_int_1a,
&pxe_int_1a_vector ))!= 0){
- DBG ( "Could not unhook INT 1A: %s\n",
- strerror ( rc ) );
+ DBGC ( &pxe_netdev, "PXE could not unhook INT 1A: %s\n",
+ strerror ( rc ) );
return rc;
}
devices_put();
@@ -334,7 +334,7 @@ int pxe_start_nbp ( void ) {
/* Allow restarting NBP via PXENV_RESTART_TFTP */
jmp = rmsetjmp ( pxe_restart_nbp );
if ( jmp )
- DBG ( "Restarting NBP (%x)\n", jmp );
+ DBGC ( &pxe_netdev, "PXE NBP restarting (%x)\n", jmp );
/* Far call to PXE NBP */
__asm__ __volatile__ ( REAL_CODE ( "pushl %%ebp\n\t" /* gcc bug */