zephyr/kernel
Enjia Mai 00d7f2cfb6 kernel: thread: make offload_sem visible for releasing it outside
In order to release irq_offload semaphore outside kernel/thread.c, we
make it visible by modifying it non-static under ztest. This would be
needed such as when call irq_offload() to enter interrupt context and
a fatal error happened, then you have to release it in your fatal
handler, or the irq_offload will still be locked and no longer be
using again.

Signed-off-by: Enjia Mai <enjiax.mai@intel.com>
2020-12-09 21:52:09 -05:00
..
include power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
CMakeLists.txt kernel: Make the "heap" backend to mem_pool default 2020-12-07 21:50:14 -05:00
Kconfig power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
atomic_c.c
banner.c kernel: init: move banner handling 2020-11-27 20:08:14 -05:00
cache_handlers.c syscalls: Add system call for cache flush & invalidate 2020-08-04 17:26:45 -04:00
compiler_stack_protect.c
device.c power: standarize PM Kconfigs and cleanup 2020-12-09 15:18:29 -05:00
errno.c kernel: support using thread local storage for errno 2020-10-24 10:52:00 -07:00
fatal.c kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
futex.c
idle.c power: cleanup kernel idle and power hooks 2020-12-09 15:18:29 -05:00
init.c Revert "kernel: fix usage of KERNEL_COHERENCE macro" 2020-12-08 14:27:27 -05:00
kheap.c kernel: add k_heap_aligned_alloc 2020-12-08 13:21:26 -05:00
mailbox.c kernel: Remove legacy mem_pool usage 2020-12-07 21:50:14 -05:00
mem_domain.c kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
mem_slab.c kernel: mem_slab: Optimize mem_slab_free 2020-12-07 11:36:48 +01:00
mempool.c kernel: Remove z_mem_pool wrapper internals 2020-12-07 21:50:14 -05:00
mmu.c kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
msg_q.c doc: Clarify semantics of k_msgq_put 2020-09-23 13:21:07 -05:00
mutex.c kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
pipes.c kernel: Remove legacy mem_pool usage 2020-12-07 21:50:14 -05:00
poll.c kernel: Rename struct _poller 2020-11-11 10:59:52 -05:00
queue.c kernel/queue: fix queue append/get race 2020-10-28 17:01:41 +01:00
sched.c Revert "kernel: fix usage of KERNEL_COHERENCE macro" 2020-12-08 14:27:27 -05:00
sem.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
smp.c kernel: smp: avoid identifier collisions 2020-07-25 21:26:15 -04:00
stack.c kernel: stack: fix stack_push spinlock and return 2020-10-07 17:10:36 -04:00
system_work_q.c device: Const-ify all device driver instance pointers 2020-09-02 13:48:13 +02:00
thread.c kernel: thread: make offload_sem visible for releasing it outside 2020-12-09 21:52:09 -05:00
thread_abort.c kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
timeout.c Revert "kernel: fix usage of KERNEL_COHERENCE macro" 2020-12-08 14:27:27 -05:00
timer.c kernel: timer: update k_timer API for const correctness 2020-10-02 11:29:14 +02:00
userspace.c kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
userspace_handler.c userspace: update k_object API to support immutable objects 2020-09-02 13:48:13 +02:00
version.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
work_q.c kernel: Add K_DELAYED_WORK_DEFINE 2020-11-27 20:08:30 -05:00
xip.c kernel: move xip code to dedicated file 2020-11-27 20:08:14 -05:00