diff options
author | Xander <xander@biltopia.org> | 2023-07-21 22:38:43 +0200 |
---|---|---|
committer | Xander <xander@biltopia.org> | 2023-07-21 22:38:43 +0200 |
commit | 58096a11ea200d4caf656bac712cde24daa8a697 (patch) | |
tree | 41df97b7d352217888804d8b13ae0802beaa5ffd /kernel/bootinfo/multiboot.dats | |
parent | 1d25d9783127c181f79732eb5c20c680444af414 (diff) | |
download | ats-os-58096a11ea200d4caf656bac712cde24daa8a697.tar.xz ats-os-58096a11ea200d4caf656bac712cde24daa8a697.zip |
Working frame allocator but VERY ugly code
Diffstat (limited to 'kernel/bootinfo/multiboot.dats')
-rw-r--r-- | kernel/bootinfo/multiboot.dats | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/kernel/bootinfo/multiboot.dats b/kernel/bootinfo/multiboot.dats index 96d7f84..4df903e 100644 --- a/kernel/bootinfo/multiboot.dats +++ b/kernel/bootinfo/multiboot.dats @@ -122,7 +122,7 @@ in (the_null_ptr,the_null_ptr) end -implement get_bootinfo_ranges(p) = (p.2, ptr_add<uint8>(p.2,p.2->total_size)) +implement get_multiboot_ranges(p) = (p.2, $UN.cast2Ptr1(ptr_add<uint8>(p.2,p.2->total_size))) implement print_elf_headers(p) = let val length = get_elf_headers_n(p) |