From 65fbb97d8ae95a150b0e6d69f98cd55ddc85dbd2 Mon Sep 17 00:00:00 2001 From: Kevin Alavik Date: Thu, 15 May 2025 17:17:57 +0200 Subject: [PATCH] fix/kernel: Made it clearer in early logs that we are talking about addresses and not values --- GNUmakefile | 3 ++- kernel/src/emk.c | 4 ++-- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 6af8a94..aa9b207 100644 --- a/GNUmakefile +++ b/GNUmakefile @@ -2,7 +2,8 @@ MAKEFLAGS += -rR .SUFFIXES: -QEMUFLAGS := -m 2G -serial stdio # -display none +QEMUFLAGS := -m 2G -serial stdio -display none +USER_QEMUFLAGS ?= IMAGE_NAME := release/emk HOST_CC := cc diff --git a/kernel/src/emk.c b/kernel/src/emk.c index 316e7c6..7780903 100644 --- a/kernel/src/emk.c +++ b/kernel/src/emk.c @@ -75,7 +75,7 @@ void emk_entry(void) kpanic(NULL, "Failed to allocate single physical page"); *a = 32; - log_early("Allocated 1 physical page: %llx", (uint64_t)a); + log_early("Allocated 1 physical page @ %llx", (uint64_t)a); pfree(a, 1); log_early("Initialized physical page manager"); @@ -104,7 +104,7 @@ void emk_entry(void) } *b = 32; - log_early("Allocated 1 virtual page: %llx", (uint64_t)b); + log_early("Allocated 1 virtual page @ %llx", (uint64_t)b); vfree(kvm_ctx, b); log_early("Initialized virtual page manager");