Interrupt Descriptor Table: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
Revolution (talk | contribs) m Reverted edits by Revolution (talk) to last revision by Lukflug |
Revolution (talk | contribs) m Sorry I kinda did this weird, nothing much changed though. |
||
Line 82:
* '''Offset:''' A 32-bit value, split in two parts. It represents the address of the entry point of the '''[[Interrupt Service Routines|Interrupt Service Routine]]'''.
* '''Selector:''' A
* '''Gate Type:''' A 4-bit value which defines the type of gate this '''Interrupt Descriptor''' represents. There are five valid type values:
** '''0b0101''' or '''0x5''': Task Gate, note that in this case, the '''Offset''' value is unused and should be set to zero.
Line 142:
{| class="wikitable"
|+Gate Descriptor (64-bit):
!colspan="
|-
|colspan="
|-
!colspan="
|-
|colspan="
|-
!style="width: 50%; text-align: left;"|63 <span style="float: right;">48</span>
Line 155:
!style="width: 3.125%"|44
!style="width: 12.5%; text-align: left;"|43 <span style="float: right;">40</span>
!style="width:
!style="width: 9.375%; text-align: left;"|34 <span style="float: right;">32</span>
|-
|'''Offset'''<br>31 <span style="float: right;">16</span>
Line 163 ⟶ 164:
|'''Gate Type'''<br>3 <span style="float: right;">0</span>
|style="vertical-align:top"|Reserved
|'''IST'''<br>2 <span style="float: right;">0</span>
|-
!style="text-align: left;" |31 <span style="float: right;">16</span>
!style="text-align: left;" colspan="
|-
|'''Segment Selector'''<br>15 <span style="float: right;">0</span>
|colspan="
|}
* '''Offset:''' A 64-bit value, split in three parts. It represents the address of the entry point of the '''[[Interrupt Service Routines|Interrupt Service Routine]]'''.
* '''Selector:''' A
* '''IST:''' A 3-bit value which is an offset into the '''Interrupt Stack Table''', which is stored in the '''[[Task State Segment]]'''. If the bits are all set to zero, the '''Interrupt Stack Table''' is not used.
* '''Gate Type:''' A 4-bit value which defines the type of gate this '''Interrupt Descriptor''' represents. In long mode there are two valid type values:
|