vm: print log messages during initialisation

This commit is contained in:
2023-02-07 15:43:14 +00:00
parent bf0b4d412c
commit e9d4b60181
4 changed files with 10 additions and 0 deletions

View File

@@ -2,6 +2,7 @@
#include <socks/memblock.h>
#include <socks/vm.h>
#include <socks/util.h>
#include <socks/printk.h>
#include <socks/libc/string.h>
#define SIZE_N_CACHE(s) \
@@ -38,6 +39,7 @@ void kmalloc_init(void)
}
kmalloc_initialised = 1;
printk("vm: kmalloc size-N caches online");
}
void *kmalloc(size_t count, vm_flags_t flags)