Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
hooks.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2024 Intel Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_PLATFORM_PLATFORM_H_
7#define ZEPHYR_INCLUDE_PLATFORM_PLATFORM_H_
8
29void soc_reset_hook(void);
30
38void soc_prep_hook(void);
39
40/*
41 * @brief SoC hook executed before the kernel and devices are initialized.
42 *
43 * This hook is implemented by the SoC and can be used to perform any
44 * SoC-specific initialization.
45 */
47
48/*
49 * @brief SoC hook executed after the kernel and devices are initialized.
50 *
51 * This hook is implemented by the SoC and can be used to perform any
52 * SoC-specific initialization.
53 */
55
63
64/*
65 * @brief Board hook executed before the kernel starts.
66 *
67 * This is called before the kernel has started. This hook
68 * is implemented by the board and can be used to perform any board-specific
69 * initialization.
70 */
72
73/*
74 * @brief Board hook executed after the kernel starts.
75
76 * This is called after the kernel has started, but before the main function is
77 * called. This hook is implemented by the board and can be used to perform
78 * any board-specific initialization.
79 */
81
82#endif
void soc_early_init_hook(void)
void board_early_init_hook(void)
void soc_late_init_hook(void)
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 board_late_init_hook(void)
void soc_per_core_init_hook(void)
SoC per-core initialization.