[][src]Module x86::bits64::segmentation

Structs

Descriptor64

Entry for IDT, GDT or LDT.

Functions

load_cs

Reload code segment register. Note this is special since we can not directly move to %cs. Instead we push the new segment selector and return value on the stack and use lretq to reload cs and continue at 1:.

rdfsbase

Read FS Segment Base Needs FSGSBASE-Enable Bit (bit 16 of CR4) set.

rdgsbase

Read GS Segment Base Needs FSGSBASE-Enable Bit (bit 16 of CR4) set.

wrfsbase

Write FS Segment Base Needs FSGSBASE-Enable Bit (bit 16 of CR4) set.

wrgsbase

Write GS Segment Base Needs FSGSBASE-Enable Bit (bit 16 of CR4) set.