Lines Matching refs:func
68 #define LAYER_INITCALL(func, layer, clayer, priority) \
70 void BOOT_##layer##priority##func() {func();}
72 #define LAYER_INITCALL(func, layer, clayer, priority) \
73 static const InitCall USED_ATTR __zinitcall_##layer##_##func \
74 __attribute__((section(".zinitcall." clayer #priority ".init"))) = func
77 #define LAYER_INITCALL_DEF(func, layer, clayer) \
78 LAYER_INITCALL(func, layer, clayer, 2)
87 * @param func Indicates the entry function for initializing and starting a core phase.
90 #define CORE_INIT(func) LAYER_INITCALL_DEF(func, core, "core")
99 * @param func Indicates the entry function for initializing and starting a core phase.
104 #define CORE_INIT_PRI(func, priority) LAYER_INITCALL(func, core, "core", priority)
113 * @param func Indicates the entry function for initializing and starting a core system service.
116 #define SYS_SERVICE_INIT(func) LAYER_INITCALL_DEF(func, sys_service, "sys.service")
124 * @param func Indicates the entry function for initializing and starting a core system service.
129 #define SYS_SERVICE_INIT_PRI(func, priority) LAYER_INITCALL(func, sys_service, "sys.service", priority)
138 * @param func Indicates the entry function for initializing and starting a core system service.
141 #define SYS_FEATURE_INIT(func) LAYER_INITCALL_DEF(func, sys_feature, "sys.feature")
149 * @param func Indicates the entry function for initializing and starting a core system feature.
154 #define SYS_FEATURE_INIT_PRI(func, priority) LAYER_INITCALL(func, sys_feature, "sys.feature", priority)
163 * @param func Indicates the entry function for initializing and starting a system running phase.
166 #define SYS_RUN(func) LAYER_INITCALL_DEF(func, run, "run")
174 * @param func Indicates the entry function for initializing and starting a system running phase.
179 #define SYS_RUN_PRI(func, priority) LAYER_INITCALL(func, run, "run", priority)
187 * @param func Indicates the entry function for initializing and starting a system service.
190 #define SYSEX_SERVICE_INIT(func) LAYER_INITCALL_DEF(func, app_service, "app.service")
198 * @param func Indicates the entry function for initializing and starting a system service.
203 #define SYSEX_SERVICE_INIT_PRI(func, priority) LAYER_INITCALL(func, app_service, "app.service", priority)
211 * @param func Indicates the entry function for initializing and starting a system feature.
214 #define SYSEX_FEATURE_INIT(func) LAYER_INITCALL_DEF(func, app_feature, "app.feature")
222 * @param func Indicates the entry function for initializing and starting a system feature.
227 #define SYSEX_FEATURE_INIT_PRI(func, priority) LAYER_INITCALL(func, app_feature, "app.feature", priority)
236 * @param func Indicates the entry function for initializing and starting an application-layer
239 #define APP_SERVICE_INIT(func) LAYER_INITCALL_DEF(func, app_service, "app.service")
247 * @param func Indicates the entry function for initializing and starting an application-layer
252 #define APP_SERVICE_INIT_PRI(func, priority) LAYER_INITCALL(func, app_service, "app.service", priority)
261 * @param func Indicates the entry function for initializing and starting an application-layer
264 #define APP_FEATURE_INIT(func) LAYER_INITCALL_DEF(func, app_feature, "app.feature")
272 * @param func Indicates the entry function for initializing and starting an application-layer
277 #define APP_FEATURE_INIT_PRI(func, priority) LAYER_INITCALL(func, app_feature, "app.feature", priority)