Date: Sat, 8 Jan 2011 18:00:19 +0000 (UTC) From: Tijl Coosemans <tijl@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/mips/include _inttypes.h src/sys/powerpc/include _inttypes.h Message-ID: <201101081800.p08I0gse052564@repoman.freebsd.org>
index | next in thread | raw e-mail
tijl 2011-01-08 18:00:19 UTC
FreeBSD src repository
Modified files:
sys/mips/include _inttypes.h
sys/powerpc/include _inttypes.h
Log:
SVN rev 217155 on 2011-01-08 18:00:19Z by tijl
Rename PRIreg helper macro to PRIptr to better reflect its use. Registers
and pointers don't always have the same size, e.g. the __mips_n32 ABI
(ILP32) has 64 bit registers but 32 bit pointers.
On mips introduce PRIptr to fix the format specifier for (u)intptr_t.
Prefix PRI64 and PRIptr with underscores because macro names starting with
PRI[a-zX] are reserved for future use.
Approved by: kib (mentor)
Revision Changes Path
1.5 +48 -46 src/sys/mips/include/_inttypes.h
1.6 +48 -48 src/sys/powerpc/include/_inttypes.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201101081800.p08I0gse052564>
