zephyr/samples/microkernel/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_aes sanity: run sha256 on select platforms only 2016-02-05 20:24:28 -05:00
test_bluetooth Bluetooth: Kconfig: Change topmost option 2016-02-05 20:24:47 -05:00
test_cbc samples: remove duplicate crypto test code 2016-02-05 20:24:19 -05:00
test_critical samples: Replace task_tick_xxx APIs with sys_tick_xxx APIs 2016-02-05 20:24:53 -05:00
test_ctr samples: remove duplicate crypto test code 2016-02-05 20:24:19 -05:00
test_events irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
test_fifo Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
test_fifo_priv CONFIG_DRV_RANDOM is obsolete 2016-02-05 20:15:35 -05:00
test_fp_sharing samples: Replace task_tick_xxx APIs with sys_tick_xxx APIs 2016-02-05 20:24:53 -05:00
test_hmac samples: remove duplicate crypto test code 2016-02-05 20:24:19 -05:00
test_libs use zephyr.h instead of microkernel/nanokernel.h 2016-02-05 20:24:35 -05:00
test_mail use zephyr.h instead of microkernel/nanokernel.h 2016-02-05 20:24:35 -05:00
test_mail_priv CONFIG_DRV_RANDOM is obsolete 2016-02-05 20:15:35 -05:00
test_map Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
test_map_priv CONFIG_DRV_RANDOM is obsolete 2016-02-05 20:15:35 -05:00
test_mutex Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
test_pipe use zephyr.h instead of microkernel/nanokernel.h 2016-02-05 20:24:35 -05:00
test_pipe_priv CONFIG_DRV_RANDOM is obsolete 2016-02-05 20:15:35 -05:00
test_pool use zephyr.h instead of microkernel/nanokernel.h 2016-02-05 20:24:35 -05:00
test_prng quark_se: rename platform and remove x86 suffix 2016-02-05 20:24:54 -05:00
test_rand32 Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
test_sema irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
test_sema_priv irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
test_sha256 sanity: run sha256 on select platforms only 2016-02-05 20:24:28 -05:00
test_sprintf sanity: exclude Minute IA platforms from float tests 2016-02-05 20:24:43 -05:00
test_stackprot Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
test_static_idt kconfig: define architecture as a kconfig variable 2016-02-05 20:24:52 -05:00
test_task irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
test_task_irq kconfig: define architecture as a kconfig variable 2016-02-05 20:24:52 -05:00
test_task_priv irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
test_tickless samples: Replace task_tick_xxx APIs with sys_tick_xxx APIs 2016-02-05 20:24:53 -05:00
test_timer samples: Replace task_tick_xxx APIs with sys_tick_xxx APIs 2016-02-05 20:24:53 -05:00
test_xip use zephyr.h instead of microkernel/nanokernel.h 2016-02-05 20:24:35 -05:00