|
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_entry * | entries () |
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 [] |