Rename GDT::table -> mTable
This commit is contained in:
parent
75afe66362
commit
a320e103d2
2 changed files with 5 additions and 5 deletions
|
@ -86,7 +86,7 @@ GDT::DescriptorSpec::descriptor()
|
||||||
|
|
||||||
|
|
||||||
GDT::GDT()
|
GDT::GDT()
|
||||||
: table{0}
|
: mTable{0}
|
||||||
{ }
|
{ }
|
||||||
|
|
||||||
|
|
||||||
|
@ -97,7 +97,7 @@ GDT::setDescriptor(size_t index,
|
||||||
if (index >= GDT::Size) {
|
if (index >= GDT::Size) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
table[index] = spec.descriptor();
|
mTable[index] = spec.descriptor();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -107,7 +107,7 @@ GDT::setNullDescriptor(size_t index)
|
||||||
if (index >= GDT::Size) {
|
if (index >= GDT::Size) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
table[index] = 0;
|
mTable[index] = 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -115,7 +115,7 @@ void
|
||||||
GDT::load()
|
GDT::load()
|
||||||
const
|
const
|
||||||
{
|
{
|
||||||
PseudoDescriptor gdt {Size * sizeof(Descriptor) - 1, uint32_t(&table)};
|
PseudoDescriptor gdt {Size * sizeof(Descriptor) - 1, uint32_t(&mTable)};
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Load the new GDT with the pointer defined above. The GDT isn't actually
|
* Load the new GDT with the pointer defined above. The GDT isn't actually
|
||||||
|
|
|
@ -102,7 +102,7 @@ private:
|
||||||
// TODO: Maybe eventually I can make this variable? Maybe use templates?
|
// TODO: Maybe eventually I can make this variable? Maybe use templates?
|
||||||
static const size_t Size = 5;
|
static const size_t Size = 5;
|
||||||
|
|
||||||
Descriptor table[Size];
|
Descriptor mTable[Size];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue