freebsd32_ioctl.c
Nathan Whitehorn
nwhitehorn at freebsd.org
Thu Oct 7 17:52:36 UTC 2010
On 10/07/10 12:02, mdf at FreeBSD.org wrote:
>>> Should we
>>> just be adding ioctl argument munging as we go along and not worry
>>> about the size? Or is there simple way to keep the munging inside the
>>> driver? Perhaps my making the driver's ioctl look something like:
>>>
>> I think that in-driver variant is the best.
>>
> Okay, I am trying this approach.
>
>
>> if (SV_CURPROC_FLAG(SV_ILP32))
>>
> That's what I get for doing development on stable/7. I miss out on
> the existence of such handy things.
>
Also bear in mind that freebsd32 is also used on powerpc64 to run 32-bit
ppc binaries, so testing for IA32 probably isn't what you want, anyway.
-Nathan
More information about the freebsd-arch
mailing list