diff --git a/src/Descriptors.cc b/src/Descriptors.cc index 7f7c080..e437baf 100644 --- a/src/Descriptors.cc +++ b/src/Descriptors.cc @@ -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 */ diff --git a/src/Descriptors.hh b/src/Descriptors.hh index 7673c07..665ec14 100644 --- a/src/Descriptors.hh +++ b/src/Descriptors.hh @@ -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`. */