Now
MAIN commitmail json YAML
src/sys/arch/alpha/include/alpha.h@1.32
/
diff
/
nxr@1.32
src/sys/arch/arm/vfp/vfp_init.c@1.24 / diff / nxr@1.24
src/sys/arch/mips/mips/mips_dsp.c@1.3 / diff / nxr@1.3
src/sys/arch/mips/mips/mips_fpu.c@1.11 / diff / nxr@1.11
src/sys/arch/powerpc/include/altivec.h@1.16 / diff / nxr@1.16
src/sys/arch/powerpc/include/fpu.h@1.20 / diff / nxr@1.20
src/sys/arch/powerpc/oea/altivec.c@1.27 / diff / nxr@1.27
src/sys/arch/powerpc/powerpc/fpu.c@1.33 / diff / nxr@1.33
src/sys/kern/kern_cpu.c@1.60 / diff / nxr@1.60
src/sys/kern/subr_pcu.c@1.15 / diff / nxr@1.15
src/sys/sys/pcu.h@1.11 / diff / nxr@1.11
src/sys/arch/arm/vfp/vfp_init.c@1.24 / diff / nxr@1.24
src/sys/arch/mips/mips/mips_dsp.c@1.3 / diff / nxr@1.3
src/sys/arch/mips/mips/mips_fpu.c@1.11 / diff / nxr@1.11
src/sys/arch/powerpc/include/altivec.h@1.16 / diff / nxr@1.16
src/sys/arch/powerpc/include/fpu.h@1.20 / diff / nxr@1.20
src/sys/arch/powerpc/oea/altivec.c@1.27 / diff / nxr@1.27
src/sys/arch/powerpc/powerpc/fpu.c@1.33 / diff / nxr@1.33
src/sys/kern/kern_cpu.c@1.60 / diff / nxr@1.60
src/sys/kern/subr_pcu.c@1.15 / diff / nxr@1.15
src/sys/sys/pcu.h@1.11 / diff / nxr@1.11
-extend the pcu(9) API by a function which saves all context on the
current CPU, and use it if a CPU is taken offline
-add a bool argument to pcu_discard which tells whether the internal
"LWP has used the coprocessor" flag should be set or reset. The flag
is reported by pcu_used_p(). If set, future accesses should use the
state stored in the PCB. If reset, it should be reset to default.
The former case is useful for setmcontext().
With that, it should not be necessary anymore to manage the "FPU used"
state by an additional MD variable.
approved by matt
current CPU, and use it if a CPU is taken offline
-add a bool argument to pcu_discard which tells whether the internal
"LWP has used the coprocessor" flag should be set or reset. The flag
is reported by pcu_used_p(). If set, future accesses should use the
state stored in the PCB. If reset, it should be reset to default.
The former case is useful for setmcontext().
With that, it should not be necessary anymore to manage the "FPU used"
state by an additional MD variable.
approved by matt