aboutsummaryrefslogtreecommitdiff
path: root/src/gdt/segmentdescriptor.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdt/segmentdescriptor.cc')
-rw-r--r--src/gdt/segmentdescriptor.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gdt/segmentdescriptor.cc b/src/gdt/segmentdescriptor.cc
index 94205c8..baf4753 100644
--- a/src/gdt/segmentdescriptor.cc
+++ b/src/gdt/segmentdescriptor.cc
@@ -1,6 +1,7 @@
#include "../gdt.h"
-GDT::SegmentDescriptor::SegmentDescriptor(uint32_t base, uint32_t limit, GDT::SegmentDescriptor::Access a) : access(a) {
+GDT::SegmentDescriptor::SegmentDescriptor(uint32_t base, uint32_t limit, GDT::SegmentDescriptor::Access type)
+ : access(type) {
// store base
base_15_0 = base & 0xffff;
base_23_16 = (base >> 16) & 0xff;