Subject: re: CVS commit: src/sys
To: Quentin Garnier <cube@cubidou.net>
From: matthew green <mrg@eterna.com.au>
List: source-changes
Date: 07/06/2005 05:42:30
   
   On Tue, Jul 05, 2005 at 01:49:46PM +1000, matthew green wrote:
   > 
   >    
   >    Module Name:	src
   >    Committed By:	cube
   >    Date:		Sun Jul  3 16:53:46 UTC 2005
   >    
   >    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
   >    
   >    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 assumptions
   >    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 are
   >    other means to know the capabilities of the CPU.
   > 
   > 
   > 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?


that seems the right way, yeah.  (sigh)