From 769791e8213fbf1defb81417b0547b51c3db5438 Mon Sep 17 00:00:00 2001 From: Greg Haerr Date: Mon, 2 Sep 2024 19:33:53 -0600 Subject: [PATCH] [kernel] Display number of tasks, files and inodes at boot --- elks/init/main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/elks/init/main.c b/elks/init/main.c index 09f862657..283aa5252 100644 --- a/elks/init/main.c +++ b/elks/init/main.c @@ -235,7 +235,8 @@ static void INITPROC kernel_banner(seg_t start, seg_t end, seg_t init, seg_t ext printk("8018X machine, "); #endif - printk("syscaps %x, %uK base ram\n", sys_caps, SETUP_MEM_KBYTES); + printk("syscaps %x, %uK base ram, %d tasks, %d files, %d inodes\n", + sys_caps, SETUP_MEM_KBYTES, max_tasks, nr_file, nr_inode); printk("ELKS %s (%u text, %u ftext, %u data, %u bss, %u heap)\n", system_utsname.release, (unsigned)_endtext, (unsigned)_endftext, (unsigned)_enddata,