From owner-cvs-src-old@FreeBSD.ORG Fri Dec 3 22:07:33 2010 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 24666106564A for ; Fri, 3 Dec 2010 22:07:33 +0000 (UTC) (envelope-from kib@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 0EE5B8FC1B for ; Fri, 3 Dec 2010 22:07:33 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.4/8.14.4) with ESMTP id oB3M7WnF093497 for ; Fri, 3 Dec 2010 22:07:32 GMT (envelope-from kib@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.4/8.14.4/Submit) id oB3M7WxF093496 for cvs-src-old@freebsd.org; Fri, 3 Dec 2010 22:07:32 GMT (envelope-from kib@repoman.freebsd.org) Message-Id: <201012032207.oB3M7WxF093496@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to kib@repoman.freebsd.org using -f From: Konstantin Belousov Date: Fri, 3 Dec 2010 22:07:07 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: RELENG_8 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 X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Dec 2010 22:07:33 -0000 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