StuBS
gdt.h File Reference

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

#include "types.h"
Include dependency graph for gdt.h:
This graph shows which files directly or indirectly include this file:

Classes

union  GDT::SegmentDescriptor
 Describes the structure of segment descriptors. More...

Structs

struct  GDT::Pointer
 Structure that describes a GDT Pointer (aka GDT Descriptor). More...

Namespaces

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

Enumerations

enum  GDT::Segments {
  GDT::SEGMENT_NULL = 0 ,
  GDT::SEGMENT_KERNEL_CODE ,
  GDT::SEGMENT_KERNEL_DATA
}
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 ,
  GDT::SIZE_64BIT_CODE = 1 ,
  GDT::SIZE_64BIT_DATA = 0
}
 Address width. More...

Detailed Description