Subject: Re: CVS commit: src/sys
To: matthew green <mrg@eterna.com.au>
From: Quentin Garnier <cube@cubidou.net>
List: source-changes
Date: 07/05/2005 09:02:38
--KCXyoJ//PRyfzsc9
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Jul 05, 2005 at 01:49:46PM +1000, matthew green wrote:
>=20
>   =20
>    Module Name:	src
>    Committed By:	cube
>    Date:		Sun Jul  3 16:53:46 UTC 2005
>   =20
>    Modified Files:
>    	src/sys/arch/amd64/amd64: netbsd32_machdep.c
>    	src/sys/arch/sh5/sh5: netbsd32_machdep.c
>    	src/sys/arch/sparc64/sparc64: netbsd32_machdep.c
>    	src/sys/compat/netbsd32: netbsd32_sysctl.c
>   =20
>    Log Message:
>    Make COMPAT_NETBSD32 emulate hw.machine.  While it might seem wrong to=
 do
>    so, it introduces breakage because a lot of applications make assumpti=
ons
>    from its value.  It's especially bad in the sparc64 case, where 64-bits
>    instructions can be used in 32-bits addressing mode.  However, there a=
re
>    other means to know the capabilities of the CPU.
>=20
>=20
> 32 bit sparc64 kernels should mirror this change.

The correct way to so that is changine MACHINE definition in
arch/sparc64/include/param.h, right?

--=20
Quentin Garnier - cube@cubidou.net - cube@NetBSD.org
"When I find the controls, I'll go where I like, I'll know where I want
to be, but maybe for now I'll stay right here on a silent sea."
KT Tunstall, Silent Sea, Eye to the Telescope, 2004.

--KCXyoJ//PRyfzsc9
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (NetBSD)

iQEVAwUBQsowjtgoQloHrPnoAQIJkgf/RwTa5gBhlfhvuQwed/95EHw3tiXdkUy3
LIjzmmoSABULcSLUSjNzqYeveKucHuSct+Ht6Av55HChlfY8mT2XbFAwQPOluLFU
BdBw3NxoLaLH3XOTbeBj0HuNXKKHOA4E8A0uLl+0ydVz5KhPwckIWqtakI5CtbD1
vqpf0o56w9i/XkR2Abpqqj/2fp34uQuclEuQjKjDp9/oxtocWCsWP5Tao2wYxsnp
rl3vRbFDNMjE6sa20UFLrm7VB49OqAefx6Z6ItCl6YjvJ6dK/1VFofeyiD40coXj
hzjcdmnkzVldf7WYdknrpO4qG+ufWRZIx20yTmJPKDgRRvxpOie67w==
=rzdk
-----END PGP SIGNATURE-----

--KCXyoJ//PRyfzsc9--