UnnamedOS
gdt_selector_t Union Reference

A selector in the GDT. More...

Data Fields

struct {
   uint16_t   dpl: 2
 DPL needed to access this memory segment.
 
   uint16_t   idt: 1
 whether this is an IDT or GDT entry
 
   uint16_t   entry: 13
 index in the GDT
 
bits
 bit field
 
uint16_t word
 useful for casting
 

Detailed Description

A selector in the GDT.

Such a selector is loaded into a segment register (e.g. CS, DS, ES, FS, GS or SS) to translate virtual into linear addresses.

Definition at line 31 of file gdt.c.


The documentation for this union was generated from the following file: