svn commit: r195869 - projects/ppc64/sys/powerpc/include

Marcel Moolenaar xcllnt at mac.com
Sat Jul 25 20:02:13 UTC 2009


On Jul 25, 2009, at 7:33 AM, Nathan Whitehorn wrote:

> Author: nwhitehorn
> Date: Sat Jul 25 14:33:21 2009
> New Revision: 195869
> URL: http://svn.freebsd.org/changeset/base/195869
>
> Log:
>  Add some #ifdefs to powerpc _types to set LP64 types if we are  
> compiling
>  for 64-bit PowerPC. The goal here is to share machine/*.h completely
>  between powerpc and powerpc64.

One way to avoid a few ifdefs is to define __register_t to
be __uint32_t for ILP32 and __uint64_t for LP64. Then use
__register_t for things like __critical_t, __uintptr_t, etc.

Just a thought,

-- 
Marcel Moolenaar
xcllnt at mac.com





More information about the svn-src-projects mailing list