Make IDT size public
This commit is contained in:
parent
c581d1b99a
commit
c9c64b154a
1 changed files with 6 additions and 6 deletions
|
@ -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];
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue