Module Name: src Committed By: martin Date: Tue Oct 31 12:37:23 UTC 2017
Modified Files: src/sys/arch/arm/arm32: arm32_machdep.c src/sys/arch/arm/include: netbsd32_machdep.h proc.h src/sys/arch/mips/include: netbsd32_machdep.h src/sys/arch/mips/mips: netbsd32_machdep.c src/sys/compat/netbsd32: netbsd32_sysctl.c src/sys/kern: init_sysctl_base.c Log Message: Allow architectures to define a macro PROC_MACHINE_ARCH(P) and PROC_MACHINE_ARCH32(P) to override the value for sysctl hw.machine_arch (native and netbsd32 commpat resp.). Use these for arm and mips instead of the (not working, noisy, in case of arm) sysctl override and #ifdef __mips__ in architecture neutral code. To generate a diff of this commit: cvs rdiff -u -r1.114 -r1.115 src/sys/arch/arm/arm32/arm32_machdep.c cvs rdiff -u -r1.1 -r1.2 src/sys/arch/arm/include/netbsd32_machdep.h cvs rdiff -u -r1.17 -r1.18 src/sys/arch/arm/include/proc.h cvs rdiff -u -r1.4 -r1.5 src/sys/arch/mips/include/netbsd32_machdep.h cvs rdiff -u -r1.14 -r1.15 src/sys/arch/mips/mips/netbsd32_machdep.c cvs rdiff -u -r1.36 -r1.37 src/sys/compat/netbsd32/netbsd32_sysctl.c cvs rdiff -u -r1.7 -r1.8 src/sys/kern/init_sysctl_base.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.