zephyr/kernel/include
Peter Bigot 1cadd8b305 device: perform dynamic device initialization during system startup
Initialize all device objects in a batch before invoking any code that
might try to reference data in them.  This eliminates a race condition
enabled by the ability to resolve a device structure at build time,
and reference it from one device's initialization routine before the
device itself has been initialized.

While the device is pulled from the sys_init records rather than
static devices, all in-tree init_entry records that are associated
with devices are produced via Z_DEVICE_DEFINE(), so there should be no
static devices that would be missed by instead iterating over the
device records.

Signed-off-by: Peter Bigot <peter.bigot@nordicsemi.no>
2021-02-19 10:11:20 -05:00
..
gen_offset.h aarch64: Use absolute symbols for the callee saved registers 2020-11-17 18:59:23 -05:00
kernel_arch_interface.h include/kernel_arch_interface.h: Redocument arch_switch() 2021-02-14 16:22:45 -05:00
kernel_internal.h device: perform dynamic device initialization during system startup 2021-02-19 10:11:20 -05:00
kernel_offsets.h Revert "device: add post-process of elf file to manage device handles" 2021-01-23 18:01:03 -05:00
kernel_tls.h kernel: tls: align tdata/tbss sections in stack 2021-02-07 23:28:43 -05:00
ksched.h kernel/sched: Fix rare SMP deadlock 2021-02-14 16:22:45 -05:00
kswap.h kernel/sched: Fix rare SMP deadlock 2021-02-14 16:22:45 -05:00
mmu.h mmu: fix ARM64 compilation by removing z_mapped_size usage 2021-02-05 17:19:56 -05:00
offsets_short.h kernel: add common bits to support TLS 2020-10-24 10:52:00 -07:00