summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/include/toxic/kernel.h (renamed from src/include/kernel.h)0
-rw-r--r--src/include/toxic/string.h (renamed from src/lib/string.h)1
-rw-r--r--src/include/toxic/vga.h (renamed from src/include/vga.h)0
-rw-r--r--src/kernel.c7
-rw-r--r--src/vga.c4
5 files changed, 7 insertions, 5 deletions
diff --git a/src/include/kernel.h b/src/include/toxic/kernel.h
index 2007693..2007693 100644
--- a/src/include/kernel.h
+++ b/src/include/toxic/kernel.h
diff --git a/src/lib/string.h b/src/include/toxic/string.h
index 72585ac..69d8bd2 100644
--- a/src/lib/string.h
+++ b/src/include/toxic/string.h
@@ -6,4 +6,5 @@
size_t strlen(const char *s);
char *strcpy(char *restrict dst, const char *restrict src);
+void *memset(void *s, int c, size_t n);
#endif /* STRING_H */
diff --git a/src/include/vga.h b/src/include/toxic/vga.h
index 7aaa210..7aaa210 100644
--- a/src/include/vga.h
+++ b/src/include/toxic/vga.h
diff --git a/src/kernel.c b/src/kernel.c
index bca7849..0aa8eef 100644
--- a/src/kernel.c
+++ b/src/kernel.c
@@ -1,11 +1,12 @@
-#include <kernel.h>
#include <stdint.h>
#include <stddef.h>
-#include <vga.h>
-#include "lib/string.h"
+#include <toxic/vga.h>
+#include <toxic/string.h>
+#include <toxic/kernel.h>
void start_kernel()
{
init_display(2);
vprintl("Hello World!!!\n");
+
}
diff --git a/src/vga.c b/src/vga.c
index 52109c6..276c9c4 100644
--- a/src/vga.c
+++ b/src/vga.c
@@ -1,7 +1,7 @@
#include <stdint.h>
#include <stddef.h>
-#include <vga.h>
-#include "lib/string.h"
+#include <toxic/vga.h>
+#include <toxic/string.h>
struct vga_display display;