Move descriptor classes to x86 namespace

This commit is contained in:
Eryn Wells 2016-03-09 01:12:05 -05:00
parent 0238e44efc
commit 3879b3c324
3 changed files with 17 additions and 10 deletions

View file

@ -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__ */