Get rid of the systemGDT()

This commit is contained in:
Eryn Wells 2016-03-25 01:29:02 -04:00
parent 6c91528fb2
commit 73143f4e00
2 changed files with 1 additions and 14 deletions

View file

@ -13,7 +13,7 @@ namespace {
/**
* Six byte field containing the length and a linear address where a descriptor
* table livs.
* table lives. One of these is passed to the `lgdt` and `lidt` instructions.
*/
struct PseudoDescriptor
{
@ -25,17 +25,6 @@ struct PseudoDescriptor
namespace x86 {
/*
* Static
*/
GDT&
GDT::systemGDT()
{
static GDT sGDT;
return sGDT;
}
/*
* Public
*/

View file

@ -85,8 +85,6 @@ struct GDT
Descriptor descriptor() const;
};
static GDT& systemGDT();
GDT();
/** Set the descriptor at the given `index` to the value of `spec`. */