Merge remote-tracking branch 'origin/master' into isa/arm64
[lunaix-os.git] / lunaix-os / includes / lunaix / owloysius.h
index 22311bb053b87424263fb11df42fcd70026b3d2d..99cffa262a01ba12b47a74eaaf13e4ac2c756664 100644 (file)
@@ -7,6 +7,12 @@
  * @brief stage where only basic memory management service
  * is present
  */
  * @brief stage where only basic memory management service
  * is present
  */
+#define on_sysconf c_sysconf
+
+/**
+ * @brief stage where basic memory management service
+ * interrupt management and timer/clock service avaliable
+ */
 #define on_earlyboot c_earlyboot
 
 /**
 #define on_earlyboot c_earlyboot
 
 /**
 
 #define invoke_init_function(stage) ldga_invoke_fn0(lunainit##_##stage)
 
 
 #define invoke_init_function(stage) ldga_invoke_fn0(lunainit##_##stage)
 
+static inline void
+initfn_invoke_sysconf()
+{
+    invoke_init_function(on_sysconf);
+}
+
+static inline void
+initfn_invoke_earlyboot()
+{
+    invoke_init_function(on_earlyboot);
+}
+
+static inline void
+initfn_invoke_boot()
+{
+    invoke_init_function(on_boot);
+}
+
+static inline void
+initfn_invoke_postboot()
+{
+    invoke_init_function(on_postboot);
+}
+
 #endif /* __LUNAIX_OWLOYSIUS_H */
 #endif /* __LUNAIX_OWLOYSIUS_H */