aboutsummaryrefslogtreecommitdiff
path: root/src/gdt.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gdt.h')
-rw-r--r--src/gdt.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gdt.h b/src/gdt.h
index 244908b..274cb6a 100644
--- a/src/gdt.h
+++ b/src/gdt.h
@@ -49,16 +49,16 @@ public:
SegmentDescriptor() { access.present = false; };
template <uint32_t limit>
- static SegmentDescriptor make(uint32_t base, Access a) {
+ static SegmentDescriptor make(uint32_t base, Access type) {
static_assert(limit <= 0xffffu || (limit & 0xfff) == 0xfff);
- return SegmentDescriptor(base, limit, a);
+ return SegmentDescriptor(base, limit, type);
}
[[nodiscard]] uint32_t base() const;
[[nodiscard]] uint32_t limit() const;
private:
- SegmentDescriptor(uint32_t base, uint32_t limit, Access a);
+ SegmentDescriptor(uint32_t base, uint32_t limit, Access type);
/*
* |31| | | | | | |24|23|22|21|20|19| | |16|15| | |12|11| | | 8| 7| | | | | | | 0|