6#include <utils/compiler.h>
13#define INIT_BOOTSTRAP bootstrap
19#define INIT_EARLY early
23#define INIT_NORMAL normal
41 error_t (*call)(void);
50 struct initcall *start;
54#define DECLARE_INITCALL(_step, _function) \
56 SECTION(".data.init." stringify(_step)) \
57 static struct initcall __init_##_function = { \
58 .name = stringify(_function), \
63void initcall_do_level(
enum init_step);
Initcalls from the same step are placed in a section together by the linkerscript.
Definition: init.h:49