Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 9 Jul 2008 18:00:45 -0700
From:      "David Christensen" <davidch@broadcom.com>
To:        "freebsd-current@freebsd.org" <freebsd-current@freebsd.org>
Subject:   Proper Printf Format for Printing Physical Addresses on 32 and 64 bit Systems
Message-ID:  <5D267A3F22FD854F8F48B3D2B52381932677CC83F1@IRVEXCHCCR01.corp.ad.broadcom.com>

next in thread | raw e-mail | index | archive | help
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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5D267A3F22FD854F8F48B3D2B52381932677CC83F1>