1 #ifndef __LUNAIX_OWLOYSIUS_H
2 #define __LUNAIX_OWLOYSIUS_H
4 #include <lunaix/ds/ldga.h>
6 #define call_on_earlyboot c_earlyboot
7 #define call_on_boot c_boot
8 #define call_on_postboot c_postboot
10 #define lunaix_initfn(func, call_stage) \
11 export_ldga_el(lunainit, func, ptr_t, func); \
12 export_ldga_el_sfx(lunainit, func##_##call_stage, ptr_t, func, call_stage);
14 #define invoke_init_function(stage) ldga_invoke_fn0(lunainit##_##stage)
16 #endif /* __LUNAIX_OWLOYSIUS_H */