From 5e4374f938d259903fa21cb62b3f3b77b126198b Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 7 Aug 2020 20:04:17 +0200 Subject: Finished bootloader TSS/GDT update --- src/main.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/main.c') diff --git a/src/main.c b/src/main.c index 7738e10..17d6267 100644 --- a/src/main.c +++ b/src/main.c @@ -17,7 +17,7 @@ u32 HEAP = 0x00200000; u32 HEAP_START; -void kernel_main(struct mem_info *mem_info, struct vid_info *vid_info) +void kernel_main(struct vid_info *vid_info) { HEAP_START = HEAP; // For malloc function @@ -38,8 +38,6 @@ void kernel_main(struct mem_info *mem_info, struct vid_info *vid_info) // Enable drivers sti(); - mem_info++; // TODO: Use the mmap (or remove)! - ls_root(); gui_init(FONT_PATH); -- cgit v1.2.3