Subject: Re: PTRTOINT64() / INT64TOPTR()
To: Christos Zoulas <christos@zoulas.com>
From: Andrew Brown <atatat@atatdot.net>
List: tech-kern
Date: 02/18/2004 23:38:15
>>i also find it vaguely curious that there's no INT64TOPTR() macro
>>anywhere...
ah. found where i got this idea from. hee!
>I don't think this is implementable in ILP32 machines. How are you
>planning to fit 64 bits in a 32 bit pointer? Zip it? Use more than
>one pointer? Trash memory? :-)
truncate and hope for the best. mostly it'll work. those cases where
it doesn't are clearly problems for people running 32 bit apps on 64
kernels, but i don't think there *is* a right answer for those people.
in those cases.
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
werdna@squooshy.com * "information is power -- share the wealth."