diff options
author | Marvin Borner | 2021-02-28 13:40:45 +0100 |
---|---|---|
committer | Marvin Borner | 2021-02-28 13:40:45 +0100 |
commit | d50d3aeaaeaca4a75a807759a54d1d6ae8b5bce4 (patch) | |
tree | 5d606caef5599ef8a5c1383560202ca9b89b681e /kernel/main.c | |
parent | 2a2f12c64a99749b05507d80ba3ee728d5ed76e1 (diff) |
Fixed memory mapping detection
Diffstat (limited to 'kernel/main.c')
-rw-r--r-- | kernel/main.c | 6 |
1 files changed, 3 insertions, 3 deletions
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; |