From c0c846cc15bbc4a14f705eeb923ed1024f4ee1a0 Mon Sep 17 00:00:00 2001 From: Simponic Date: Mon, 1 Mar 2021 15:17:24 -0700 Subject: Move to GitHub for flexing --- include/gdt.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'include/gdt.h') 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 -- cgit v1.2.3-70-g09d2