diff options
Diffstat (limited to 'kernel/include/gdt.h')
| -rw-r--r-- | kernel/include/gdt.h | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/kernel/include/gdt.h b/kernel/include/gdt.h deleted file mode 100644 index 4cf7c4f..0000000 --- a/kernel/include/gdt.h +++ /dev/null @@ -1,23 +0,0 @@ -#include <stdint.h> - -struct gdt_entry { - uint16_t limit_low; - uint16_t base_low; - uint8_t base_middle; - uint8_t access; - uint8_t granularity; - uint8_t base_high; -} __attribute__((packed)); - -struct gdt_ptr { - uint16_t limit; - uint32_t base; -} __attribute__((packed)); - -struct gdt_entry gdt[3]; -struct gdt_ptr gp; - -/* assembly */ -extern void gdt_flush(uint32_t); - -void gdt_init(void); |