Skip to content

Commit

Permalink
32-bit TaskStateSegment moved to i386 namespace.
Browse files Browse the repository at this point in the history
  • Loading branch information
foxostro committed Dec 2, 2018
1 parent b2fb1f2 commit a49c9e7
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions KernelPlatformSupport/include/platform/i386/tss.hpp
Expand Up @@ -4,6 +4,10 @@
#include <cstdint>
#include <cstring> // for memset()

namespace i386 {

// TaskStateSegment must match the layout specified in the Intel Manual,
// Vol. 3a, section 7.2.1.
class TaskStateSegment {
public:
uint16_t link;
Expand Down Expand Up @@ -66,4 +70,6 @@ class TaskStateSegment {
}
};

} // namespace i386

#endif // FLAPJACKOS_KERNELPLATFORMSUPPORT_INCLUDE_PLATFORM_I386_TSS_HPP

0 comments on commit a49c9e7

Please sign in to comment.