Proper Printf Format for Printing Physical Addresses on 32 and 64 bit Systems

From: David Christensen <davidch_at_broadcom.com>
Date: Wed, 9 Jul 2008 18:00:45 -0700
I have some debugging code in my network driver and I'd like
to print out the physical address of a memory block.  What's
the right way to use a printf() that works on both 32 and 64
bit platforms?

Dave
Received on Wed Jul 09 2008 - 23:14:40 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:32 UTC