Friedrich-Alexander-Universität Erlangen-Nürnberg  /   Technische Fakultät  /   Department Informatik
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...
 

Structs

struct  GDT::Pointer
 Structure that describes a GDT Pointer (aka GDT Descriptor) More...
 
struct  GDT::SegmentDescriptor.__unnamed__
 
struct  GDT::SegmentDescriptor.__unnamed__
 Fields specific for Code Segment. More...
 
struct  GDT::SegmentDescriptor.__unnamed__
 Fields specific for Data Segment. More...
 
struct  GDT::SegmentDescriptor.__unnamed__
 Fields specific to the Task State Segment. More...
 

Namespaces

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

Enumerations

enum  Segments {
  SEGMENT_NULL = 0,
  SEGMENT_KERNEL_CODE,
  SEGMENT_KERNEL_DATA
}
 
enum  GDT::Granularity {
  GDT::GRANULARITY_BYTES = 0,
  GDT::GRANULARITY_4KBLOCK = 1
}
 Unit of the segment limit. More...
 
enum  GDT::Type {
  GDT::TYPE_SYSTEM16 = 0,
  GDT::TYPE_SYSTEM32 = 1,
  GDT::TYPE_DATA = 2,
  GDT::TYPE_CODE = 3
}
 Segment type. More...
 
enum  GDT::Size {
  GDT::SIZE_16BIT = 0,
  GDT::SIZE_32BIT = 1
}
 Address width in code segment. More...
 
enum  GDT::Gate {
  GATE_TSS = 0x1,
  GATE_LDT = 0x2,
  GDT::GATE_TSS_BUSY = 0x3,
  GATE_CALL = 0x4,
  GDT::GATE_TASK = 0x5,
  GATE_INTERRUPT = 0x6,
  GATE_TRAP = 0x7
}
 gate type More...
 
enum  GDT::Mode {
  REAL_MODE,
  PROTECTED_MODE,
  LONG_MODE
}
 Modus.
 

Detailed Description