From cef3f6bdddfe768e7a1a84edcec76c11c1634941 Mon Sep 17 00:00:00 2001 From: Xander Date: Sun, 6 Aug 2023 17:44:45 +0200 Subject: Implemented panic --- kernel/main.dats | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'kernel/main.dats') 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(); -- cgit v1.2.3