aboutsummaryrefslogtreecommitdiff
path: root/src/gdt.h
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2021-02-28 14:53:13 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2021-02-28 14:53:13 +0200
commit09cf6b4ca8799990b9c01db04c5f4ffbef798773 (patch)
treed660da543cccbfad03d637b34815017d0e477e47 /src/gdt.h
parentEnable interrupts (diff)
downloadkernel.cpp-09cf6b4ca8799990b9c01db04c5f4ffbef798773.tar.xz
Fix interrupts causing exception 0xd
Diffstat (limited to 'src/gdt.h')
-rw-r--r--src/gdt.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gdt.h b/src/gdt.h
index a86a14f..bb7181b 100644
--- a/src/gdt.h
+++ b/src/gdt.h
@@ -30,6 +30,8 @@ public:
GDT();
~GDT() = default;
+ uint16_t codeDescriptor() const;
+
struct Pointer {
uint16_t limit;
uint32_t base;