Date: Fri, 26 Nov 2010 14:50:42 +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: <201011261451.oAQEpMlC043020@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
kib 2010-11-26 14:50:42 UTC
FreeBSD src repository
Modified files:
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 215865 on 2010-11-26 14:50:42Z by kib
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. This eliminates the need for ugly copying with
overwrite of the newly added and reserved fields in ucontext on i386
to satisfy alignment requirements for fpusave() and fpurstor().
pc98 version was copied from i386.
Suggested and reviewed by: bde
Tested by: pho (i386 and amd64)
MFC after: 1 week
Revision Changes Path
1.176 +18 -51 src/sys/amd64/amd64/fpu.c
1.729 +7 -3 src/sys/amd64/amd64/machdep.c
1.8 +10 -4 src/sys/amd64/ia32/ia32_reg.c
1.32 +4 -3 src/sys/amd64/ia32/ia32_signal.c
1.37 +2 -3 src/sys/amd64/include/fpu.h
1.713 +24 -75 src/sys/i386/i386/machdep.c
1.36 +2 -3 src/sys/i386/include/npx.h
1.191 +22 -72 src/sys/i386/isa/npx.c
1.432 +26 -77 src/sys/pc98/pc98/machdep.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201011261451.oAQEpMlC043020>
