Dokumentation

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 (for debugging purposes) More...
 
struct  GDT::SegmentDescriptor.__unnamed__
 Fields specific for Data Segment (for debugging purposes) 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::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 = 1
}
 Address width. More...
 

Detailed Description