StuBS
gdt.h File Reference

The Global Descriptor Table (GDT). More...

#include "types.h"
Include dependency graph for gdt.h:

Classes

union  GDT::SegmentDescriptor
 Describes the structure of segment descriptors. More...
 
struct  GDT::Pointer
 Structure that describes a GDT Pointer (aka GDT Descriptor) More...
 

Namespaces

 GDT
 Abstracts the GDT that, primarily, contains descriptors to memory segments.
 

Enumerations

enum  GDT::Granularity { GDT::GRANULARITY_BYTES = 0 , GDT::GRANULARITY_4KBLOCK = 1 }
 Unit of the segment limit. More...
 
enum  GDT::DescriptorType { GDT::DESCRIPTOR_SYSTEM = 0 , GDT::DESCRIPTOR_CODEDATA = 1 }
 Descriptor type. More...
 
enum  GDT::Size { GDT::SIZE_16BIT = 0 , GDT::SIZE_32BIT = 2 }
 Address width. More...
 
enum  GDT::Gate { }
 gate type More...
 

Detailed Description