Main Page | Modules | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

Gdt Class Reference

#include <gdt.h>

List of all members.

Public Types

enum  {
  gdt_tss = GDT_TSS, gdt_code_kernel = GDT_CODE_KERNEL, gdt_data_kernel = GDT_DATA_KERNEL, gdt_code_user = GDT_CODE_USER,
  gdt_data_user = GDT_DATA_USER, gdt_tss_dbf = GDT_TSS_DBF, gdt_utcb = GDT_UTCB, gdt_ldt = GDT_LDT,
  gdt_tls1 = GDT_TLS1, gdt_tls2 = GDT_TLS2, gdt_tls3 = GDT_TLS3, gdt_max = GDT_MAX
}
 Segment numbers. More...
enum  { Selector_user = 0x03, Selector_kernel = 0x00 }

Public Member Functions

void set_entry_byte (int nr, Address base, Unsigned32 limit, Unsigned8 access, Unsigned8 szbits)
void set_entry_4k (int nr, Address base, Unsigned32 limit, Unsigned8 access, Unsigned8 szbits)
void set_raw (int nr, Unsigned32 low, Unsigned32 high)
void set_raw (int nr, Unsigned64 val)
void get_raw (int nr, Unsigned32 *low, Unsigned32 *high)
void clear_entry (int nr)
Gdt_entryentries ()

Static Public Member Functions

static void set (Pseudo_descriptor *desc)
static void get (Pseudo_descriptor *desc)
static int data_segment (bool)

Private Attributes

Gdt_entry _entries []


Member Enumeration Documentation

anonymous enum
 

Segment numbers.

Enumeration values:
gdt_tss 
gdt_code_kernel 
gdt_data_kernel 
gdt_code_user 
gdt_data_user 
gdt_tss_dbf 
gdt_utcb 
gdt_ldt 
gdt_tls1 
gdt_tls2 
gdt_tls3 
gdt_max 

anonymous enum
 

Enumeration values:
Selector_user 
Selector_kernel 


Member Function Documentation

void Gdt::clear_entry int  nr  )  [inline]
 

int Gdt::data_segment bool   )  [inline, static]
 

Gdt_entry * Gdt::entries  )  [inline]
 

void Gdt::get Pseudo_descriptor desc  )  [inline, static]
 

void Gdt::get_raw int  nr,
Unsigned32 *  low,
Unsigned32 *  high
[inline]
 

void Gdt::set Pseudo_descriptor desc  )  [inline, static]
 

void Gdt::set_entry_4k int  nr,
Address  base,
Unsigned32  limit,
Unsigned8  access,
Unsigned8  szbits
[inline]
 

void Gdt::set_entry_byte int  nr,
Address  base,
Unsigned32  limit,
Unsigned8  access,
Unsigned8  szbits
[inline]
 

void Gdt::set_raw int  nr,
Unsigned64  val
[inline]
 

void Gdt::set_raw int  nr,
Unsigned32  low,
Unsigned32  high
[inline]
 


Member Data Documentation

Gdt_entry Gdt::_entries[] [private]
 


The documentation for this class was generated from the following file:
Generated on Mon Sep 26 14:20:14 2005 for Fiasco by  doxygen 1.4.2