diff options
author | Marvin Borner | 2020-04-18 19:27:00 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-18 19:27:00 +0200 |
commit | dce9106bcb47ef37a4cf5a221340f4eb438aedfe (patch) | |
tree | 2b1ec8efdba9b31510ad6f49a9610df701aab025 /src/kernel/lib/memory.c | |
parent | f943fad362a0e17f6e294341b32e49b9afd6e9d7 (diff) |
Added fadt flags and ACPI reboot
Diffstat (limited to 'src/kernel/lib/memory.c')
-rw-r--r-- | src/kernel/lib/memory.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/kernel/lib/memory.c b/src/kernel/lib/memory.c index 3901c39..6238535 100644 --- a/src/kernel/lib/memory.c +++ b/src/kernel/lib/memory.c @@ -80,17 +80,17 @@ void memory_mmap_init(struct multiboot_tag_mmap *tag) mmap = (multiboot_memory_map_t *)((uint32_t)mmap + ((struct multiboot_tag_mmap *)tag)->entry_size)) { if (mmap->type == MULTIBOOT_MEMORY_AVAILABLE) { - log("Found free memory"); + debug("Found free memory"); paging_set_present(mmap->addr, mmap->len >> 12); sum += mmap->len; } else if (mmap->type == MULTIBOOT_MEMORY_RESERVED) { - log("Found reserved memory"); + debug("Found reserved memory"); paging_set_present(mmap->addr, mmap->len >> 12); paging_set_used(mmap->addr, mmap->len >> 12); } else if (mmap->type == MULTIBOOT_MEMORY_ACPI_RECLAIMABLE) { - log("Found ACPI reclaimable memory"); + debug("Found ACPI reclaimable memory"); } else if (mmap->type == MULTIBOOT_MEMORY_NVS) { - log("Found NVS memory"); + debug("Found NVS memory"); } else if (mmap->type == MULTIBOOT_MEMORY_BADRAM) { warn("Found bad memory!"); } |