Unit testing framework and devicetree framework refactoring (#50)
[lunaix-os.git] / lunaix-os / tests / units / stubs / includes / lunaix / owloysius.h
diff --git a/lunaix-os/tests/units/stubs/includes/lunaix/owloysius.h b/lunaix-os/tests/units/stubs/includes/lunaix/owloysius.h
new file mode 100644 (file)
index 0000000..a0bef95
--- /dev/null
@@ -0,0 +1,35 @@
+#ifndef __STUB_LUNAIX_OWLOYSIUS_H
+#define __STUB_LUNAIX_OWLOYSIUS_H
+
+
+#define owloysius_fetch_init(func, call_stage)  \
+    void init_export_##func() { func(); }
+
+#define invoke_init_function(stage)
+
+static inline void
+initfn_invoke_sysconf()
+{
+    return;
+}
+
+static inline void
+initfn_invoke_earlyboot()
+{
+    return;
+}
+
+static inline void
+initfn_invoke_boot()
+{
+    return;
+}
+
+static inline void
+initfn_invoke_postboot()
+{
+    return;
+}
+
+
+#endif /* __STUB_LUNAIX_OWLOYSIUS_H */