SegmentRegister

public struct SegmentRegister

A type that provides access to the individual components of a Segment Register.

  • The selector value loaded into the Segment Register. In real mode, this is the base address of the segment.

    Declaration

    Swift

    public var selector: UInt16
  • The logical base address of the segment.

    Declaration

    Swift

    public var base: UInt64
  • The limit of the segment in bytes.

    Declaration

    Swift

    public var limit: UInt32
  • The access rights and attributes of the selector.

    Declaration

    Swift

    public var accessRights: UInt32
  • Undocumented

    Declaration

    Swift

    public init(selector: UInt16, base: UInt64, limit: UInt32, accessRights: UInt32)