diff options
| author | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-16 16:42:22 -0400 |
|---|---|---|
| committer | Jon Santmyer <jon@jonsantmyer.com> | 2026-10-16 16:42:22 -0400 |
| commit | d8aca3ff2501f9a77e22e5afb7a30380aed205af (patch) | |
| tree | a27db1749a35aea07317406f170a2d9b2a799ce7 /boot/limine/memorymap.c | |
| parent | 548506392b789f58b1556a6ffca917441e1d89fd (diff) | |
| download | jove-kernel-d8aca3ff2501f9a77e22e5afb7a30380aed205af.tar.gz jove-kernel-d8aca3ff2501f9a77e22e5afb7a30380aed205af.tar.bz2 jove-kernel-d8aca3ff2501f9a77e22e5afb7a30380aed205af.zip | |
remove explicit framebuffer in kernel. reduce locking in syscalls
Diffstat (limited to 'boot/limine/memorymap.c')
| -rw-r--r-- | boot/limine/memorymap.c | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/boot/limine/memorymap.c b/boot/limine/memorymap.c index c558e75..7ce1da8 100644 --- a/boot/limine/memorymap.c +++ b/boot/limine/memorymap.c @@ -66,10 +66,11 @@ mem_setup_regions(void) region_new(region_obj, entry->base, entry->length / 0x1000); obj_release(region_obj); } - } - if(entry->type == LIMINE_MEMMAP_RESERVED | - entry->type == LIMINE_MEMMAP_ACPI_NVS | - entry->type == LIMINE_MEMMAP_ACPI_TABLES) + }else + if(entry->type == LIMINE_MEMMAP_RESERVED || + entry->type == LIMINE_MEMMAP_ACPI_NVS || + entry->type == LIMINE_MEMMAP_ACPI_TABLES || + entry->type == LIMINE_MEMMAP_FRAMEBUFFER) { intmax_t hw_pages = entry->length >> 12; uintptr_t base = entry->base; @@ -90,6 +91,8 @@ mem_setup_regions(void) hw_pages -= 4096; base += (4096ULL << 12); } + }else{ + klogf("Kmem %p : %p %s\n", entry->base, entry->length, limine_mmap_entry_type_str[entry->type]); } } } |
