mirror of
https://github.com/gbowne1/ClassicOS.git
synced 2025-10-13 21:25:07 -07:00
add the last of the files and some basic stubs for most of the empty files from last commit
This commit is contained in:
@@ -6,6 +6,7 @@
|
||||
#include "idt.h"
|
||||
#include "paging.h"
|
||||
#include "memmap.h"
|
||||
#include "gdt.h"
|
||||
|
||||
#define LPT1 0x378
|
||||
|
||||
@@ -23,6 +24,10 @@ void kmain(void) {
|
||||
|
||||
lpt_write('L'); // Send 'L' to LPT1 to test
|
||||
|
||||
terminal_write("Initializing GDT...\n");
|
||||
gdt_init();
|
||||
serial_write("GDT initialized.\n");
|
||||
|
||||
terminal_write("Initializing IDT...\n");
|
||||
idt_init();
|
||||
serial_write("IDT initialized.\n");
|
||||
|
Reference in New Issue
Block a user