Commit e833217b by malcolm

Fixed up GDT files

parent 9cca56a9
Showing with 6 additions and 6 deletions
...@@ -18,12 +18,12 @@ ...@@ -18,12 +18,12 @@
#define GDT_GR_PG 0x80 #define GDT_GR_PG 0x80
typedef struct{ typedef struct{
uint16_t lim; uint16_t lim;
uint16_t low_base; uint16_t low_base;
uint8_t mid_base; uint8_t mid_base;
uint8_t flags; uint8_t flags;
uint8_t gran; uint8_t gran;
uint8_t high_base; uint8_t high_base;
} gdt_desc; } gdt_desc;
extern void gdt_set_desc(uint32_t i, uint64_t base, uint64_t limit, uint8_t access, uint8_t gran); extern void gdt_set_desc(uint32_t i, uint64_t base, uint64_t limit, uint8_t access, uint8_t gran);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment