diff options
Diffstat (limited to 'kernel/GDT/gdt.hpp')
| -rw-r--r-- | kernel/GDT/gdt.hpp | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/kernel/GDT/gdt.hpp b/kernel/GDT/gdt.hpp index 607cc72..a7966d6 100644 --- a/kernel/GDT/gdt.hpp +++ b/kernel/GDT/gdt.hpp @@ -14,10 +14,9 @@ struct gdtDescriptorStruct{ u16 limit1; u16 base1; u8 base2; - u8 type : 4; - u8 param1 : 4; + u8 access : 4; u8 limit2 : 4; - u8 param2 : 4; + u8 flags : 4; u8 base3; } __attribute__ ((packed)); @@ -36,7 +35,7 @@ class Gdt{ gdtPointerStruct m_Pointer; //Methods - void initGdtDesc(u32 base, u32 limit, u8 type, u8 param, gdtDescriptorStruct *Descriptor); + void initGdtDesc(u32 base, u32 limit, u8 access, u8 flags, gdtDescriptorStruct *Descriptor); public: |
