aboutsummaryrefslogtreecommitdiff
path: root/include/03.gdt/gdt3.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/03.gdt/gdt3.h')
-rw-r--r--include/03.gdt/gdt3.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/include/03.gdt/gdt3.h b/include/03.gdt/gdt3.h
new file mode 100644
index 0000000..cbc5e1d
--- /dev/null
+++ b/include/03.gdt/gdt3.h
@@ -0,0 +1,9 @@
+struct gdt_entry
+{
+ uint16_t limit;
+ uint16_t base1;
+ uint8_t base2;
+ uint8_t access;
+ uint8_t limit_flags;
+ uint8_t base3;
+} __attribute__((packed));