Date: Fri, 3 Dec 2010 22:07:07 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/amd64 fpu.c machdep.c src/sys/amd64/ia32 ia32_reg.c ia32_signal.c src/sys/amd64/include fpu.h src/sys/i386/i386 machdep.c src/sys/i386/include npx.h src/sys/i386/isa npx.c src/sys/pc98/pc98 machdep.c Message-ID: <201012032207.oB3M7WxF093496@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2010-12-03 22:07:07 UTC FreeBSD src repository Modified files: (Branch: RELENG_8) sys/amd64/amd64 fpu.c machdep.c sys/amd64/ia32 ia32_reg.c ia32_signal.c sys/amd64/include fpu.h sys/i386/i386 machdep.c sys/i386/include npx.h sys/i386/isa npx.c sys/pc98/pc98 machdep.c Log: SVN rev 216162 on 2010-12-03 22:07:07Z by kib MFC r209463: Fix bugs on pc98, use npxgetuserregs() instead of npxgetregs() for get_fpcontext(), and npxsetuserregs() for set_fpcontext). Also, note that usercontext is not initialized anymore in fpstate_drop(). Systematically replace references to npxgetregs() and npxsetregs() by npxgetuserregs() and npxsetuserregs() in comments. MFC r215865: Remove npxgetregs(), npxsetregs(), fpugetregs() and fpusetregs() functions, they are unused. Remove 'user' from npxgetuserregs() etc. names. For {npx,fpu}{get,set}regs(), always use pcb->pcb_user_save for FPU context storage. MFC r216012: Calling fill_fpregs() for curthread is legitimate, and ELF coredump does this. Approved by: re (bz) Revision Changes Path 1.165.2.3 +18 -51 src/sys/amd64/amd64/fpu.c 1.707.2.11 +10 -5 src/sys/amd64/amd64/machdep.c 1.5.2.4 +10 -4 src/sys/amd64/ia32/ia32_reg.c 1.23.2.7 +4 -3 src/sys/amd64/ia32/ia32_signal.c 1.35.2.3 +2 -3 src/sys/amd64/include/fpu.h 1.688.2.14 +22 -76 src/sys/i386/i386/machdep.c 1.33.2.3 +2 -3 src/sys/i386/include/npx.h 1.180.2.3 +22 -72 src/sys/i386/isa/npx.c 1.412.2.12 +25 -79 src/sys/pc98/pc98/machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201012032207.oB3M7WxF093496>