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@siriusit.co.uk Cc: Blue Swirl blauwirbel@gmail.com Signed-off-by: Andreas Färber andreas.faerber@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?
Andreas