Struct microvmi::api::registers::SegmentReg [−][src]
Expand description
an x86 segment register
Fields
base: u64
Stores the base address of a code segment
limit: u32
Used as a threshold for offset. If offset added to base is more than limit, GP fault is generated. Otherwise a linear physical address is created.
selector: u16
Represents 16 bit segment selector consisting of a 2-bit Requested Privilege Level (RPL), a 1-bit Table Indicator (TI), and a 13-bit index.
Trait Implementations
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for SegmentReg
impl Send for SegmentReg
impl Sync for SegmentReg
impl Unpin for SegmentReg
impl UnwindSafe for SegmentReg