summaryrefslogtreecommitdiff
path: root/include/gdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/gdt.h')
-rw-r--r--include/gdt.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/gdt.h b/include/gdt.h
index 8b239dd..51a7112 100644
--- a/include/gdt.h
+++ b/include/gdt.h
@@ -14,4 +14,8 @@ struct GDT_ptr {
uint32_t base;
} __attribute((packed));
+uint8_t gdt_entries[8 * 3]; // (8 bytes per entry) * (num entries)
+
+void encodeGDT(uint8_t* gdtEntry, struct GDT source);
+void initializeGDT();
#endif //GDT_H