Rename GDT::table -> mTable

This commit is contained in:
Eryn Wells 2016-03-09 01:26:35 -05:00
parent 75afe66362
commit a320e103d2
2 changed files with 5 additions and 5 deletions

View file

@ -86,7 +86,7 @@ GDT::DescriptorSpec::descriptor()
GDT::GDT()
: table{0}
: mTable{0}
{ }
@ -97,7 +97,7 @@ GDT::setDescriptor(size_t index,
if (index >= GDT::Size) {
return;
}
table[index] = spec.descriptor();
mTable[index] = spec.descriptor();
}
@ -107,7 +107,7 @@ GDT::setNullDescriptor(size_t index)
if (index >= GDT::Size) {
return;
}
table[index] = 0;
mTable[index] = 0;
}
@ -115,7 +115,7 @@ void
GDT::load()
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

View file

@ -102,7 +102,7 @@ private:
// TODO: Maybe eventually I can make this variable? Maybe use templates?
static const size_t Size = 5;
Descriptor table[Size];
Descriptor mTable[Size];
};