diff options
Diffstat (limited to 'src/utils/gdt.h')
| -rw-r--r-- | src/utils/gdt.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/utils/gdt.h b/src/utils/gdt.h index 01a01bf..f010891 100644 --- a/src/utils/gdt.h +++ b/src/utils/gdt.h @@ -3,6 +3,8 @@ #include "types.h" +#define GDT_MAX_ENTRIES 8 + // Access byte #define GDT_AC 1 // Access bit #define GDT_RW 1 << 1 // Read/Write bit @@ -70,4 +72,6 @@ void gdt_memcpy(); */ void gdt_write_entry(GDT_ENTRY entry, u32 id); +int gdt_user_ds_base(); + #endif |
