zephyr/include
Andrew Boie e09a0255da kernel: sychronize irq_offload() access
Entering irq_offload() on multiple CPUs can cause
difficult to debug/reproduce crashes. Demote irq_offload()
to non-inline (it never needed to be inline anyway) and
wrap the arch call in a semaphore.

Some tests which were unnecessarily killing threads
have been fixed; these threads exit by themselves anyway
and we won't leave the semaphore dangling.

The definition of z_arch_irq_offload() moved to
arch_interface.h as it only gets called by kernel C code.

Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
2019-11-08 15:16:43 -08:00
..
app_memory
arch arch: x86: Inline direct ISR functions. 2019-11-08 15:50:23 +01:00
audio
bluetooth bluetooth: host: add ability to load CCC settings on demand 2019-11-08 21:29:23 +02:00
cmsis_rtos_v1
cmsis_rtos_v2
console console: Remove deprecated function console_register_line_input 2019-09-18 19:14:25 -05:00
crypto
data doc: json: improve example documentation 2019-11-08 09:39:16 -05:00
debug debug: tracing: Remove unneeded abstraction 2019-09-26 06:26:22 -04:00
dfu include/dfu: rearrange for standard use of extern "C" in private headers 2019-08-13 18:00:31 +02:00
disk sdhc: rename disk_access_sdhc.c 2019-07-10 11:58:15 -05:00
display subsys/cfb: improve font structure packing 2019-07-31 05:43:50 -04:00
drivers drivers: eeprom: add API for EEPROM devices 2019-11-07 16:32:15 -05:00
dt-bindings dt-bindings: add support for parsing stm32 dma consumer cells 2019-11-06 14:14:39 +01:00
fs doc: fix misspelling in API doxygen comments 2019-10-29 06:00:14 +01:00
linker x86: consolidate x86_64 architecture, SoC and boards 2019-10-25 17:57:55 -04:00
logging logging: add syst format output 2019-10-29 10:18:51 +01:00
mgmt
misc cleanup: include/: move misc/reboot.h to power/reboot.h 2019-06-27 22:55:49 -04:00
net net: tcp: Handle special case where accepted socket is closed 2019-10-28 13:58:59 +02:00
nvs
posix include: posix: time.h: Make CLOCK_REALTIME, etc. compatible with Newlib 2019-10-28 13:04:35 +02:00
power cleanup: include/: move misc/reboot.h to power/reboot.h 2019-06-27 22:55:49 -04:00
random subsys/random: Add cryptographically secure and bulk fill functions 2019-11-05 19:36:42 +01:00
settings doc: fix misspelling in API doxygen comments 2019-10-29 06:00:14 +01:00
shell doc: fix misspelling in API doxygen comments 2019-10-29 06:00:14 +01:00
stats
storage doc: fix flash_area_get_sectors doc 2019-10-25 16:40:12 -05:00
sys kernel: sychronize irq_offload() access 2019-11-08 15:16:43 -08:00
toolchain headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
usb driver: uart: make deprecation effective 2019-11-07 12:44:15 -06:00
zephyr riscv: make core code 64-bit compatible 2019-08-02 13:54:48 -07:00
adc.h
atomic.h
base64.h
cache.h
can.h
clock_control.h
console.h
counter.h
crc.h
device.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
disk_access.h
display.h
dma.h
entropy.h
exc_handle.h kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
fatal.h doc: fix misspelling in API doxygen comments 2019-10-29 06:00:14 +01:00
fcb.h
flash_map.h
flash.h
fs.h
generated_dts_board.h dts: Add new DTS/binding parser 2019-07-29 16:22:17 -04:00
gna.h
gpio.h
hwinfo.h
i2c.h
i2s.h
init.h
ipm.h
irq_nextlevel.h irq_nextlevel: add API to query if an IRQ line is enabled 2019-09-07 10:20:51 -04:00
irq_offload.h kernel: sychronize irq_offload() access 2019-11-08 15:16:43 -08:00
irq.h kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
json.h
kernel_includes.h headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
kernel_structs.h kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
kernel_version.h
kernel.h kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
led_strip.h
led.h
pinmux.h
power.h
ptp_clock.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
pwm.h
ring_buffer.h
sched_priq.h
sensor.h
shared_irq.h
spi.h
spinlock.h kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
stats.h
sw_isr_table.h include: rearrange for standard use of extern "C" in various headers 2019-08-13 18:00:31 +02:00
sys_clock.h kernel/sys_clock.h: Deprecate and convert uses of old conversions 2019-11-08 11:08:58 +01:00
sys_io.h
syscall_handler.h kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
syscall.h kernel: rename z_arch_ to arch_ 2019-11-07 15:21:46 -08:00
time_units.h tests/kernel/timer/timer_api: Add tests for the new conversion routines 2019-11-08 11:08:58 +01:00
timeout_q.h kernel: include: Fix warning when !CONFIG_SYS_CLOCK_EXISTS 2019-11-07 08:22:59 -05:00
toolchain.h toolchain: Fix for off-tree toolchains 2019-10-08 17:09:23 -04:00
tracing.h
tty.h
uart.h
wait_q.h headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
watchdog.h
zephyr.h