summaryrefslogtreecommitdiff
path: root/include/kernel
diff options
context:
space:
mode:
authorJake Mannens <jake72360@gmail.com>2018-06-16 04:49:57 +1000
committerJake Mannens <jake72360@gmail.com>2018-06-16 04:49:57 +1000
commit3e9bdcca84e22c997a071dddf37449ead85aed75 (patch)
tree06def7ef704b348cdef2b704d3357b79d22f00bd /include/kernel
Initial commit
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