From 626bd9a53b1085b56ee54c900bfafdad79967725 Mon Sep 17 00:00:00 2001 From: Nic Gaffney Date: Mon, 11 Dec 2023 04:47:44 -0600 Subject: added a couple small things, nothing really changed --- src/include/gdt.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/include/gdt.h') diff --git a/src/include/gdt.h b/src/include/gdt.h index 05f426e..06a0d96 100644 --- a/src/include/gdt.h +++ b/src/include/gdt.h @@ -1,6 +1,7 @@ #pragma once #include #define FLAG 0b1100 + typedef struct Segment_Descriptor { uint16_t lim_low; uint16_t base_low; @@ -21,9 +22,6 @@ typedef struct GDT { Segment_Descriptor_t datadesc; } __attribute__((packed)) GDT_t; -uint8_t make_access(uint8_t DPL, uint8_t type, uint8_t exec, uint8_t direction, - uint8_t read_write); - uint16_t make_code(uint8_t priv, uint8_t dc, uint8_t rw); uint16_t make_data(uint8_t priv, uint8_t dc, uint8_t rw); -- cgit v1.2.3