KernOS
GDT::Selector Struct Reference

convenience structure used to set bits of GdtEntry More...

Public Attributes

Segment m_Seg
 Segment enum. More...
 
uint8_t m_Offset
 Segment byte position in gdt_table. More...
 
uint32_t m_Base
 Base address of segment. More...
 
uint32_t m_Limit
 Limit address of segment. More...
 
uint8_t m_Access
 Access right bytes. More...
 
uint8_t m_Granularity
 Granularity setting. More...
 

Detailed Description

convenience structure used to set bits of GdtEntry

Definition at line 48 of file gdt.cpp.

Member Data Documentation

◆ m_Access

uint8_t GDT::Selector::m_Access

Access right bytes.

See also
AR

Definition at line 54 of file gdt.cpp.

◆ m_Base

uint32_t GDT::Selector::m_Base

Base address of segment.

Definition at line 52 of file gdt.cpp.

◆ m_Granularity

uint8_t GDT::Selector::m_Granularity

Granularity setting.

See also
bit 16-23

Definition at line 55 of file gdt.cpp.

◆ m_Limit

uint32_t GDT::Selector::m_Limit

Limit address of segment.

Definition at line 53 of file gdt.cpp.

◆ m_Offset

uint8_t GDT::Selector::m_Offset

Segment byte position in gdt_table.

Definition at line 51 of file gdt.cpp.

◆ m_Seg

Segment GDT::Selector::m_Seg

Segment enum.

Definition at line 50 of file gdt.cpp.


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