summaryrefslogtreecommitdiff
path: root/include/kernel
diff options
context:
space:
mode:
Diffstat (limited to 'include/kernel')
-rw-r--r--include/kernel/con.h14
-rw-r--r--include/kernel/vsprintf.h14
2 files changed, 28 insertions, 0 deletions
diff --git a/include/kernel/con.h b/include/kernel/con.h
new file mode 100644
index 0000000..4e564ed
--- /dev/null
+++ b/include/kernel/con.h
@@ -0,0 +1,14 @@
+/*
+ * con.h
+ *
+ * Basic VGA text console
+ */
+
+#ifndef _CON_H
+#define _CON_H
+
+void con_init(void);
+
+void con_print(char*);
+
+#endif
diff --git a/include/kernel/vsprintf.h b/include/kernel/vsprintf.h
new file mode 100644
index 0000000..08297d6
--- /dev/null
+++ b/include/kernel/vsprintf.h
@@ -0,0 +1,14 @@
+/*
+ * vsprintf.h
+ *
+ * A very basic implmentation of thr vsprintf function
+ */
+
+#ifndef _VSPRINTF_H
+#define _VSPRINTF_H
+
+#include <stdarg.h>
+
+int vsprintf(char*, char*, va_list);
+
+#endif