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;
|
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();
|
static IDT& systemIDT();
|
||||||
|
|
||||||
IDT();
|
IDT();
|
||||||
|
@ -149,12 +155,6 @@ struct IDT
|
||||||
void load() const;
|
void load() const;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
/**
|
|
||||||
* Size of the table. IDTs shouldn't have any more than this many
|
|
||||||
* descriptors.
|
|
||||||
*/
|
|
||||||
static const size_t Size = 256;
|
|
||||||
|
|
||||||
Descriptor mTable[Size];
|
Descriptor mTable[Size];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue