Date: Thu, 22 Jul 2010 09:13:49 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 identcpu.c src/sys/amd64/include param.h src/sys/ia64/include param.h src/sys/kern kern_mib.c src/sys/powerpc/include param.h Message-ID: <201007220914.o6M9Edfv027111@repoman.freebsd.org>
index | next in thread | raw e-mail
kib 2010-07-22 09:13:49 UTC
FreeBSD src repository
Modified files:
sys/amd64/amd64 identcpu.c
sys/amd64/include param.h
sys/ia64/include param.h
sys/kern kern_mib.c
sys/powerpc/include param.h
Log:
SVN rev 210369 on 2010-07-22 09:13:49Z by kib
When compat32 binary asks for the value of hw.machine_arch, report the
name of 32bit sibling architecture instead of the host one. Do the
same for hw.machine on amd64.
Add a safety belt debug.adaptive_machine_arch sysctl, to turn the
substitution off.
Reviewed by: jhb, nwhitehorn
MFC after: 2 weeks
Revision Changes Path
1.182 +24 -2 src/sys/amd64/amd64/identcpu.c
1.35 +3 -0 src/sys/amd64/include/param.h
1.35 +3 -0 src/sys/ia64/include/param.h
1.103 +25 -3 src/sys/kern/kern_mib.c
1.26 +5 -0 src/sys/powerpc/include/param.h
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201007220914.o6M9Edfv027111>
