Move descriptor classes to x86 namespace
This commit is contained in:
parent
0238e44efc
commit
3879b3c324
3 changed files with 17 additions and 10 deletions
|
@ -7,7 +7,14 @@
|
|||
* IDT.
|
||||
*/
|
||||
|
||||
namespace kernel {
|
||||
#ifndef __DESCRIPTORS_HH__
|
||||
#define __DESCRIPTORS_HH__
|
||||
|
||||
#include <stddef.h>
|
||||
#include <stdint.h>
|
||||
|
||||
|
||||
namespace x86 {
|
||||
|
||||
/**
|
||||
* SegmentDescriptors are entries in the GDT and LDT that describe memory
|
||||
|
@ -149,4 +156,6 @@ private:
|
|||
Descriptor mTable[Size];
|
||||
};
|
||||
|
||||
} /* namespace kernel */
|
||||
} /* namespace x86 */
|
||||
|
||||
#endif /* __DESCRIPTORS_HH__ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue