Skip to content

Commit

Permalink
Merge pull request #1987 from ghaerr/banner
Browse files Browse the repository at this point in the history
[kernel] Display number of tasks, files and inodes at boot
  • Loading branch information
ghaerr authored Sep 3, 2024
2 parents 7db60b8 + 769791e commit c753481
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion elks/init/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit c753481

Please sign in to comment.