Zephyr API Documentation 4.0.0
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
56/*
57 * @brief Board hook executed before the kernel starts.
58 *
59 * This is called before the kernel has started. This hook
60 * is implemented by the board and can be used to perform any board-specific
61 * initialization.
62 */
64
65/*
66 * @brief Board hook executed after the kernel starts.
67
68 * This is called after the kernel has started, but before the main function is
69 * called. This hook is implemented by the board and can be used to perform
70 * any board-specific initialization.
71 */
73
74#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)