1
0
Fork 0

fix/kernel: Made it clearer in early logs that we are talking about addresses and not values

This commit is contained in:
Kevin Alavik 2025-05-15 17:17:57 +02:00
parent 6b811ad804
commit 65fbb97d8a
Signed by: cmpsb
GPG key ID: 10D1CC0526FDC6D7
2 changed files with 4 additions and 3 deletions

View file

@ -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

View file

@ -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");