From c9c64b154afab4ec9db6671c070b9bcaa074c7f5 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sun, 13 Mar 2016 13:14:45 -0400 Subject: [PATCH] Make IDT size public --- src/Descriptors.hh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Descriptors.hh b/src/Descriptors.hh index 72d685b..7673c07 100644 --- a/src/Descriptors.hh +++ b/src/Descriptors.hh @@ -136,6 +136,12 @@ struct IDT Descriptor descriptor() const; }; + /** + * Size of the table. IDTs shouldn't have any more than this many + * descriptors. + */ + static const size_t Size = 256; + static IDT& systemIDT(); IDT(); @@ -149,12 +155,6 @@ struct IDT void load() const; private: - /** - * Size of the table. IDTs shouldn't have any more than this many - * descriptors. - */ - static const size_t Size = 256; - Descriptor mTable[Size]; };