zephyr/samples/nanokernel/test
Andrew Boie bba9510319 irq_offload: API to run a function in IRQ context
Software interrupts or system calls aren't really appropriate for
zephyr, but we have an ongoing need in our test code to run a
function with arguments synchronously in interrupt context.

This patch introduces irq_offload() which allows us to do this without
separate initialization or having to manage fake IRQs in the
interrupt controller.

ARM assembly code contributed by Benjamin Walsh
<benjamin.walsh@windriver.com>

ARC is not yet implemented but will be in a subsequent patch.

irq_test_common.h has been removed and all test cases updated to
use the new API.

Change-Id: I9af99ed31b62bc7eb340e32cf65e3d11354d1ec7
Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2016-02-05 20:24:55 -05:00
..
test_arm_m3_irq_vector_table checkpatch: converting from __FUNCTION__ to __func__ 2016-02-05 20:24:33 -05:00
test_atomic build: set platform name without quotes and reuse everywhere 2016-02-05 20:24:54 -05:00
test_bluetooth quark_se: rename platform and remove x86 suffix 2016-02-05 20:24:54 -05:00
test_context irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
test_fifo irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
test_fp_sharing x86: collapse AUTOMATIC_FP_ENABLING into FP_SHARING 2016-02-05 20:24:20 -05:00
test_ipi irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
test_lifo irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
test_mem_safe test: add nanokernel mem_safe test 2016-02-05 20:24:42 -05:00
test_ring_buf use zephyr.h instead of microkernel/nanokernel.h 2016-02-05 20:24:35 -05:00
test_sema irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
test_stack irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
test_stackprot kernel: kconfig: remove CUSTOM_SECURTIY meta option 2016-02-05 20:24:20 -05:00
test_static_idt samples: disable exception debug for test_static_idt 2016-02-05 20:24:29 -05:00
test_timer samples: Replace nano_cycle_get_32() 2016-02-05 20:24:55 -05:00
test_xip arm: remove ENHANCED_SECURITY config from projects 2016-02-05 20:24:20 -05:00