- 论坛徽章:
- 20
|
赞!
gate.c里的ascii表格是用什么工具画的?
- /*
- * Tss Descriptor
- * The TSS, like all other segments, is defined by a segment descriptor.
- * Figure show the format of a TSS descriptor. TSS descriptors may only
- * be placed in the GDT. They cannot be placed in an LDT or IDT.
- *
- * An attempt to access a TSS using a segment selector with its TI flag
- * set (which indicates the current LDT) causes a general-protection
- * exception (#GP) to be generated during CALLs and JMPs. it causes an
- * invalid TSS exception (#TS) during IRETs. A general-protection
- * exception is also generated if an attempt is made to load a segment
- * selector for a TSS into a segment register.
- *
- * 31---------24----------------------16---------11-8-7------------------0
- * | Base 21:24 |G|0|0|0|AVL|Limit 19:16|P|DPL|0|Type| Base 23:16 |
- * 31---------------------------------16---------------------------------0
- * | Base 15:00 | Segment limit 15:00 |
- * -----------------------------------------------------------------------
- */
复制代码 |
|