kernel threads

kernel threads and preemptive multitasking
This commit is contained in:
Matheus
2022-08-13 14:00:26 -03:00
parent ac5339453b
commit e7f4245c6d
14 changed files with 274 additions and 44 deletions
+2 -2
View File
@@ -28,9 +28,7 @@ struct limine_terminal_response* liminetty;
int ttylock = 0;
void liminewrite(char* str, size_t c){
liminetty->write(liminetty->terminals[0], str, c);
}
void kmain(){
@@ -80,6 +78,8 @@ void kmain(){
pci_enumerate();
sched_init();
smp_init();
_panic("End of kmain()", 0);