Zephyr API Documentation 4.2.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
21
22#ifdef CONFIG_SOC_EARLY_RESET_HOOK
31void soc_early_reset_hook(void);
32#else
33#define soc_early_reset_hook() do { } while (0)
34#endif
35
36#ifdef CONFIG_SOC_RESET_HOOK
43void soc_reset_hook(void);
44#else
45#define soc_reset_hook() do { } while (0)
46#endif
47
48#ifdef CONFIG_SOC_PREP_HOOK
55void soc_prep_hook(void);
56#else
57#define soc_prep_hook() do { } while (0)
58#endif
59
60#ifdef CONFIG_SOC_EARLY_INIT_HOOK
67void soc_early_init_hook(void);
68#else
69#define soc_early_init_hook() do { } while (0)
70#endif
71
72#ifdef CONFIG_SOC_LATE_INIT_HOOK
79void soc_late_init_hook(void);
80#else
81#define soc_late_init_hook() do { } while (0)
82#endif
83
84#ifdef CONFIG_SOC_PER_CORE_INIT_HOOK
91void soc_per_core_init_hook(void);
92#else
93#define soc_per_core_init_hook() do { } while (0)
94#endif
95
96#ifdef CONFIG_BOARD_EARLY_INIT_HOOK
104void board_early_init_hook(void);
105#else
106#define board_early_init_hook() do { } while (0)
107#endif
108
109#ifdef CONFIG_BOARD_LATE_INIT_HOOK
117void board_late_init_hook(void);
118#else
119#define board_late_init_hook() do { } while (0)
120#endif
121
122#endif
#define soc_early_reset_hook()
Definition hooks.h:33
#define board_early_init_hook()
Definition hooks.h:106
#define soc_per_core_init_hook()
Definition hooks.h:93
#define soc_reset_hook()
Definition hooks.h:45
#define soc_prep_hook()
Definition hooks.h:57
#define board_late_init_hook()
Definition hooks.h:119
#define soc_late_init_hook()
Definition hooks.h:81
#define soc_early_init_hook()
Definition hooks.h:69