diff options
| author | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2024-05-10 01:44:59 -0400 |
|---|---|---|
| committer | EmulatedSeasons <89668582+EmulatedSeasons@users.noreply.github.com> | 2024-05-10 01:44:59 -0400 |
| commit | 975a9ec96e282e437ccc1bdf1e660dcbf4542791 (patch) | |
| tree | 29bdbd7769d59df82c6bace1d653c8be310c2d08 /kernel/arch/x86_64/isr_handler.cpp | |
| parent | abaab98bd757cd0818cfcddc983eee25ab7672ed (diff) | |
Added GDT and basic IDT as well as a bitmap drawing function
Diffstat (limited to 'kernel/arch/x86_64/isr_handler.cpp')
| -rw-r--r-- | kernel/arch/x86_64/isr_handler.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
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 <stdint.h>
+#include <stdio.h>
+
+extern "C" void exception_handler(int e) {
+ printf("Exception: %x", e);
+}
\ No newline at end of file |
