diff options
author | Xander <xander@biltopia.org> | 2023-07-21 18:02:54 +0200 |
---|---|---|
committer | Xander <xander@biltopia.org> | 2023-07-21 18:02:54 +0200 |
commit | 9226c8bb581c363a552998663704c483f35f6aae (patch) | |
tree | 857a7c8119b5df93d3340f8acd317b06fd254d84 /kernel/bootinfo/multiboot.dats | |
parent | 589e17e4faf369857fd916cbe699bc72c193b9a3 (diff) | |
download | ats-os-9226c8bb581c363a552998663704c483f35f6aae.tar.xz ats-os-9226c8bb581c363a552998663704c483f35f6aae.zip |
Working on frame allocation
Diffstat (limited to 'kernel/bootinfo/multiboot.dats')
-rw-r--r-- | kernel/bootinfo/multiboot.dats | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kernel/bootinfo/multiboot.dats b/kernel/bootinfo/multiboot.dats index 742c7ed..6ea7b00 100644 --- a/kernel/bootinfo/multiboot.dats +++ b/kernel/bootinfo/multiboot.dats @@ -23,7 +23,7 @@ implement boot_info_init (p : Ptr1) = let in case+ type of | 6u => ( - boot_p->memory_map := $UN.ptr0_get<memory_map_t>(p); + boot_p->memory_map := $UN.ptr0_get<memory_areas_t>(p); boot_p->memory_map.entries := ptr_add<uint32>(p,4) ) | 9u => ( @@ -60,7 +60,7 @@ end implement get_memory_mapping(p,n) = ( assertloc(n < get_memory_mappings_n(p)); - $UN.ptr0_get<memory_entry_t>(ptr_add<memory_entry_t>(p.2->memory_map.entries,n)) + $UN.ptr0_get<memory_area_t>(ptr_add<memory_area_t>(p.2->memory_map.entries,n)) ) implement print_memory_mappings(p) = let |