struct SegmentSelector

Defined at line 215 of file ../../zircon/kernel/lib/arch/include/lib/arch/x86/descriptor.h

Defines a type representing a segment selector.

Public Members

uint16_t raw

Public Methods

typename std::remove_reference_t<decltype(raw)> rpl ()

Defined at line 218 of file ../../zircon/kernel/lib/arch/include/lib/arch/x86/descriptor.h

arch::SegmentSelector & set_rpl (typename std::remove_reference_t<decltype(raw)> val)

Defined at line 218 of file ../../zircon/kernel/lib/arch/include/lib/arch/x86/descriptor.h

typename std::remove_reference_t<decltype(raw)> is_ldt ()

Defined at line 219 of file ../../zircon/kernel/lib/arch/include/lib/arch/x86/descriptor.h

arch::SegmentSelector & set_is_ldt (typename std::remove_reference_t<decltype(raw)> val)

Defined at line 219 of file ../../zircon/kernel/lib/arch/include/lib/arch/x86/descriptor.h

typename std::remove_reference_t<decltype(raw)> index ()

Defined at line 220 of file ../../zircon/kernel/lib/arch/include/lib/arch/x86/descriptor.h

arch::SegmentSelector & set_index (typename std::remove_reference_t<decltype(raw)> val)

Defined at line 220 of file ../../zircon/kernel/lib/arch/include/lib/arch/x86/descriptor.h

SegmentSelector FromGdtIndex (uint16_t index)

Create a selector given an GDT entry's index.

Defined at line 223 of file ../../zircon/kernel/lib/arch/include/lib/arch/x86/descriptor.h