mirror of
https://github.com/ipxe/ipxe
synced 2026-01-29 12:29:13 +03:00
Force a standard format upon debug messages.
This commit is contained in:
@@ -46,7 +46,7 @@ __asm__ ( ".equ\t" OBJECT_SYMBOL_STR ", 0" );
|
|||||||
#define DEBUG_SYMBOL _H2 ( debug_, OBJECT )
|
#define DEBUG_SYMBOL _H2 ( debug_, OBJECT )
|
||||||
#if DEBUG_SYMBOL
|
#if DEBUG_SYMBOL
|
||||||
#include "console.h"
|
#include "console.h"
|
||||||
#define DBG(...) printf ( __VA_ARGS__ )
|
#define DBG(...) printf ( _XSTR ( OBJECT ) ": " __VA_ARGS__ )
|
||||||
#define DEBUG_SYMBOL_STR _XSTR ( DEBUG_SYMBOL )
|
#define DEBUG_SYMBOL_STR _XSTR ( DEBUG_SYMBOL )
|
||||||
__asm__ ( ".equ\tWITH_DEBUG_MESSAGES, 0" );
|
__asm__ ( ".equ\tWITH_DEBUG_MESSAGES, 0" );
|
||||||
#else
|
#else
|
||||||
|
|||||||
Reference in New Issue
Block a user