Interrupt Dispatch and Handling (for first common vectors)
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "gdt.h"
|
||||
#include <stdint.h>
|
||||
#include "../io/serial.h"
|
||||
|
||||
// Descriptors are 8-byte wide (64bits)
|
||||
// So the selectors will be (in bytes): 0x0, 0x8, 0x10, 0x18, etc..
|
||||
@@ -76,4 +77,6 @@ void gdt_init()
|
||||
// Load the GDT we created, flush the old one
|
||||
gdt_load();
|
||||
gdt_flush();
|
||||
|
||||
serial_kputs("kernel: gdt: Initialized GDT!\n");
|
||||
}
|
||||
Reference in New Issue
Block a user