[LinuxBIOS] Convert hex to dec

Joseph Smith joe at smittys.pointclark.net
Sat Jul 7 00:59:32 CEST 2007


Quoting Stefan Reinauer <stepan at coresystems.de>:

> * 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
>

But that is the whole problem. I already says "print_debug_hex8". I  
want it to display decimal not hex.....


Thanks - Joe




More information about the coreboot mailing list