Subject: CVS commit: src/sys
To: None <source-changes@NetBSD.org>
From: Quentin Garnier <cube@netbsd.org>
List: source-changes
Date: 07/03/2005 16:53:46
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.
To generate a diff of this commit:
cvs rdiff -r1.15 -r1.16 src/sys/arch/amd64/amd64/netbsd32_machdep.c
cvs rdiff -r1.8 -r1.9 src/sys/arch/sh5/sh5/netbsd32_machdep.c
cvs rdiff -r1.47 -r1.48 src/sys/arch/sparc64/sparc64/netbsd32_machdep.c
cvs rdiff -r1.17 -r1.18 src/sys/compat/netbsd32/netbsd32_sysctl.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.