diff options
Diffstat (limited to 'src/kernel/lib/memory.c')
-rw-r--r-- | src/kernel/lib/memory.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/kernel/lib/memory.c b/src/kernel/lib/memory.c index db26c47..b571b83 100644 --- a/src/kernel/lib/memory.c +++ b/src/kernel/lib/memory.c @@ -81,6 +81,10 @@ void memory_mmap_init(struct multiboot_tag_mmap *tag) ((struct multiboot_tag_mmap *)tag)->entry_size)) { if (mmap->type == MULTIBOOT_MEMORY_AVAILABLE) { sum += mmap->len; + } else if (mmap->type == MULTIBOOT_MEMORY_ACPI_RECLAIMABLE) { + log("ACPI reclaimable memory"); + } else if (mmap->type == MULTIBOOT_MEMORY_BADRAM) { + warn("Bad memory!"); } } total = sum >> 10; // I want kb |