zephyr/kernel
Peter Bigot 219a3ca96d device: provide internal access to static device array
Device objects in Zephyr are currently placed into an array by linker
scripts, making it easy to iterate over all devices if the array
address and size can be obtained.  This has applications in device
power management, but the existing API for this was available only
when that feature was enabled.  It also uses a signed type to hold the
device count.

Provide a new API that is generally available, but marked as internal
since normally applications should not iterate over all devices.  Mark
the PM API approach deprecated.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2020-06-23 13:27:14 +02:00
..
include kernel: document arch_printk_char_out() 2020-06-17 09:20:55 +02:00
atomic_c.c kernel: Add k_heap synchronized memory allocator 2020-04-14 10:05:55 -07:00
CMakeLists.txt kernel: Add k_mem_pool compatibility layer on top of k_heap 2020-04-14 10:05:55 -07:00
compiler_stack_protect.c
device.c device: provide internal access to static device array 2020-06-23 13:27:14 +02:00
errno.c headers: Refactor kernel and arch headers. 2019-11-06 16:07:32 -08:00
fatal.c kernel: fatal: fix indentation in z_fatal_error 2020-03-11 10:26:36 +02:00
futex.c kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
idle.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
init.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
Kconfig zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
Kconfig.power_mgmt
kheap.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mailbox.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mem_domain.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mem_slab.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mempool_sys.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mempool.c kernel: Refactor k_mem_pool APIs into a base and derived level 2020-04-14 10:05:55 -07:00
msg_q.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
mutex.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
pipes.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
poll.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
queue.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sched.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
sem.c kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00
smp.c kernel: simplify dummy thread implementation 2020-05-13 21:23:52 +02:00
stack.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
system_work_q.c
thread_abort.c kernel: use z_swap_unlocked in k_thread_abort 2020-03-12 10:57:02 -04:00
thread.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
timeout.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
timer.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
userspace_handler.c userspace: improve dynamic object allocation 2020-06-03 22:33:32 +02:00
userspace.c kernel: userspace: fix variable initialization 2020-06-16 10:50:27 -05:00
version.c zephyr: replace zephyr integer types with C99 types 2020-06-08 08:23:57 -05:00
work_q.c kernel/timeout: Make timeout arguments an opaque type 2020-03-31 19:40:47 -04:00