Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src/sys/kern



Matt Thomas <matt%3am-software.com@localhost> wrote:

> > please make this code not conditional on COMPAT_NETBSD32, since
> > that can be an LKM.... 
> It should be conditional on _LP64.  (32 bit platforms don't need it.)

The problem is that _LP64 does not means netbsd32 capability. For
instance, alpha defines _LP64, but it is not able to run a 32 bit
binary. 

I have the feeling we lack a set of macro that tell what an arch could
do (ie: kernel could be built with compat_netbsd32), and not what is
built in the current kernel.

Something such as HAVE_COMPAT_NETBSD32? 

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost



Home | Main Index | Thread Index | Old Index