kernel - Increase size of savefpu area in pcb for vkernel64
authorMatthew Dillon <dillon@apollo.backplane.com>
Mon, 4 Mar 2013 02:25:14 +0000 (18:25 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Mon, 4 Mar 2013 02:25:14 +0000 (18:25 -0800)
commitc7e46c4ad25b222ae8d2549fc113a5b853c99446
tree354f484dfba77aa2dd19bd0204a2e1c7976a9330
parent4c33c46d48d71db42a115aba79f4ea239b46c271
kernel - Increase size of savefpu area in pcb for vkernel64

* The vkernel64 uses bcopy.  The ucontext_t/mcontext_t reserves a 1024
  byte space for the fpu area, but the savefpu structure only reserves
  834 bytes.  Increase the savefpu structure appropriately.

* Did not effect real 64-bit kernels because they used machine instructions
  to save/restore the FP state and/or bcopy'd using the savefpu structure
  sdize instead of the size of the fpu area in the ucontext/mcontext
  structure.

* Fixes panics in vkernel64

Reported-by: tuxillo
sys/cpu/x86_64/include/npx.h
sys/cpu/x86_64/include/ucontext.h
sys/platform/pc64/include/pcb.h