[LinuxBIOS] Convert hex to dec
Stefan Reinauer
stepan at coresystems.de
Fri Jul 6 19:41:20 CEST 2007
* Joseph Smith <joe at smittys.pointclark.net> [070706 17:41]:
> #define PRINT_DEBUG_DEC(d)
>
> value=0xff; /* hexadecimal */
>
> print_debug("value in decimal is now ");
> PRINT_DEBUG_DEC(value);
> print_debug(" Is this working?\r\n");
Since it seems to be for debug only, you can also use
print_debug_hex8
print_debug_hex16
print_debug_hex32
Stefan
--
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.de • http://www.coresystems.de/
More information about the coreboot
mailing list