From 975a9ec96e282e437ccc1bdf1e660dcbf4542791 Mon Sep 17 00:00:00 2001 From: EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> Date: Fri, 10 May 2024 01:44:59 -0400 Subject: Added GDT and basic IDT as well as a bitmap drawing function --- kernel/arch/x86_64/isr_handler.cpp | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 kernel/arch/x86_64/isr_handler.cpp (limited to 'kernel/arch/x86_64/isr_handler.cpp') diff --git a/kernel/arch/x86_64/isr_handler.cpp b/kernel/arch/x86_64/isr_handler.cpp new file mode 100644 index 0000000..caae24d --- /dev/null +++ b/kernel/arch/x86_64/isr_handler.cpp @@ -0,0 +1,6 @@ +#include +#include + +extern "C" void exception_handler(int e) { + printf("Exception: %x", e); +} \ No newline at end of file -- cgit v1.2.3-70-g09d2