zephyr/arch/arm/core/aarch32
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
..
cortex_a_r arch: arm: aarch32: Fix interrupt nesting 2021-01-26 06:17:15 -05:00
cortex_m arch: arm: Add initial support for Cortex-M55 Core 2021-03-23 13:13:32 -05:00
__aeabi_atexit.c arch: arm: Move ARM code to AArch32 sub-directory 2019-12-20 11:40:59 -05:00
CMakeLists.txt arm: cortex_r: add support for thread local storage 2020-10-24 10:52:00 -07:00
cpu_idle.S arch: arm: aarch32: correct documentation of arch_cpu_atomic_idle 2020-03-20 11:53:14 +01:00
fatal.c arm: cortex_m: log EXC_RETURN value in fatal.c 2021-02-02 17:58:58 -05:00
irq_manage.c power: move z_pm_save_idle_exit prototype to power.h 2020-12-09 15:18:29 -05:00
irq_offload.c arch: Apply IRQ offload API change 2020-09-02 13:48:13 +02:00
irq_relay.S arch: arm: Export vector table symbols with GDATA instead of GTEXT 2020-07-24 12:04:28 +02:00
isr_wrapper.S arch: arm: aarch32: Fix interrupt nesting 2021-01-26 06:17:15 -05:00
Kconfig arch: arm: cortex_m: implement functionality for ARCH core regs init 2020-11-02 15:02:24 +01:00
nmi_on_reset.S arch: arm: Move ARM code to AArch32 sub-directory 2019-12-20 11:40:59 -05:00
nmi.c arch: arm: aarch32: Fix incorrect z_arm_{int,exc}_exit usage 2020-04-20 18:22:46 +02:00
prep_c.c arm: cortex_m: fix vector table relocation in non-XIP builds 2021-02-03 10:44:17 -05:00
swap_helper.S arch: arm: aarch32: Fix interrupt nesting 2021-01-26 06:17:15 -05:00
swap.c benchmarking: remove execution benchmarking code 2020-09-05 13:28:38 -05:00
thread.c kernel: arch: introduce k_float_enable() 2021-03-25 14:13:23 +01:00
userspace.S arch: arm: push ssf to thread privileged stack to complete stack frame 2020-11-12 17:12:38 -05:00
vector_table.ld debug: Clean up thread awareness data sections 2021-03-17 14:43:01 -05:00