diff options
author | Marvin Borner | 2020-08-05 21:33:48 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-05 21:33:48 +0200 |
commit | 835960fd85989ee961b5a932f467e6e4f545d201 (patch) | |
tree | d93c67e51189eec12fb43ef860deba92e9017329 /src/main.c | |
parent | 4af62bb53676b7f721b46cabee78cac3a557e924 (diff) |
Added some cpu function wrappers
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -2,6 +2,7 @@ #include "config.h" #include <boot.h> +#include <cpu.h> #include <def.h> #include <fs.h> #include <gui.h> @@ -35,7 +36,7 @@ void kernel_main(struct mem_info *mem_info, struct vid_info *vid_info) keyboard_install(); // Enable drivers - __asm__("sti"); + sti(); mem_info++; // TODO: Use the mmap (or remove)! @@ -47,6 +48,5 @@ void kernel_main(struct mem_info *mem_info, struct vid_info *vid_info) syscall_init(); proc_init(); - while (1) { - }; + idle(); } |