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

X86desc Class Reference

#include <x86desc.h>

Inheritance diagram for X86desc:

Gdt_entry Idt_entry List of all members.

Public Types

enum  {
  Accessed = 0x01, Access_kernel = 0x00, Access_user = 0x60, Access_present = 0x80,
  Access_tss = 0x09, Access_intr_gate = 0x0e, Access_trap_gate = 0x0f
}

Public Member Functions

const char * type_str () const
void gdt_entry_show ()
void idt_entry_show ()
void task_gate_show ()
void show ()
Unsigned64 get_raw ()
void get_raw (Unsigned32 *low, Unsigned32 *high)
void set_raw (Unsigned64 val)
void set_raw (Unsigned32 low, Unsigned32 high)
 X86desc ()
 X86desc (Unsigned64 val)
Address gdt_entry_base ()
Unsigned32 gdt_entry_limit ()
Unsigned32 gdt_entry_size ()
Address idt_entry_offset ()
Unsigned8 access ()
int present ()
Unsigned8 type ()
Unsigned8 dpl ()
bool unsafe ()

Protected Attributes

union {
   Idt_entry_desc   i
   Gdt_entry_desc   g
   Task_gate_desc   t
   Not_present_desc   n
   Unsigned64   r
_data

Classes

struct  Gdt_entry_desc
struct  Idt_entry_desc
struct  Not_present_desc
struct  Task_gate_desc

Member Enumeration Documentation

anonymous enum
 

Enumeration values:
Accessed 
Access_kernel 
Access_user 
Access_present 
Access_tss 
Access_intr_gate 
Access_trap_gate 


Constructor & Destructor Documentation

X86desc::X86desc  )  [inline]
 

X86desc::X86desc Unsigned64  val  )  [inline]
 


Member Function Documentation

Unsigned8 X86desc::access  )  [inline]
 

Unsigned8 X86desc::dpl  )  [inline]
 

Address X86desc::gdt_entry_base  )  [inline]
 

Unsigned32 X86desc::gdt_entry_limit  )  [inline]
 

void X86desc::gdt_entry_show  ) 
 

Unsigned32 X86desc::gdt_entry_size  )  [inline]
 

void X86desc::get_raw Unsigned32 *  low,
Unsigned32 *  high
[inline]
 

Unsigned64 X86desc::get_raw  )  [inline]
 

Address X86desc::idt_entry_offset  )  [inline]
 

void X86desc::idt_entry_show  ) 
 

int X86desc::present  )  [inline]
 

void X86desc::set_raw Unsigned32  low,
Unsigned32  high
[inline]
 

void X86desc::set_raw Unsigned64  val  )  [inline]
 

void X86desc::show  ) 
 

void X86desc::task_gate_show  ) 
 

Unsigned8 X86desc::type  )  [inline]
 

const char * X86desc::type_str  )  const
 

bool X86desc::unsafe  )  [inline]
 


Member Data Documentation

union { ... } X86desc::_data [protected]
 

Gdt_entry_desc X86desc::g [protected]
 

Idt_entry_desc X86desc::i [protected]
 

Not_present_desc X86desc::n [protected]
 

Unsigned64 X86desc::r [protected]
 

Task_gate_desc X86desc::t [protected]
 


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