summaryrefslogtreecommitdiff
path: root/src/kernel/main.c
diff options
context:
space:
mode:
authorBenji Dial <benji6283@gmail.com>2020-09-06 01:26:56 -0400
committerBenji Dial <benji6283@gmail.com>2020-09-06 01:26:56 -0400
commitcbc85f6e897808b29e2f712156e2fa4d073d8277 (patch)
tree9b27640a6e91b5d3f3ae2ec597cc276aea1c8ab9 /src/kernel/main.c
parente8c6577617bffa4402c07c7aa20e3c24f03c1c20 (diff)
downloadportland-os-cbc85f6e897808b29e2f712156e2fa4d073d8277.tar.gz
small fixes
Diffstat (limited to 'src/kernel/main.c')
-rw-r--r--src/kernel/main.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/main.c b/src/kernel/main.c
index eb57a01..1fe8e7b 100644
--- a/src/kernel/main.c
+++ b/src/kernel/main.c
@@ -12,6 +12,7 @@
#include "pci.h"
#include "log.h"
#include "elf.h"
+#include "vga.h"
void reset_tree();
void tree(struct drive *d);
@@ -143,9 +144,8 @@ void main() {
logsz(nbuf);
logsz("k user memory free.\n");
-//while (1)
-// asm ("hlt");
-
init_idt();
+
+ vga_set_color(0x07);
_start_user_mode();
} \ No newline at end of file