Added ISRs and IRQs drivers and set up all interrupts in assembly, however the does not work, yet
This commit is contained in:
@@ -1,11 +1,14 @@
|
||||
#include "drivers/tty.h"
|
||||
#include "drivers/gdt.h"
|
||||
#include "drivers/idt.h"
|
||||
#include "drivers/isr.h"
|
||||
#include "libc/stdio.h"
|
||||
|
||||
void kernel_main() {
|
||||
clear_prompt();
|
||||
init_prompt(); // Initialize frame buffer
|
||||
gdt_setup(); // Setup Global Descriptor Table
|
||||
idt_setup(); // Setup Interrupt Descriptor Table
|
||||
|
||||
puts("Hello World!");
|
||||
}
|
||||
Reference in New Issue
Block a user