aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
diff options
context:
space:
mode:
authorMarvin Borner2020-08-01 15:59:39 +0200
committerMarvin Borner2020-08-01 15:59:39 +0200
commit115f4ff541839f7a97f9413e1ac3ff7695c24c9e (patch)
treed98602bba5a8b4321ae124d221f77e99008e9cd1 /src/main.c
parent46fb7dcf479ac85361d8eaae5af3ea27a6b93a2d (diff)
Switched to PIE flat binaries
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/main.c b/src/main.c
index 283d937..68993ba 100644
--- a/src/main.c
+++ b/src/main.c
@@ -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) {
};