zephyr/kernel
Peter Bigot f69a38162a kernel: atomic: consistently use named type for atomic pointer values
There's a typedef for non-pointer values compatible with atomic
non-pointer objects.  Add a similar typedef for pointer values, and
the corresponding macro for initializing atomic pointer types.

This also will simplify replacing the Zephyr atomic API with one
based on C11 atomics, should that be desirable.  C11 atomic pointer
values are not void*.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2021-04-19 15:22:13 +02:00
..
include aarch64: Remove useless _curr_cpu struct 2021-04-09 08:10:10 -04:00
paging kernel: enable using timing subsys to collect paging histograms 2021-04-06 16:43:55 -04:00
atomic_c.c kernel: atomic: consistently use named type for atomic pointer values 2021-04-19 15:22:13 +02:00
banner.c kernel: init: move banner handling 2020-11-27 20:08:14 -05:00
cache_handlers.c cache: Expand the APIs for cache flushing 2021-01-19 14:31:02 -05:00
CMakeLists.txt kernel: mmu: collect more demand paging statistics 2021-04-06 16:43:55 -04:00
compiler_stack_protect.c tests: coverage: exclude the CODE UNREACHABLE of code coverage 2021-01-15 12:42:00 -05:00
condvar.c kernel: fix race conditions with z_ready_thread 2021-03-03 13:54:47 -05:00
device.c x86: make tests of a value against zero should be made explicit 2021-04-01 05:34:17 -04:00
errno.c kernel: support using thread local storage for errno 2020-10-24 10:52:00 -07:00
fatal.c kernel: make tests of a value against zero should be made explicit 2021-04-01 05:34:17 -04:00
futex.c kernel: Fix 10.4 violations 2021-04-10 09:59:37 -04:00
idle.c clock: remove z_ from semi-public APIs 2021-03-19 11:22:17 -04:00
init.c timing: add kconfig CONFIG_TIMING_FUNCTIONS_NEED_AT_BOOT 2021-04-06 16:43:55 -04:00
Kconfig timing: add kconfig CONFIG_TIMING_FUNCTIONS_NEED_AT_BOOT 2021-04-06 16:43:55 -04:00
kheap.c clock: renmae z_timeout_end_calc -> sys_clock_timeout_end_calc 2021-03-19 11:22:17 -04:00
mailbox.c kernel/arch: cleanup function definitions 2021-04-01 05:34:17 -04:00
mem_domain.c kernel: Make both operands of operators of same essential type category 2021-04-01 05:34:17 -04:00
mem_slab.c mem_slab: move global lock to per slab lock 2021-04-14 14:20:19 -04:00
mempool.c kernel: make tests of a value against zero should be made explicit 2021-04-01 05:34:17 -04:00
mmu.c kernel: enable using timing subsys to collect paging histograms 2021-04-06 16:43:55 -04:00
msg_q.c kernel: Allow k_poll on message queues 2021-04-17 07:47:26 -04:00
mutex.c kernel: Cleanup logger setup in kernel files 2020-11-27 09:56:34 -05:00
pipes.c kernel: Make both operands of operators of same essential type category 2021-04-01 05:34:17 -04:00
poll.c kernel: Allow k_poll on message queues 2021-04-17 07:47:26 -04:00
queue.c kernel/queue: fix queue append/get race 2020-10-28 17:01:41 +01:00
sched.c kernel: make tests of a value against zero should be made explicit 2021-04-01 05:34:17 -04:00
sem.c kernel: sem: handle resets with outstanding waiting threads 2021-03-06 07:39:43 -05:00
smp.c kernel: smp: Remove unused internal API z_smp_reacquire_global_lock() 2021-03-14 18:32:26 -04:00
stack.c kernel: fix race conditions with z_ready_thread 2021-03-03 13:54:47 -05:00
system_work_q.c kernel: remove old work queue implementation 2021-03-03 20:06:00 -05:00
thread.c kernel: Fix 10.4 violations 2021-04-10 09:59:37 -04:00
timeout.c clock: renmae z_timeout_end_calc -> sys_clock_timeout_end_calc 2021-03-19 11:22:17 -04:00
timer.c kernel: timer: Fix incorrect behavior for timers with K_FOREVER period 2021-03-07 08:00:08 -05:00
userspace.c kernel: Make both operands of operators of same essential type category 2021-04-01 05:34:17 -04: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.c kernel: Make both operands of operators of same essential type category 2021-04-01 05:34:17 -04:00
xip.c linker: arm: Add cortex_m itcm section 2021-01-15 14:51:20 +01:00