[OpenBIOS] [PATCH] Introduce FMT_plx for phys_addr_t

Andreas Färber andreas.faerber at web.de
Sun Nov 7 18:58:45 CET 2010

Am 07.11.2010 um 18:39 schrieb Andreas Färber:

> Define a zero-padded format string to be used for phys_addr_t  
> arguments.
> Introduce PRIx{32,64} macros as needed.
> Cc: Mark Cave-Ayland <mark.cave-ayland at siriusit.co.uk>
> Cc: Blue Swirl <blauwirbel at gmail.com>
> Signed-off-by: Andreas Färber <andreas.faerber at web.de>
> ---

While at it, how would we format a uintptr_t? (thinking of escc)
Some places do an (unsigned long) cast and use %lx. Should we add some  
FMT_* instead?


More information about the OpenBIOS mailing list