Documentation: add drivers early initialization

Signed-off-by: xuxingliang <xuxingliang@xiaomi.com>
This commit is contained in:
xuxingliang 2024-07-09 10:11:50 +08:00 committed by Xiang Xiao
parent bbc31d70f4
commit 129f751fae
1 changed files with 12 additions and 0 deletions

View File

@ -283,3 +283,15 @@ The following skeleton files are available:
* ``drivers/mtd/skeleton.c`` Skeleton memory technology device drivers
* ``drivers/net/skeleton.c`` Skeleton network/Ethernet drivers
* ``drivers/usbhost/usbhost_skeleton.c`` Skeleton USB host class driver
Drivers Early Initialization
============================
To initialize drivers early in the boot process, the :c:func:`drivers_early_initialize`
function is introduced. This is particularly beneficial for certain drivers,
such as SEGGER SystemView, or others that require initialization before the
system is fully operational.
It is important to note that during this early initialization phase,
system resources are not yet available for use. This includes memory allocation,
file systems, and any other system resources.