diff options
author | Marvin Borner | 2020-04-15 21:17:41 +0200 |
---|---|---|
committer | Marvin Borner | 2020-04-15 21:17:41 +0200 |
commit | e07894d21a0101b10ee6ad851773b725cbb9150d (patch) | |
tree | 75631b318a9403395fbb3b40abdade8a475cd30b /src/kernel/lib/memory.c | |
parent | aa3d1b4689e6dadd982fe1e5ca8af69ca39c617d (diff) |
Used macro magic to implement function-based logs
Diffstat (limited to 'src/kernel/lib/memory.c')
-rw-r--r-- | src/kernel/lib/memory.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/kernel/lib/memory.c b/src/kernel/lib/memory.c index 4763ca0..3202691 100644 --- a/src/kernel/lib/memory.c +++ b/src/kernel/lib/memory.c @@ -40,10 +40,10 @@ multiboot_info_t *multiboot_header; void memory_print() { if (multiboot_header->flags & MULTIBOOT_INFO_MEMORY) { - serial_printf("Mem lower: 0x%x", multiboot_header->mem_lower); - serial_printf("Mem upper: 0x%x", multiboot_header->mem_upper); + log("Mem lower: 0x%x", multiboot_header->mem_lower); + log("Mem upper: 0x%x", multiboot_header->mem_upper); } else { - serial_printf("No memory information available!"); + log("No memory information available!"); } } |