Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
Go to file
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
arch irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
configs quark_se_ss: rename platform and remove arc suffix 2016-02-05 20:24:54 -05:00
doc timer: Remove deprecated routines 2016-02-05 20:24:55 -05:00
drivers timer: Remove deprecated routines 2016-02-05 20:24:55 -05:00
include irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
kernel kernel: Replace nano/task_cycle_get_32() 2016-02-05 20:24:55 -05:00
lib stdio: Fix bug in fputs() 2016-02-05 20:24:44 -05:00
misc init: Implement fine-grained initialization policy 2016-02-05 20:24:54 -05:00
net kernel: Replace nano/task_cycle_get_32() 2016-02-05 20:24:55 -05:00
samples irq_offload: API to run a function in IRQ context 2016-02-05 20:24:55 -05:00
scripts quark_se_ss: rename platform and remove arc suffix 2016-02-05 20:24:54 -05:00
.checkpatch.conf checkpatch: ignore NETWORKING_BLOCK_COMMENT_STYLE 2016-02-05 20:24:36 -05:00
.gitattributes
.gitignore doc: Prevent accidental commit of Kconfig index file 2016-02-05 20:24:42 -05:00
.mailmap Update .mailmap 2016-02-05 20:24:37 -05:00
Kbuild build: use architecture definition from kconfig 2016-02-05 20:24:52 -05:00
Kconfig Change BSD-3 licenses to Apache 2 2016-02-05 20:24:29 -05:00
Kconfig.zephyr kconfig: define architecture as a kconfig variable 2016-02-05 20:24:52 -05:00
LICENSE add top level Apache 2.0 license file 2016-02-05 20:24:37 -05:00
Makefile build: set platform name without quotes and reuse everywhere 2016-02-05 20:24:54 -05:00
Makefile.inc build: use realpath instead of readlink -f 2016-02-05 20:24:54 -05:00
zephyr-env.sh Make zephyr-env.sh work when cd is aliased 2016-02-05 20:24:36 -05:00