This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
555c60631a
zephyr
/
tests
/
legacy
/
kernel
/
test_sema_priv
/
prj.conf
3 lines
44 B
Plaintext
Raw
Normal View
History
Unescape
Escape
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>
2015-11-18 06:08:45 +08:00
CONFIG_IRQ_OFFLOAD=y
kernel: add LEGACY_KERNEL option Add global option for legacy configurations and enable by default for backward compatibility. Disable option on tests and keep it on legacy samples and tests. Jira: ZEP-964 Change-Id: I0831e2aa74d438b1ac74eb762186cb220a504beb Signed-off-by: Anas Nashif <anas.nashif@intel.com>
2017-01-07 21:43:32 +08:00
CONFIG_LEGACY_KERNEL=y