Now
MAIN commitmail json YAML
src/sys/arch/aarch64/aarch64/fpu.c@1.12
/
diff
/
nxr@1.12
src/sys/arch/arm/vfp/vfp_init.c@1.77 / diff / nxr@1.77
src/sys/arch/x86/x86/cpu.c@1.203 / diff / nxr@1.203
src/sys/arch/x86/x86/fpu.c@1.77 / diff / nxr@1.77
src/sys/arch/arm/vfp/vfp_init.c@1.77 / diff / nxr@1.77
src/sys/arch/x86/x86/cpu.c@1.203 / diff / nxr@1.203
src/sys/arch/x86/x86/fpu.c@1.77 / diff / nxr@1.77
x86, arm: Allow fpu_kern_enter/leave while cold.
Normally these are forbidden above IPL_VM, so that FPU usage doesn't
block IPL_SCHED or IPL_HIGH interrupts. But while cold, e.g. during
builtin module initialization at boot, all interrupts are blocked
anyway so it's a moot point.
Also initialize x86 cpu_info_primary.ci_kfpu_spl to -1 so we don't
trip over an assertion about it while cold -- the assertion is meant
to detect reentrance into fpu_kern_enter/leave, which is prohibited.
Also initialize cpu0's ci_kfpu_spl.
Normally these are forbidden above IPL_VM, so that FPU usage doesn't
block IPL_SCHED or IPL_HIGH interrupts. But while cold, e.g. during
builtin module initialization at boot, all interrupts are blocked
anyway so it's a moot point.
Also initialize x86 cpu_info_primary.ci_kfpu_spl to -1 so we don't
trip over an assertion about it while cold -- the assertion is meant
to detect reentrance into fpu_kern_enter/leave, which is prohibited.
Also initialize cpu0's ci_kfpu_spl.