summaryrefslogtreecommitdiffstats
path: root/boot/boot.h
diff options
context:
space:
mode:
Diffstat (limited to 'boot/boot.h')
-rw-r--r--boot/boot.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/boot/boot.h b/boot/boot.h
new file mode 100644
index 0000000..1fca074
--- /dev/null
+++ b/boot/boot.h
@@ -0,0 +1,19 @@
+#ifndef _JOVE_BOOT_H
+#define _JOVE_BOOT_H 1
+
+#include "hal/obj.h"
+
+struct kernel_module
+{
+ jove_obj_t *shmem;
+ char path[128];
+};
+
+jove_owned_obj_t *boot_getmodule(const char *path);
+
+void cmdline_init(char *cmdline);
+void cmdline_print(void);
+const char *cmdline_getarg(const char *key);
+
+
+#endif