aboutsummaryrefslogtreecommitdiff
path: root/kernel/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/main.c')
-rw-r--r--kernel/main.c6
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;