59903e2934
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> |
||
---|---|---|
.. | ||
mpu | ||
offsets | ||
secureshield | ||
CMakeLists.txt | ||
arc_connect.c | ||
arc_smp.c | ||
cache.c | ||
cpu_idle.S | ||
fast_irq.S | ||
fatal.c | ||
fault.c | ||
fault_s.S | ||
irq_manage.c | ||
irq_offload.c | ||
isr_wrapper.S | ||
prep_c.c | ||
regular_irq.S | ||
reset.S | ||
switch.S | ||
thread.c | ||
thread_entry_wrapper.S | ||
timestamp.c | ||
tls.c | ||
userspace.S | ||
vector_table.c | ||
vector_table.ld |