iPXE
|
Macros | |
#define | DBG(...) DBG_IF ( LOG, ##__VA_ARGS__ ) |
Print a debugging message. More... | |
#define | NDEBUG |
#define | DBGLVL_MAX 0 |
#define | DBGLVL_DFLT DBGLVL_MAX |
#define | __debug_disable(object) _C2 ( __debug_disable_, object ) |
#define | DBG_DISABLE_OBJECT(object, level) |
#define | DBG_ENABLE_OBJECT(object, level) |
#define | DBGLVL 0 |
#define | DBG_DISABLE(level) do { } while ( 0 ) |
#define | DBG_ENABLE(level) do { } while ( 0 ) |
#define | DBGLVL_LOG 1 |
#define | DBG_LOG ( DBGLVL & DBGLVL_LOG ) |
#define | DBGLVL_EXTRA 2 |
#define | DBG_EXTRA ( DBGLVL & DBGLVL_EXTRA ) |
#define | DBGLVL_PROFILE 4 |
#define | DBG_PROFILE ( DBGLVL & DBGLVL_PROFILE ) |
#define | DBGLVL_IO 8 |
#define | DBG_IO ( DBGLVL & DBGLVL_IO ) |
#define | DBG_IF(level, ...) |
Print debugging message if we are at a certain debug level. More... | |
#define | DBG_HDA_IF(level, dispaddr, data, len) |
Print a hex dump if we are at a certain debug level. More... | |
#define | DBG_HD_IF(level, data, len) |
Print a hex dump if we are at a certain debug level. More... | |
#define | DBG_MD5A_IF(level, dispaddr, data, len) |
Print an MD5 checksum if we are at a certain debug level. More... | |
#define | DBG_MD5_IF(level, data, len) |
Print an MD5 checksum if we are at a certain debug level. More... | |
#define | DBG_PAUSE_IF(level, ...) |
Prompt for key press if we are at a certain debug level. More... | |
#define | DBG_MORE_IF(level, ...) |
Prompt for more output data if we are at a certain debug level. More... | |
#define | DBG_AC_IF(level, id) |
Select colour for debug messages if we are at a certain debug level. More... | |
#define | DBG_DC_IF(level) |
Revert colour for debug messages if we are at a certain debug level. More... | |
#define | DBGC_IF(level, id, ...) |
#define | DBGC_HDA_IF(level, id, ...) |
#define | DBGC_HD_IF(level, id, ...) |
#define | DBGC_MD5A_IF(level, id, ...) |
#define | DBGC_MD5_IF(level, id, ...) |
#define | DBGC_PAUSE_IF(level, id) |
#define | DBGC_MORE_IF(level, id) |
#define | DBG_HDA(...) DBG_HDA_IF ( LOG, ##__VA_ARGS__ ) |
#define | DBG_HD(...) DBG_HD_IF ( LOG, ##__VA_ARGS__ ) |
#define | DBG_MD5A(...) DBG_MD5A_IF ( LOG, ##__VA_ARGS__ ) |
#define | DBG_MD5(...) DBG_MD5_IF ( LOG, ##__VA_ARGS__ ) |
#define | DBG_PAUSE(...) DBG_PAUSE_IF ( LOG, ##__VA_ARGS__ ) |
#define | DBG_MORE(...) DBG_MORE_IF ( LOG, ##__VA_ARGS__ ) |
#define | DBGC(...) DBGC_IF ( LOG, ##__VA_ARGS__ ) |
#define | DBGC_HDA(...) DBGC_HDA_IF ( LOG, ##__VA_ARGS__ ) |
#define | DBGC_HD(...) DBGC_HD_IF ( LOG, ##__VA_ARGS__ ) |
#define | DBGC_MD5A(...) DBGC_MD5A_IF ( LOG, ##__VA_ARGS__ ) |
#define | DBGC_MD5(...) DBGC_MD5_IF ( LOG, ##__VA_ARGS__ ) |
#define | DBGC_PAUSE(...) DBGC_PAUSE_IF ( LOG, ##__VA_ARGS__ ) |
#define | DBGC_MORE(...) DBGC_MORE_IF ( LOG, ##__VA_ARGS__ ) |
#define | DBG2(...) DBG_IF ( EXTRA, ##__VA_ARGS__ ) |
#define | DBG2_HDA(...) DBG_HDA_IF ( EXTRA, ##__VA_ARGS__ ) |
#define | DBG2_HD(...) DBG_HD_IF ( EXTRA, ##__VA_ARGS__ ) |
#define | DBG2_MD5A(...) DBG_MD5A_IF ( EXTRA, ##__VA_ARGS__ ) |
#define | DBG2_MD5(...) DBG_MD5_IF ( EXTRA, ##__VA_ARGS__ ) |
#define | DBG2_PAUSE(...) DBG_PAUSE_IF ( EXTRA, ##__VA_ARGS__ ) |
#define | DBG2_MORE(...) DBG_MORE_IF ( EXTRA, ##__VA_ARGS__ ) |
#define | DBGC2(...) DBGC_IF ( EXTRA, ##__VA_ARGS__ ) |
#define | DBGC2_HDA(...) DBGC_HDA_IF ( EXTRA, ##__VA_ARGS__ ) |
#define | DBGC2_HD(...) DBGC_HD_IF ( EXTRA, ##__VA_ARGS__ ) |
#define | DBGC2_MD5A(...) DBGC_MD5A_IF ( EXTRA, ##__VA_ARGS__ ) |
#define | DBGC2_MD5(...) DBGC_MD5_IF ( EXTRA, ##__VA_ARGS__ ) |
#define | DBGC2_PAUSE(...) DBGC_PAUSE_IF ( EXTRA, ##__VA_ARGS__ ) |
#define | DBGC2_MORE(...) DBGC_MORE_IF ( EXTRA, ##__VA_ARGS__ ) |
#define | DBGP(...) DBG_IF ( PROFILE, ##__VA_ARGS__ ) |
#define | DBGP_HDA(...) DBG_HDA_IF ( PROFILE, ##__VA_ARGS__ ) |
#define | DBGP_HD(...) DBG_HD_IF ( PROFILE, ##__VA_ARGS__ ) |
#define | DBGP_MD5A(...) DBG_MD5A_IF ( PROFILE, ##__VA_ARGS__ ) |
#define | DBGP_MD5(...) DBG_MD5_IF ( PROFILE, ##__VA_ARGS__ ) |
#define | DBGP_PAUSE(...) DBG_PAUSE_IF ( PROFILE, ##__VA_ARGS__ ) |
#define | DBGP_MORE(...) DBG_MORE_IF ( PROFILE, ##__VA_ARGS__ ) |
#define | DBGCP(...) DBGC_IF ( PROFILE, ##__VA_ARGS__ ) |
#define | DBGCP_HDA(...) DBGC_HDA_IF ( PROFILE, ##__VA_ARGS__ ) |
#define | DBGCP_HD(...) DBGC_HD_IF ( PROFILE, ##__VA_ARGS__ ) |
#define | DBGCP_MD5A(...) DBGC_MD5A_IF ( PROFILE, ##__VA_ARGS__ ) |
#define | DBGCP_MD5(...) DBGC_MD5_IF ( PROFILE, ##__VA_ARGS__ ) |
#define | DBGCP_PAUSE(...) DBGC_PAUSE_IF ( PROFILE, ##__VA_ARGS__ ) |
#define | DBGCP_MORE(...) DBGC_MORE_IF ( PROFILE, ##__VA_ARGS__ ) |
#define | DBGIO(...) DBG_IF ( IO, ##__VA_ARGS__ ) |
#define | DBGIO_HDA(...) DBG_HDA_IF ( IO, ##__VA_ARGS__ ) |
#define | DBGIO_HD(...) DBG_HD_IF ( IO, ##__VA_ARGS__ ) |
#define | DBGIO_MD5A(...) DBG_MD5A_IF ( IO, ##__VA_ARGS__ ) |
#define | DBGIO_MD5(...) DBG_MD5_IF ( IO, ##__VA_ARGS__ ) |
#define | DBGIO_PAUSE(...) DBG_PAUSE_IF ( IO, ##__VA_ARGS__ ) |
#define | DBGIO_MORE(...) DBG_MORE_IF ( IO, ##__VA_ARGS__ ) |
#define | DBGCIO(...) DBGC_IF ( IO, ##__VA_ARGS__ ) |
#define | DBGCIO_HDA(...) DBGC_HDA_IF ( IO, ##__VA_ARGS__ ) |
#define | DBGCIO_HD(...) DBGC_HD_IF ( IO, ##__VA_ARGS__ ) |
#define | DBGCIO_MD5A(...) DBGC_MD5A_IF ( IO, ##__VA_ARGS__ ) |
#define | DBGCIO_MD5(...) DBGC_MD5_IF ( IO, ##__VA_ARGS__ ) |
#define | DBGCIO_PAUSE(...) DBGC_PAUSE_IF ( IO, ##__VA_ARGS__ ) |
#define | DBGCIO_MORE(...) DBGC_MORE_IF ( IO, ##__VA_ARGS__ ) |
Functions | |
void | dbg_printf (const char *fmt,...) |
printf() for debugging More... | |
void | dbg_autocolourise (unsigned long id) |
Select automatic colour for debug messages. More... | |
void | dbg_decolourise (void) |
Revert to normal colour. More... | |
void | dbg_hex_dump_da (unsigned long dispaddr, const void *data, unsigned long len) |
Print hex dump with specified display address. More... | |
void | dbg_md5_da (unsigned long dispaddr, const void *data, unsigned long len) |
Print an MD5 checksum with specified display address. More... | |
void | dbg_pause (void) |
Pause until a key is pressed. More... | |
void | dbg_more (void) |
Indicate more data to follow and pause until a key is pressed. More... | |
char | __debug_disable (OBJECT) |
#define DBG | ( | ... | ) | DBG_IF ( LOG, ##__VA_ARGS__ ) |
Print a debugging message.
The debug level is set at build time by specifying the DEBUG=
parameter on the make
command line. For example, to enable debugging for the PCI bus functions (in pci.c) in a .dsk image for the
rtl8139
card, you could use the command line
This will enable the debugging statements (DBG()) in pci.c. If debugging is not enabled, DBG() statements will be ignored.
You can enable debugging in several objects simultaneously by separating them with commas, as in
You can increase the debugging level for an object by specifying it with :N, where
N
is the level, as in
which would enable debugging for the PCI, buffer-handling and heap-allocation code, with the buffer-handling code at level 2.
Definition at line 498 of file compiler.h.
#define NDEBUG |
Definition at line 269 of file compiler.h.
#define DBGLVL_MAX 0 |
Definition at line 270 of file compiler.h.
#define DBGLVL_DFLT DBGLVL_MAX |
Definition at line 274 of file compiler.h.
#define __debug_disable | ( | object | ) | _C2 ( __debug_disable_, object ) |
Definition at line 292 of file compiler.h.
#define DBG_DISABLE_OBJECT | ( | object, | |
level | |||
) |
Definition at line 294 of file compiler.h.
#define DBG_ENABLE_OBJECT | ( | object, | |
level | |||
) |
Definition at line 298 of file compiler.h.
#define DBGLVL 0 |
Definition at line 311 of file compiler.h.
#define DBG_DISABLE | ( | level | ) | do { } while ( 0 ) |
Definition at line 312 of file compiler.h.
#define DBG_ENABLE | ( | level | ) | do { } while ( 0 ) |
Definition at line 313 of file compiler.h.
#define DBGLVL_LOG 1 |
Definition at line 316 of file compiler.h.
#define DBG_LOG ( DBGLVL & DBGLVL_LOG ) |
Definition at line 317 of file compiler.h.
#define DBGLVL_EXTRA 2 |
Definition at line 318 of file compiler.h.
#define DBG_EXTRA ( DBGLVL & DBGLVL_EXTRA ) |
Definition at line 319 of file compiler.h.
#define DBGLVL_PROFILE 4 |
Definition at line 320 of file compiler.h.
#define DBG_PROFILE ( DBGLVL & DBGLVL_PROFILE ) |
Definition at line 321 of file compiler.h.
#define DBGLVL_IO 8 |
Definition at line 322 of file compiler.h.
Definition at line 323 of file compiler.h.
#define DBG_IF | ( | level, | |
... | |||
) |
Print debugging message if we are at a certain debug level.
level | Debug level |
... | printf() argument list |
Definition at line 331 of file compiler.h.
Print a hex dump if we are at a certain debug level.
level | Debug level |
dispaddr | Display address |
data | Data to print |
len | Length of data |
Definition at line 345 of file compiler.h.
Print a hex dump if we are at a certain debug level.
level | Debug level |
data | Data to print |
len | Length of data |
Definition at line 364 of file compiler.h.
Print an MD5 checksum if we are at a certain debug level.
level | Debug level |
dispaddr | Display address |
data | Data to print |
len | Length of data |
Definition at line 377 of file compiler.h.
Print an MD5 checksum if we are at a certain debug level.
level | Debug level |
data | Data to print |
len | Length of data |
Definition at line 396 of file compiler.h.
#define DBG_PAUSE_IF | ( | level, | |
... | |||
) |
Prompt for key press if we are at a certain debug level.
level | Debug level |
Definition at line 406 of file compiler.h.
#define DBG_MORE_IF | ( | level, | |
... | |||
) |
Prompt for more output data if we are at a certain debug level.
level | Debug level |
Definition at line 417 of file compiler.h.
#define DBG_AC_IF | ( | level, | |
id | |||
) |
Select colour for debug messages if we are at a certain debug level.
level | Debug level |
id | Message stream ID |
Definition at line 429 of file compiler.h.
#define DBG_DC_IF | ( | level | ) |
Revert colour for debug messages if we are at a certain debug level.
level | Debug level |
Definition at line 446 of file compiler.h.
#define DBGC_IF | ( | level, | |
id, | |||
... | |||
) |
Definition at line 454 of file compiler.h.
#define DBGC_HDA_IF | ( | level, | |
id, | |||
... | |||
) |
Definition at line 460 of file compiler.h.
#define DBGC_HD_IF | ( | level, | |
id, | |||
... | |||
) |
Definition at line 466 of file compiler.h.
#define DBGC_MD5A_IF | ( | level, | |
id, | |||
... | |||
) |
Definition at line 472 of file compiler.h.
#define DBGC_MD5_IF | ( | level, | |
id, | |||
... | |||
) |
Definition at line 478 of file compiler.h.
#define DBGC_PAUSE_IF | ( | level, | |
id | |||
) |
Definition at line 484 of file compiler.h.
#define DBGC_MORE_IF | ( | level, | |
id | |||
) |
Definition at line 490 of file compiler.h.
#define DBG_HDA | ( | ... | ) | DBG_HDA_IF ( LOG, ##__VA_ARGS__ ) |
Definition at line 499 of file compiler.h.
#define DBG_HD | ( | ... | ) | DBG_HD_IF ( LOG, ##__VA_ARGS__ ) |
Definition at line 500 of file compiler.h.
#define DBG_MD5A | ( | ... | ) | DBG_MD5A_IF ( LOG, ##__VA_ARGS__ ) |
Definition at line 501 of file compiler.h.
#define DBG_MD5 | ( | ... | ) | DBG_MD5_IF ( LOG, ##__VA_ARGS__ ) |
Definition at line 502 of file compiler.h.
#define DBG_PAUSE | ( | ... | ) | DBG_PAUSE_IF ( LOG, ##__VA_ARGS__ ) |
Definition at line 503 of file compiler.h.
#define DBG_MORE | ( | ... | ) | DBG_MORE_IF ( LOG, ##__VA_ARGS__ ) |
Definition at line 504 of file compiler.h.
#define DBGC | ( | ... | ) | DBGC_IF ( LOG, ##__VA_ARGS__ ) |
Definition at line 505 of file compiler.h.
#define DBGC_HDA | ( | ... | ) | DBGC_HDA_IF ( LOG, ##__VA_ARGS__ ) |
Definition at line 506 of file compiler.h.
#define DBGC_HD | ( | ... | ) | DBGC_HD_IF ( LOG, ##__VA_ARGS__ ) |
Definition at line 507 of file compiler.h.
#define DBGC_MD5A | ( | ... | ) | DBGC_MD5A_IF ( LOG, ##__VA_ARGS__ ) |
Definition at line 508 of file compiler.h.
#define DBGC_MD5 | ( | ... | ) | DBGC_MD5_IF ( LOG, ##__VA_ARGS__ ) |
Definition at line 509 of file compiler.h.
#define DBGC_PAUSE | ( | ... | ) | DBGC_PAUSE_IF ( LOG, ##__VA_ARGS__ ) |
Definition at line 510 of file compiler.h.
#define DBGC_MORE | ( | ... | ) | DBGC_MORE_IF ( LOG, ##__VA_ARGS__ ) |
Definition at line 511 of file compiler.h.
#define DBG2 | ( | ... | ) | DBG_IF ( EXTRA, ##__VA_ARGS__ ) |
Definition at line 515 of file compiler.h.
#define DBG2_HDA | ( | ... | ) | DBG_HDA_IF ( EXTRA, ##__VA_ARGS__ ) |
Definition at line 516 of file compiler.h.
#define DBG2_HD | ( | ... | ) | DBG_HD_IF ( EXTRA, ##__VA_ARGS__ ) |
Definition at line 517 of file compiler.h.
#define DBG2_MD5A | ( | ... | ) | DBG_MD5A_IF ( EXTRA, ##__VA_ARGS__ ) |
Definition at line 518 of file compiler.h.
#define DBG2_MD5 | ( | ... | ) | DBG_MD5_IF ( EXTRA, ##__VA_ARGS__ ) |
Definition at line 519 of file compiler.h.
#define DBG2_PAUSE | ( | ... | ) | DBG_PAUSE_IF ( EXTRA, ##__VA_ARGS__ ) |
Definition at line 520 of file compiler.h.
#define DBG2_MORE | ( | ... | ) | DBG_MORE_IF ( EXTRA, ##__VA_ARGS__ ) |
Definition at line 521 of file compiler.h.
#define DBGC2 | ( | ... | ) | DBGC_IF ( EXTRA, ##__VA_ARGS__ ) |
Definition at line 522 of file compiler.h.
#define DBGC2_HDA | ( | ... | ) | DBGC_HDA_IF ( EXTRA, ##__VA_ARGS__ ) |
Definition at line 523 of file compiler.h.
#define DBGC2_HD | ( | ... | ) | DBGC_HD_IF ( EXTRA, ##__VA_ARGS__ ) |
Definition at line 524 of file compiler.h.
#define DBGC2_MD5A | ( | ... | ) | DBGC_MD5A_IF ( EXTRA, ##__VA_ARGS__ ) |
Definition at line 525 of file compiler.h.
#define DBGC2_MD5 | ( | ... | ) | DBGC_MD5_IF ( EXTRA, ##__VA_ARGS__ ) |
Definition at line 526 of file compiler.h.
#define DBGC2_PAUSE | ( | ... | ) | DBGC_PAUSE_IF ( EXTRA, ##__VA_ARGS__ ) |
Definition at line 527 of file compiler.h.
#define DBGC2_MORE | ( | ... | ) | DBGC_MORE_IF ( EXTRA, ##__VA_ARGS__ ) |
Definition at line 528 of file compiler.h.
#define DBGP | ( | ... | ) | DBG_IF ( PROFILE, ##__VA_ARGS__ ) |
Definition at line 532 of file compiler.h.
#define DBGP_HDA | ( | ... | ) | DBG_HDA_IF ( PROFILE, ##__VA_ARGS__ ) |
Definition at line 533 of file compiler.h.
#define DBGP_HD | ( | ... | ) | DBG_HD_IF ( PROFILE, ##__VA_ARGS__ ) |
Definition at line 534 of file compiler.h.
#define DBGP_MD5A | ( | ... | ) | DBG_MD5A_IF ( PROFILE, ##__VA_ARGS__ ) |
Definition at line 535 of file compiler.h.
#define DBGP_MD5 | ( | ... | ) | DBG_MD5_IF ( PROFILE, ##__VA_ARGS__ ) |
Definition at line 536 of file compiler.h.
#define DBGP_PAUSE | ( | ... | ) | DBG_PAUSE_IF ( PROFILE, ##__VA_ARGS__ ) |
Definition at line 537 of file compiler.h.
#define DBGP_MORE | ( | ... | ) | DBG_MORE_IF ( PROFILE, ##__VA_ARGS__ ) |
Definition at line 538 of file compiler.h.
#define DBGCP | ( | ... | ) | DBGC_IF ( PROFILE, ##__VA_ARGS__ ) |
Definition at line 539 of file compiler.h.
#define DBGCP_HDA | ( | ... | ) | DBGC_HDA_IF ( PROFILE, ##__VA_ARGS__ ) |
Definition at line 540 of file compiler.h.
#define DBGCP_HD | ( | ... | ) | DBGC_HD_IF ( PROFILE, ##__VA_ARGS__ ) |
Definition at line 541 of file compiler.h.
#define DBGCP_MD5A | ( | ... | ) | DBGC_MD5A_IF ( PROFILE, ##__VA_ARGS__ ) |
Definition at line 542 of file compiler.h.
#define DBGCP_MD5 | ( | ... | ) | DBGC_MD5_IF ( PROFILE, ##__VA_ARGS__ ) |
Definition at line 543 of file compiler.h.
#define DBGCP_PAUSE | ( | ... | ) | DBGC_PAUSE_IF ( PROFILE, ##__VA_ARGS__ ) |
Definition at line 544 of file compiler.h.
#define DBGCP_MORE | ( | ... | ) | DBGC_MORE_IF ( PROFILE, ##__VA_ARGS__ ) |
Definition at line 545 of file compiler.h.
#define DBGIO | ( | ... | ) | DBG_IF ( IO, ##__VA_ARGS__ ) |
Definition at line 549 of file compiler.h.
#define DBGIO_HDA | ( | ... | ) | DBG_HDA_IF ( IO, ##__VA_ARGS__ ) |
Definition at line 550 of file compiler.h.
#define DBGIO_HD | ( | ... | ) | DBG_HD_IF ( IO, ##__VA_ARGS__ ) |
Definition at line 551 of file compiler.h.
#define DBGIO_MD5A | ( | ... | ) | DBG_MD5A_IF ( IO, ##__VA_ARGS__ ) |
Definition at line 552 of file compiler.h.
#define DBGIO_MD5 | ( | ... | ) | DBG_MD5_IF ( IO, ##__VA_ARGS__ ) |
Definition at line 553 of file compiler.h.
#define DBGIO_PAUSE | ( | ... | ) | DBG_PAUSE_IF ( IO, ##__VA_ARGS__ ) |
Definition at line 554 of file compiler.h.
#define DBGIO_MORE | ( | ... | ) | DBG_MORE_IF ( IO, ##__VA_ARGS__ ) |
Definition at line 555 of file compiler.h.
#define DBGCIO | ( | ... | ) | DBGC_IF ( IO, ##__VA_ARGS__ ) |
Definition at line 556 of file compiler.h.
#define DBGCIO_HDA | ( | ... | ) | DBGC_HDA_IF ( IO, ##__VA_ARGS__ ) |
Definition at line 557 of file compiler.h.
#define DBGCIO_HD | ( | ... | ) | DBGC_HD_IF ( IO, ##__VA_ARGS__ ) |
Definition at line 558 of file compiler.h.
#define DBGCIO_MD5A | ( | ... | ) | DBGC_MD5A_IF ( IO, ##__VA_ARGS__ ) |
Definition at line 559 of file compiler.h.
#define DBGCIO_MD5 | ( | ... | ) | DBGC_MD5_IF ( IO, ##__VA_ARGS__ ) |
Definition at line 560 of file compiler.h.
#define DBGCIO_PAUSE | ( | ... | ) | DBGC_PAUSE_IF ( IO, ##__VA_ARGS__ ) |
Definition at line 561 of file compiler.h.
#define DBGCIO_MORE | ( | ... | ) | DBGC_MORE_IF ( IO, ##__VA_ARGS__ ) |
Definition at line 562 of file compiler.h.
void dbg_printf | ( | const char * | fmt, |
... | |||
) |
printf() for debugging
printf() for debugging
fmt | Format string |
... | Arguments |
Definition at line 38 of file debug.c.
References console_set_usage(), CONSOLE_USAGE_DEBUG, fmt, saved_usage, va_end, va_start, and vprintf().
Referenced by check_bios_interrupts(), dbg_autocolourise(), dbg_decolourise(), dbg_hex_dump_da_row(), dbg_more(), and dbg_pause().
void dbg_autocolourise | ( | unsigned long | stream | ) |
Select automatic colour for debug messages.
stream | Message stream ID |
Definition at line 196 of file debug.c.
References dbg_autocolour(), dbg_printf(), DBGCOL_MIN, and autocolour::stream.
void dbg_decolourise | ( | void | ) |
Revert to normal colour.
Definition at line 209 of file debug.c.
References dbg_printf(), and DBGCOL_MIN.
void dbg_hex_dump_da | ( | unsigned long | dispaddr, |
const void * | data, | ||
unsigned long | len | ||
) |
Print hex dump with specified display address.
dispaddr | Display address |
data | Data to print |
len | Length of data |
Definition at line 116 of file debug.c.
References data, dbg_hex_dump_da_row(), len, and offset.
void dbg_md5_da | ( | unsigned long | dispaddr, |
const void * | data, | ||
unsigned long | len | ||
) |
Print an MD5 checksum with specified display address.
dispaddr | Display address |
data | Data to checksum |
len | Length of data |
Definition at line 38 of file debug_md5.c.
References digest_algorithm::ctxsize, data, digest_final(), digest_init(), digest_update(), digest_algorithm::digestsize, len, md5_algorithm, and printf().
void dbg_pause | ( | void | ) |
Pause until a key is pressed.
Definition at line 58 of file debug.c.
References dbg_printf(), and getchar().
void dbg_more | ( | void | ) |
Indicate more data to follow and pause until a key is pressed.
Definition at line 68 of file debug.c.
References dbg_printf(), and getchar().
char __debug_disable | ( | OBJECT | ) |