diff options
author | Marvin Borner | 2020-08-01 15:59:39 +0200 |
---|---|---|
committer | Marvin Borner | 2020-08-01 15:59:39 +0200 |
commit | 115f4ff541839f7a97f9413e1ac3ff7695c24c9e (patch) | |
tree | d98602bba5a8b4321ae124d221f77e99008e9cd1 /src/main.c | |
parent | 46fb7dcf479ac85361d8eaae5af3ea27a6b93a2d (diff) |
Switched to PIE flat binaries
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -3,11 +3,11 @@ #include "config.h" #include <boot.h> #include <def.h> -#include <elf.h> #include <fs.h> #include <gui.h> #include <interrupts.h> #include <keyboard.h> +#include <load.h> #include <print.h> #include <serial.h> #include <timer.h> @@ -42,8 +42,7 @@ void main(struct mem_info *mem_info, struct vid_info *vid_info) gui_init(FONT_PATH); gui_term_write("Wake up, " USERNAME "...\n"); - elf_load("/test"); - printf("loaded"); + bin_load("/test"); while (1) { }; |