aboutsummaryrefslogtreecommitdiff
path: root/src/kernel/kernel.c
diff options
context:
space:
mode:
authorMarvin Borner2019-10-31 15:19:12 +0100
committerMarvin Borner2019-10-31 15:19:12 +0100
commit2c7b6e0431d6dfbaf385d30e87e7eb9fd4a0e61d (patch)
tree04e3aaf05509fb9bdc16ccb30a773dac931c290e /src/kernel/kernel.c
parent7d5a9792e57b4088cce5cc97837eb04016b57a4d (diff)
Some user mode improvements
Diffstat (limited to 'src/kernel/kernel.c')
-rw-r--r--src/kernel/kernel.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/kernel/kernel.c b/src/kernel/kernel.c
index dd15409..b133a0c 100644
--- a/src/kernel/kernel.c
+++ b/src/kernel/kernel.c
@@ -39,10 +39,11 @@ void kernel_main(struct multiboot *mboot_ptr) {
initrd_test();
// User mode!
+ info("Switching to user mode...");
syscalls_install();
switch_to_user();
- syscall_serial_write("Hello, user world!\n");
+ panic("This should NOT happen!");
// asm volatile ("div %0" :: "r"(0)); // Exception testing x/0
loop: