zephyr/doc/kernel
Gerard Marull-Paretas e42f58ec94 init: s/ARCH/EARLY, call it just before arch kernel init
The `ARCH` init level was added to solve a specific problem, call init
code (SYS_INIT/devices) before `z_cstart` in the `intel_adsp` platform.
The documentation claims it runs before `z_cstart`, but this is only
true if the SoC/arch takes care of calling:

```c
z_sys_init_run_level(_SYS_INIT_LEVEL_ARCH);
```

Which is only true for `intel_adsp` nowadays. So in practice, we now
have a platform specific init level. This patch proposes to do things in
a slightly different way. First, level name is renamed to `EARLY`, to
emphasize it runs in the early stage of the boot process. Then, it is
handled by the Kernel (inside `z_cstart()` before calling
`arch_kernel_init()`). This means that any platform can now use this
level. For `intel_adsp`, there should be no changes, other than
`gcov_static_init()` will be called before (I assume this will allow to
obtain coverage for code called in EARLY?).

Signed-off-by: Gerard Marull-Paretas <gerard.marull@nordicsemi.no>
2022-10-12 17:16:27 +09:00
..
data_structures doc: Fix kernel data structures typos 2022-10-10 21:01:51 -04:00
drivers init: s/ARCH/EARLY, call it just before arch kernel init 2022-10-12 17:16:27 +09:00
iterable_sections doc: move misc services into OS Service section 2022-04-07 16:35:19 +02:00
memory_management doc: kernel: Re-organise memory management API pages 2022-06-01 15:26:48 +02:00
services doc: polling: Fix semaphore contested description 2022-10-04 10:36:45 +02:00
timing_functions include: update documentation to use zephyr/ prefix 2022-04-21 07:40:54 -05:00
usermode doc: memory-domain: Remove stale reference to k_mem_pool 2022-09-28 14:24:34 +00:00
util doc: move utility functions to kernel 2022-04-07 16:35:19 +02:00
code-relocation.rst doc: move sections from guides 2022-04-07 16:35:19 +02:00
index.rst doc: develop: Add 'Language Support' sub-category 2022-06-01 15:26:48 +02:00
timeutil.rst doc: move timeutil to kernel 2022-04-07 16:35:19 +02:00