Segment Descriptor

  • Segment selectors point to segment descriptors
  • Segment Descriptor: An 8 byte field containing information describing a segment.
    • There are many types of segments the three most notable ones are code segment descriptors, data segment descriptors, task state segment descriptors (TSSD) and local state segment descriptors (LSSD)
      • Code Segment Descriptors: S=1 for a non system segment and refers to a code segment GDT or the LDT
      • Data Segment Descriptors: Refers to data segment.  S=1 GDT or the LDT
      • TSSD: Refers to the Task State Segment which is used to save contents of processor registers. Only in GDT. S=0. Type=11 (busy CPU/executing) or 9 (idle CPU)
      • LSSD: Refers to the segment containing a LDTOnly exists in the GDT.  Type=2, S=0

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s