[LinuxBIOS] Convert hex to dec

Stefan Reinauer stepan at coresystems.de
Fri Jul 6 19:39:46 CEST 2007


* Peter Stuge <peter at stuge.se> [070706 16:28]:
> On Wed, Jul 04, 2007 at 04:36:57PM -0400, Joseph Smith wrote:
> > > printf("value in hexadecimal is now %x\n",value);
> > 
> > Ok so how would I go about doing this is print_debug than?
> 
> Sorry.
> 
> print_debug() in v2 doesn't support variable number of arguments
> (varargs) but maybe you could backport printk() from v3 lib/console.c ?

There are already 6 printk/f variants in v2. So one could assume this
has been tried 5 times already ;)

-- 
coresystems GmbH • Brahmsstr. 16 • D-79104 Freiburg i. Br.
      Tel.: +49 761 7668825 • Fax: +49 761 7664613
Email: info at coresystems.dehttp://www.coresystems.de/




More information about the coreboot mailing list