diff options
author | Xander <xander@biltopia.org> | 2023-08-06 17:44:45 +0200 |
---|---|---|
committer | Xander <xander@biltopia.org> | 2023-08-06 17:44:45 +0200 |
commit | cef3f6bdddfe768e7a1a84edcec76c11c1634941 (patch) | |
tree | a7681996224d1d3bf6eeda8657ac500ac061c2d5 /kernel/main.dats | |
parent | 272a40095e7c3f694f010d074ab54b326730009e (diff) | |
download | ats-os-cef3f6bdddfe768e7a1a84edcec76c11c1634941.tar.xz ats-os-cef3f6bdddfe768e7a1a84edcec76c11c1634941.zip |
Implemented panic
Diffstat (limited to 'kernel/main.dats')
-rw-r--r-- | kernel/main.dats | 4 |
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(); |