aboutsummaryrefslogtreecommitdiff
path: root/src/include/gdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gdt.h')
-rw-r--r--src/include/gdt.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/include/gdt.h b/src/include/gdt.h
index 8cc2542..b8d219a 100644
--- a/src/include/gdt.h
+++ b/src/include/gdt.h
@@ -16,12 +16,6 @@ typedef struct GDTR {
uint32_t offset;
} __attribute__((packed)) GDTR_t;
-// typedef struct GDT {
-// Segment_Descriptor_t nulldesc;
-// Segment_Descriptor_t codedesc;
-// Segment_Descriptor_t datadesc;
-// } __attribute__((packed)) GDT_t;
-
typedef Segment_Descriptor_t *GDT_t;
uint16_t make_code(uint8_t priv, uint8_t dc, uint8_t rw);