aboutsummaryrefslogtreecommitdiff
path: root/src/include/gdt.h
diff options
context:
space:
mode:
authorNic Gaffney <gaffney_nic@protonmail.com>2024-02-06 04:58:35 -0600
committerNic Gaffney <gaffney_nic@protonmail.com>2024-02-06 04:58:35 -0600
commitecf636f2797647d5dfc38a4562cae53fe275217d (patch)
treec71d113c553821c2b949eb6a6cd67de5f2fce068 /src/include/gdt.h
parentf1dee4bc58e4bfb97a1b41831c5d4fc327882991 (diff)
downloadgftos-ecf636f2797647d5dfc38a4562cae53fe275217d.tar.gz
Interrupts + basic keyboard driver
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);