zephyr/kernel
Martí Bolívar 15c9d3711c kernel: add CONFIG_DEVICE_DT_METADATA and helpers
This option allows you to look up a struct device from any of the
node labels that were attached to the devicetree node used to create
the device, etc.

This is helpful because node labels are a much more human-friendly set
of unique identifiers than the node names we are currently relying on
for use with device_get_binding(). Adding this infrastructure in the
device core allows anyone to make use of it without having to
replicate node label storage and search functions in various places in
the tree. The main use case, however, is for looking up devices by
node label in the shell.

Since there is a footprint penalty associated with storing the node
label metadata, leave this option disabled by default.

Signed-off-by: Martí Bolívar <mbolivar@amperecomputing.com>
2024-06-12 18:49:54 +02:00
..
include kernel: added missing parenthesis 2024-06-07 12:59:46 +02:00
paging build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
atomic_c.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
banner.c kernel: banner: fix disabling boot banner 2024-06-10 00:59:10 -07:00
busy_wait.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
CMakeLists.txt kernel: move nothread support to own file 2024-04-06 14:22:08 +03:00
compiler_stack_protect.c kernel: canaries: Allow using TLS to store it 2023-08-08 19:08:04 -04:00
condvar.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
cpu_mask.c kernel: add closing comments to config endifs 2024-03-25 18:03:31 -04:00
device.c kernel: add CONFIG_DEVICE_DT_METADATA and helpers 2024-06-12 18:49:54 +02:00
dynamic_disabled.c kernel: dynamic: declare dynamic stubs when disabled 2023-07-24 12:59:43 -04:00
dynamic.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
errno.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
events.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
fatal.c arch: define struct arch_esf and deprecate z_arch_esf_t 2024-06-04 14:02:51 -05:00
float.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
futex.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
idle.c pm: Move z_pm_save_idle_exit to pm subsys 2024-05-27 02:10:03 -07:00
init.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
ipi.c kernel: Add CONFIG_ARCH_HAS_DIRECTED_IPIS 2024-06-04 22:35:54 -04:00
irq_offload.c kernel: add closing comments to config endifs 2024-03-25 18:03:31 -04:00
Kconfig kernel: increase main stack size for ztests on nios2 2024-06-12 12:47:18 -04:00
Kconfig.device kernel: add CONFIG_DEVICE_DT_METADATA and helpers 2024-06-12 18:49:54 +02:00
Kconfig.mem_domain kernel: mem_domain: new config for isolated stacks 2024-05-21 20:53:09 -04:00
Kconfig.obj_core kernel: reorg Kconfigs and split them 2024-03-06 19:27:28 -05:00
Kconfig.smp kernel: Add CONFIG_ARCH_HAS_DIRECTED_IPIS 2024-06-04 22:35:54 -04:00
Kconfig.vm mm: introduce CONFIG_KERNEL_VM_USE_CUSTOM_MEM_RANGE_CHECK 2023-10-20 15:08:34 +02:00
kheap.c tracing: add k_realloc trace 2024-05-28 17:55:12 +02:00
mailbox.c kernel: Clean up mailbox async msg configuration 2024-04-09 11:05:55 +02:00
main_weak.c
mem_domain.c coding guidelines: comply with MISRA Rule 12.1. 2024-05-12 13:37:27 -04:00
mem_slab.c kernel: mem_slab: only define slab_ptr_is_good with assert enabled 2024-06-10 17:46:10 +01:00
mempool.c tracing: add k_realloc trace 2024-05-28 17:55:12 +02:00
mmu.c kernel: added missing parenthesis 2024-06-07 12:59:46 +02:00
msg_q.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
mutex.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
nothread.c kernel: move nothread support to own file 2024-04-06 14:22:08 +03:00
obj_core.c kernel: add closing comments to config endifs 2024-03-25 18:03:31 -04:00
pipes.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
poll.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
priority_queues.c kernel: priority queues: declare as static inlines 2024-04-22 16:40:11 -04:00
queue.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
sched.c kernel: Add CONFIG_ARCH_HAS_DIRECTED_IPIS 2024-06-04 22:35:54 -04:00
sem.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
smp.c kernel: Relax loop in z_smp_global_lock() 2024-05-22 21:35:06 -04:00
spinlock_validate.c kernel/spinlock: Fix SPIN_VALIDATE in ISRs 2024-05-02 13:55:03 -04:00
stack.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
system_work_q.c kernel: system_work_q: Mark queue thread as essential 2024-04-25 21:40:24 +02:00
thread_monitor.c kernel: split thread monitor 2024-03-06 19:27:28 -05:00
thread.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
timeout.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
timer.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
timeslicing.c kernel: Add CONFIG_IPI_OPTIMIZE 2024-06-04 22:35:54 -04:00
usage.c kernel: Remove duplicate execution_cycles write and improve docstring 2024-04-28 13:04:20 -04:00
userspace_handler.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
userspace.c build: namespace syscall sources to zephyr/ 2024-05-28 22:03:55 +02:00
version.c build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
work.c coding guidelines: comply with MISRA Rule 2.2 2024-05-02 09:32:46 +01:00
xip.c kernel: canaries: Allow using TLS to store it 2023-08-08 19:08:04 -04:00