Moves the arch_swap() declaration out of kernel_arch_interface.h and into the various architectures' kernel_arch_func.h. This permits the arch_swap() to be inlined on ARM, but extern'd on the other architectures that still implement arch_swap(). Inlining this function on ARM has shown at least a +5% performance boost according to the thread_metric benchmark on the disco_l475_iot1 board. Signed-off-by: Peter Mitsis <peter.mitsis@intel.com> |
||
|---|---|---|
| .. | ||
| cortex_a_r | ||
| cortex_m | ||
| mmu | ||
| mpu | ||
| offsets | ||
| __aeabi_atexit.c | ||
| CMakeLists.txt | ||
| elf.c | ||
| fatal.c | ||
| gdbstub.c | ||
| header.S | ||
| irq_offload.c | ||
| Kconfig | ||
| Kconfig.vfp | ||
| nmi_on_reset.S | ||
| nmi.c | ||
| swi_tables.ld | ||
| tls.c | ||
| userspace.S | ||
| vector_table.ld | ||
| zimage_header.ld | ||