summaryrefslogtreecommitdiff
path: root/include/gdt.h
diff options
context:
space:
mode:
authorSimponic <loganthebean222@gmail.com>2021-03-01 15:17:24 -0700
committerSimponic <loganthebean222@gmail.com>2021-03-01 15:17:24 -0700
commitc0c846cc15bbc4a14f705eeb923ed1024f4ee1a0 (patch)
tree9556cbe258bc72d263c33dc4d9876d4fb72402dc /include/gdt.h
parent09d1dcf3b115658283cb09a08986271398e8d8f8 (diff)
downloadsimponicOS-c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0.tar.gz
simponicOS-c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0.zip
Move to GitHub for flexing
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