struct GdtRegister64

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

Pointer/limit to the system GDT and IDT.

If user mode alignment checks are enabled the struct needs to be aligned

such that (ptr % 4 == 2), which can be done using `AlignedGdtRegister64`

below. Privileged mode users or users with alignment checks disabled need

not worry. (c.f., [intel/vol3] Section 3.5.1 Segment Descriptor Tables)

[intel/vol3]: Figure 2-6. Memory Management Registers

[amd/vol2]: Figure 4-8. GDTR and IDTR Format-Long Mode.

Public Members

uint16_t limit
uint64_t base

Public Methods

template <typename T, size_t N>
GdtRegister64 Make (std::span<T, N> entries)

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

template <typename T, size_t N>
GdtRegister64 Make (std::span<T, N> entries)

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

template <typename T, size_t N>
GdtRegister64 Make (std::span<T, N> entries)

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

template <typename T, size_t N>
GdtRegister64 Make (std::span<T, N> entries)

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