aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/system.c
diff options
context:
space:
mode:
authorMarvin Borner2020-04-28 20:59:57 +0200
committerMarvin Borner2020-04-28 20:59:57 +0200
commit5f8b5ce7efb7738eaebad43f9648975788ae19ff (patch)
treeab8fc4d4baa4adb99dc90461df689650acf34cef /src/kernel/system.c
parentbfe16de4be67565f1a1e7b1331fcbe3aedf9c54e (diff)
Fixed userspace entering...
Many other fixes too, but I won't mention them because I don't want to :)
Diffstat (limited to 'src/kernel/system.c')
-rw-r--r--src/kernel/system.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/kernel/system.c b/src/kernel/system.c
index ba798a0..6d5afca 100644
--- a/src/kernel/system.c
+++ b/src/kernel/system.c
@@ -7,8 +7,6 @@
#include <kernel/lib/stdio.h>
#include <stdarg.h>
-uint32_t initial_esp;
-
char *vga_buffer = (char *)0x500;
void vga_clear()
@@ -28,7 +26,7 @@ void vga_log(char *msg)
uint16_t *terminal_buffer = (uint16_t *)0xB8000;
for (size_t i = 0; i < strlen(msg); i++)
terminal_buffer[line * 80 + i] = (uint16_t)msg[i] | (uint16_t)0x700;
- log("%s", msg);
+ info("%s", msg);
char string[80];
strcpy(string, "[");
strcat(string, itoa((int)get_time()));