1 #ifndef __LUNAIX_OWLOYSIUS_H
2 #define __LUNAIX_OWLOYSIUS_H
4 #include <lunaix/ds/ldga.h>
7 * @brief stage where only basic memory management service
10 #define on_earlyboot c_earlyboot
13 * @brief stage where most kernel service is ready, non-preempt
16 * boot-stage initialization is about to conclude.
18 #define on_boot c_boot
21 * @brief stage where all services started, kernel is in preempt
24 #define on_postboot c_postboot
26 #define owloysius_fetch_init(func, call_stage) \
27 export_ldga_el(lunainit, func, ptr_t, func); \
28 export_ldga_el_sfx(lunainit, func##_##call_stage, ptr_t, func, call_stage);
30 #define invoke_init_function(stage) ldga_invoke_fn0(lunainit##_##stage)
32 #endif /* __LUNAIX_OWLOYSIUS_H */