cvs commit: src/sys/compat/freebsd32 syscalls.master

John Baldwin jhb at freebsd.org
Tue Mar 25 12:40:35 PDT 2008


On Tuesday 25 March 2008 03:34:48 pm John Baldwin wrote:
> jhb         2008-03-25 19:34:48 UTC
> 
>   FreeBSD src repository
> 
>   Modified files:
>     sys/compat/freebsd32 syscalls.master 
>   Log:
>   Add entries for the cpuset-related system calls.  The existing system
>   calls can be used on little endian systems.
>   
>   Pointy hat to:  jeff

For big-endian systems byte-swapping conversions are needed because longs are 
different sizes on 32-bit vs 64-bit.  If cpuset_t were changed to use an 
array of ints rather than array of longs this would not be necessary, at 
least with all of our current 64-bit archs (and including things like 64-bit 
arm, mips, and ppc AFAIK) as ints are always 32-bits.

-- 
John Baldwin


More information about the cvs-src mailing list