aboutsummaryrefslogtreecommitdiff
path: root/kernel/main.dats
diff options
context:
space:
mode:
Diffstat (limited to 'kernel/main.dats')
-rw-r--r--kernel/main.dats4
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/main.dats b/kernel/main.dats
index 4c7d49a..7b7c162 100644
--- a/kernel/main.dats
+++ b/kernel/main.dats
@@ -38,13 +38,13 @@ extern fun breakpoint() :void = "mac#"
extern fun entry(p : Ptr1) : void = "ext#"
implement entry(p) = let
- // Initialize boot info struct
- val () = $BOOT.init(p)
(* val (kernel_start,kernel_end) = get_kernel_ranges(bootptr) *)
(* val (multiboot_start,multiboot_end) = get_multiboot_ranges(bootptr) *)
(* val allocptr = frame_allocator_init(kernel_start,kernel_end,multiboot_start,multiboot_end,bootptr) *)
in
+ // Initialize boot info struct
+ $BOOT.init(p);
clear_screen();
$BOOT.print_memory_mappings();