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
a32579749b
zephyr
/
tests
/
kernel
/
test_ipm
/
prj.conf
5 lines
96 B
Plaintext
Raw
Normal View
History
Unescape
Escape
IPI console driver with test case This introduces a generic driver set for console messages routed over inter-processor interrupt (IPI) channels. These drivers bind to a low-level IPI driver instance for the actual transport of messages. ipi_console_sender installs printk and/or stdout hooks to forward messages over IPI. There is currently no buffering on the sending side. ipi_console_receiver installs an IPI callback which stashes incoming characters into a ring buffer, which is monitored by a nanokernel fiber. The fiber buffers the characters on a per-line basis and sends them to either printk or stdout. Multiple instances of this driver may be created in case you need to receive console data from multiple CPUs. Change-Id: Icebc110794fbe040f975101cd2ae6e78fb38645a Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2015-09-11 04:26:27 +08:00
CONFIG_CONSOLE=y
ipi: rename to ipm To many people, IPI connotes inter-processor interrupts on SMP systems. Rename this to IPM, or Inter-Processor Mailboxes. Change-Id: I032815e23c69a8297c0a43992132441c240fb71e Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2015-11-13 06:00:47 +08:00
CONFIG_IPM_CONSOLE_RECEIVER=y
CONFIG_IPM_CONSOLE_SENDER=y
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