Got basic tty driver & implemented Stack Smash Protector

This commit is contained in:
2025-02-17 21:02:10 +01:00
parent 983174a081
commit f9dece59ce
8 changed files with 114 additions and 24 deletions
+5 -1
View File
@@ -1,9 +1,13 @@
#include <kernel.h>
#include <tty.h>
#define _hlt() while (1) __asm__ volatile ("cli; hlt");
__noreturn
void kmain(void) {
tty_init();
printk("Hello, World!\n");
tty_puts("Hello, World!\n");
_hlt();
}