]> CyberLeo.Net >> Repos - FreeBSD/stable/10.git/commit
MFC 270850,271053,271192,271717:
authorjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 22 Sep 2014 20:34:36 +0000 (20:34 +0000)
committerjhb <jhb@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Mon, 22 Sep 2014 20:34:36 +0000 (20:34 +0000)
commit5e29fde8aa2bb3a5d74ebd51e57275406d18ff6c
tree9aca44b47e0ae8505d550d52451704b9bce3514e
parente1e1f412d7602bdaea524fdc42fd5abb216e299e
MFC 270850,271053,271192,271717:
Save and restore FPU state across suspend and resume on i386.
- Create a separate structure for per-CPU state saved across suspend and
  resume that is a superset of a pcb.
- Store the FPU state for suspend and resume in the new structure
  (for amd64, this moves it out of the PCB)
- On both i386 and amd64, all of the FPU suspend/resume handling is now
  done in C.

Approved by: re (hrs)

git-svn-id: svn://svn.freebsd.org/base/stable/10@271999 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
12 files changed:
sys/amd64/amd64/cpu_switch.S
sys/amd64/amd64/fpu.c
sys/amd64/amd64/genassym.c
sys/amd64/amd64/mp_machdep.c
sys/amd64/include/fpu.h
sys/amd64/include/pcb.h
sys/i386/i386/mp_machdep.c
sys/i386/i386/swtch.s
sys/i386/include/npx.h
sys/i386/include/pcb.h
sys/i386/isa/npx.c
sys/x86/acpica/acpi_wakeup.c