Subject: Re: PTRTOINT64() / INT64TOPTR()
To: Bill Studenmund <wrstuden@netbsd.org>
From: Jason Thorpe <thorpej@wasabisystems.com>
List: tech-kern
Date: 02/18/2004 10:46:01
--Apple-Mail-4-38513460
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset=US-ASCII; format=flowed
On Feb 18, 2004, at 10:36 AM, Bill Studenmund wrote:
> I'm not sure why we use uint64_t. It could predate uintptr_t. What does
> cvs blame say?
We use uint64_t there because it's the largest pointer size of any
platform we support. This means that a 32-bit sysctl running on a
sparc64 system (for example) will work properly.
Jason Thorpe
'76 Westfalia ('Pod')
San Francisco, CA
http://www.shagadelic.org/pod/
--Apple-Mail-4-38513460
content-type: application/pgp-signature; x-mac-type=70674453;
name=PGP.sig
content-description: This is a digitally signed message part
content-disposition: inline; filename=PGP.sig
content-transfer-encoding: 7bit
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (Darwin)
iD8DBQFAM7LpOpVKkaBm8XkRAp6fAKCNM9AY0MKBu4PJF5dL+2CxWwpPsQCffQV4
evV5LJY/ms9efmF/ZvqkUwY=
=kjFc
-----END PGP SIGNATURE-----
--Apple-Mail-4-38513460--