summaryrefslogtreecommitdiff
path: root/src/kernel/arch/amd64
diff options
context:
space:
mode:
Diffstat (limited to 'src/kernel/arch/amd64')
-rw-r--r--src/kernel/arch/amd64/boot.c2
-rw-r--r--src/kernel/arch/amd64/driver/fsroot.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/kernel/arch/amd64/boot.c b/src/kernel/arch/amd64/boot.c
index 76bc864..19f249a 100644
--- a/src/kernel/arch/amd64/boot.c
+++ b/src/kernel/arch/amd64/boot.c
@@ -86,7 +86,7 @@ void kmain_early(void *mbi) {
}
void shutdown(void) {
- kprintf("shutting off\n");
+ kprintf("[kern] shutting off\n");
mem_debugprint();
cpu_shutdown();
}
diff --git a/src/kernel/arch/amd64/driver/fsroot.c b/src/kernel/arch/amd64/driver/fsroot.c
index 2684b72..228232e 100644
--- a/src/kernel/arch/amd64/driver/fsroot.c
+++ b/src/kernel/arch/amd64/driver/fsroot.c
@@ -53,7 +53,7 @@ handle(VfsReq *req)
case Hdev:
if (!dev) {
dev_len = get_dev(NULL);
- dev = kmalloc(dev_len);
+ dev = kmalloc(dev_len, "/ cache");
get_dev(dev);
}
lst = dev;