kernel: print version banner on boot

This commit is contained in:
2023-02-04 19:19:48 +00:00
parent 49d2b0a847
commit 17b90a484a
3 changed files with 10 additions and 3 deletions

View File

@@ -6,11 +6,13 @@
extern unsigned long get_rflags(void);
void print_kernel_banner(void)
{
printk("Socks kernel version " BUILD_ID);
}
void kernel_init(uintptr_t arg)
{
ml_init(arg);
printk("hello, world!");
ml_halt_cpu();
}