Zephyr API Documentation 4.0.0-rc2
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
hooks.h File Reference

Soc and Board hooks. More...

Go to the source code of this file.

Functions

void soc_reset_hook (void)
 SoC hook executed at the beginning of the reset vector.
 
void soc_prep_hook (void)
 SoC hook executed after the reset vector.
 
void soc_early_init_hook (void)
 
void soc_late_init_hook (void)
 
void board_early_init_hook (void)
 
void board_late_init_hook (void)
 

Detailed Description

Soc and Board hooks.

This header file contains function prototypes for the interfaces between zephyr architecture and initialization code and the SoC and board specific logic that resides under boards/ and soc/

Note
These are all standard soc and board interfaces that are exported from soc and board specific logic to OS internal logic. These should never be accessed directly from application code but may be freely used within the OS.

Function Documentation

◆ board_early_init_hook()

void board_early_init_hook ( void )

◆ board_late_init_hook()

void board_late_init_hook ( void )

◆ soc_early_init_hook()

void soc_early_init_hook ( void )

◆ soc_late_init_hook()

void soc_late_init_hook ( void )

◆ soc_prep_hook()

void soc_prep_hook ( void )

SoC hook executed after the reset vector.

This hook is implemented by the SoC and can be used to perform any SoC-specific initialization.

◆ soc_reset_hook()

void soc_reset_hook ( void )

SoC hook executed at the beginning of the reset vector.

This hook is implemented by the SoC and can be used to perform any SoC-specific initialization.