From d50d3aeaaeaca4a75a807759a54d1d6ae8b5bce4 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Sun, 28 Feb 2021 13:40:45 +0100 Subject: Fixed memory mapping detection --- kernel/main.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'kernel/main.c') diff --git a/kernel/main.c b/kernel/main.c index 4d8165f..16ae619 100644 --- a/kernel/main.c +++ b/kernel/main.c @@ -18,15 +18,15 @@ struct vid_info *boot_passed; -void kernel_main(struct vid_info *vid_info); // Decl -void kernel_main(struct vid_info *vid_info) +void kernel_main(struct mem_info *mem_info, struct vid_info *vid_info); // Decl +void kernel_main(struct mem_info *mem_info, struct vid_info *vid_info) { // Serial connection serial_install(); serial_print("\nKernel was compiled at " __TIME__ " on " __DATE__ "\n"); serial_print("Serial connected.\n"); - paging_install(); + paging_install(mem_info); boot_passed = vid_info; -- cgit v1.2.3