diff options
| author | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-12-11 04:47:44 -0600 |
|---|---|---|
| committer | Nic Gaffney <gaffney_nic@protonmail.com> | 2023-12-11 04:47:44 -0600 |
| commit | 626bd9a53b1085b56ee54c900bfafdad79967725 (patch) | |
| tree | ff0cf34a11301e2cd362a4c7a2f568232b143a8a /src/include/gdt.h | |
| parent | 083a88b7e1b2456fe10110b83027793348f3aa42 (diff) | |
| download | gftos-626bd9a53b1085b56ee54c900bfafdad79967725.tar.gz | |
added a couple small things, nothing really changed
Diffstat (limited to 'src/include/gdt.h')
| -rw-r--r-- | src/include/gdt.h | 4 |
1 files changed, 1 insertions, 3 deletions
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 <stdint.h> #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); |
