zephyr/arch/x86
Katsuhiro Suzuki 59903e2934 kernel: arch: introduce k_float_enable()
This patch introduce new API to enable FPU of thread. This is pair of
existed k_float_disable() API. And also add empty arch_float_enable()
into each architectures that have arch_float_disable(). The arc and
riscv already implemented arch_float_enable() so I do not touch
these implementations.

Motivation: Current Zephyr implementation does not allow to use FPU
on main and other system threads like as work queue. Users need to
create an other thread with K_FP_REGS for floating point programs.
Users can use FPU more easily if they can enable FPU on running
threads.

Signed-off-by: Katsuhiro Suzuki <katsuhiro@katsuster.net>
2021-03-25 14:13:23 +01:00
..
core kernel: arch: introduce k_float_enable() 2021-03-25 14:13:23 +01:00
include x86: 32-bit: restore virtual linking capability 2021-03-16 15:03:44 -04:00
zefi license: add missing SPDX headers 2021-02-11 08:05:16 -05:00
CMakeLists.txt timing: add support for x86 2020-09-05 13:28:38 -05:00
gen_gdt.py x86: ia32: load GDT in virtual memory after loading page table 2021-03-16 15:03:44 -04:00
gen_idt.py x86: gen_idt.py: typo fix 2020-05-21 14:44:33 +02:00
gen_mmu.py x86: gen_mmu: unify size display in hex 2021-03-16 15:03:44 -04:00
ia32.cmake x86: add kconfigs and compiler flags for MMX and SSE* 2021-02-15 08:21:15 -05:00
intel64.cmake x86: add kconfigs and compiler flags for MMX and SSE* 2021-02-15 08:21:15 -05:00
Kconfig x86: remove CONFIG_CPU_MINUTEIA 2021-03-11 06:37:02 -05:00
timing.c x86: use TSC for timing information 2021-01-22 11:05:30 -05:00