zephyr/doc
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
..
_doxygen doc: Update HTML documentation Zephyr logo 2022-06-06 00:02:55 +09:00
_extensions/zephyr doc: extend application sphinx extension to support west arguments 2022-08-12 13:56:55 +02:00
_scripts doc: gen_devicetree_rest: Fix binding doc file name resolution 2022-07-25 15:18:27 +02:00
_static doc: Update PDF documentation Zephyr logo 2022-06-06 00:02:55 +09:00
_templates doc: add a toctree with reference material 2021-11-02 13:24:40 +01:00
build scripts: edtlib: gen_defines: Add model name macros based on compat 2022-10-07 11:48:02 -07:00
connectivity doc: lwm2m: Time series data document update 2022-10-05 14:23:32 +00:00
contribute doc: documentation: Fix incorrect doc/Makefile reference 2022-09-29 12:20:14 +02:00
develop doc: develop: test: update twister guide 2022-10-06 07:23:17 -04:00
hardware doc: porting: shields: Provide guidelines for nodelabel 2022-10-03 10:16:57 +02:00
images doc: remove unused images 2021-07-19 20:06:00 -04:00
introduction doc: mention MIPS architecture support 2022-01-24 17:11:42 -05:00
kernel init: s/ARCH/EARLY, call it just before arch kernel init 2022-10-12 17:16:27 +09:00
project ci: release: stop creating releases for RC tags 2022-10-10 07:25:15 -07:00
releases doc: release: 3.3: Add mcumgr fs_mgmt workaround issue note 2022-10-11 11:15:02 +02:00
security doc: security: Fix outdated link 2022-09-29 12:20:14 +02:00
services doc: mcumgr: Remove deprecated Kconfig tip 2022-10-06 16:34:58 +02:00
templates docs: add figure to board doc template 2019-02-11 07:45:21 -05:00
404.rst doc: Suggest filing GitHub issue for broken links 2022-04-28 10:26:03 +02:00
CMakeLists.txt doc: add support for linkcheck 2022-09-23 17:28:47 +00:00
conf.py doc: conf: add release version 3.2.0 2022-09-30 11:31:32 -05:00
glossary.rst doc: use :kconfig:option: domain role 2022-03-02 09:28:37 +01:00
index-tex.rst doc: get rid of reference section 2022-04-07 16:35:19 +02:00
index.rst doc: get rid of reference section 2022-04-07 16:35:19 +02:00
kconfig.rst doc: use new kconfig extension 2022-03-02 09:28:37 +01:00
known-warnings.txt doc: Bluetooth: Document the services APIs 2022-05-24 17:49:17 +02:00
LICENSING.rst docs: Change a number of 'master' branch refers to 'main' 2021-05-28 10:45:17 -05:00
Makefile doc: add support for linkcheck 2022-09-23 17:28:47 +00:00
substitutions.txt doc: New developer getting started guide 2019-11-13 14:05:47 -06:00
zephyr.doxyfile.in doc: fix embedding of Kconfig links in rst 2022-09-27 07:18:15 -05:00