diff options
author | Simponic <loganthebean222@gmail.com> | 2021-03-01 15:17:24 -0700 |
---|---|---|
committer | Simponic <loganthebean222@gmail.com> | 2021-03-01 15:17:24 -0700 |
commit | c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0 (patch) | |
tree | 9556cbe258bc72d263c33dc4d9876d4fb72402dc /include/gdt.h | |
parent | 09d1dcf3b115658283cb09a08986271398e8d8f8 (diff) | |
download | simponicOS-c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0.tar.gz simponicOS-c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0.zip |
Move to GitHub for flexing
Diffstat (limited to 'include/gdt.h')
-rw-r--r-- | include/gdt.h | 4 |
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 |