From 3e9bdcca84e22c997a071dddf37449ead85aed75 Mon Sep 17 00:00:00 2001 From: Jake Mannens Date: Sat, 16 Jun 2018 04:49:57 +1000 Subject: Initial commit --- include/kernel/con.h | 14 ++++++++++++++ include/kernel/vsprintf.h | 14 ++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 include/kernel/con.h create mode 100644 include/kernel/vsprintf.h (limited to 'include/kernel') 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 + +int vsprintf(char*, char*, va_list); + +#endif -- cgit v1.3