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 <limits.h>
#include <socks/vm.h>
#include <socks/memblock.h>
#include <socks/printk.h>
#include <stddef.h>
#include <limits.h>
#include <stdint.h>
@@ -15,6 +16,7 @@ kern_status_t vm_bootstrap(const vm_zone_descriptor_t *zones, size_t nr_zones)
/* we're only worrying about UMA systems for now */
node_data = memblock_alloc(sizeof(vm_pg_data_t) * numa_count, 8);
printk("vm: initialising %u node%s", numa_count, numa_count > 1 ? "s" : "");
vm_page_init_array();