| Os motores de busca de Datasheet de Componentes eletrônicos |
|
GXM Folha de dados(PDF) 70 Page - National Semiconductor (TI) |
|
|
|
|||||||||||||||||||||||||||||
GXM Folha de dados(HTML) 70 Page - National Semiconductor (TI) |
|
70 / 244 page ![]() www.national.com 70 Revision 3.1 Processor Programming (Continued) 3.8 MULTITASKING AND TASK STATE SEGMENTS The CPU enables rapid task switching using JMP and CALL instructions that refer to Task State Segments (TSS).During a switch,the complete task stateofthe cur- rent task is stored in its TSS, and the task state of the requested task is loaded from its TSS. The TSSs are defined through special segment descriptors and gates. The Task Register (TR) holds 16-bit descriptors that con- tain the base address and segment limit for each task state segment. The TR is loaded and stored via the LTR and STR instructions, respectively. The TR can only be accessed only during protected mode and can be loaded when the privilege level is 0 (most privileged). When the TR is loaded, the TR selector field indexes a TSS descrip- tor that must reside in the Global Descriptor Table (GDT). Only the 16-bit selector of a TSS descriptor in the TR is accessible. The BASE, TSS LIMT and ACCESS RIGHT fields are program invisible. During task switching, the processor saves the current CPU state in the TSS before starting a new task. The TSS can be either a 386/486-type 32-bit TSS (see Table 3-26) or a 286-type 16-bit TSS (see Table 3-27 on page 71). Task Gate Descriptors. A task gate descriptor provides controlled access to the descriptor for a task switch. The DPL of the task gate is used to control access. The selec- tor’s RPL and the CPL of the procedure must be a higher level (numerically less) than the DPL of the descriptor. The RPL in the task gate is not used. The I/O MapBaseAddress fieldinthe 32-bit TSSpoints to an I/O permission bit map that often follows the TSS at location +68h. Table 3-26. 32-Bit Task State Segment (TSS) Table 31 16 15 0 I/O Map Base Address 000000 000000000 T +64h 0000 000000000 000 Selector for Task’s LDT +60h 0000 000000000 000 GS +5Ch 0000 000000000 000 FS +58h 0000 000000000 000 DS +54h 0000 000000000 000 SS +50h 0000 000000000 000 CS +4Ch 0000 000000000 000 ES +48h EDI +44h ESI +40h EBP +3Ch ESP +38h EBX +34h EDX +30h ECX +2Ch EAX +28h EFLAGS +24h EIP +20h CR3 +1Ch 0000 000000000 000 SS for CPL = 2 +18h ESP for CPL = 2 +14h 0000 000000000 000 SS for CPL = 1 +10h ESP for CPL = 1 +Ch 0000 000000000 000 SS for CPL = 0 +8h ESP for CPL = 0 +4h 0000 000000000 000 Back Link (Old TSS Selector) +0h Note: 0= Reserved |
|
Ligação URL |
| ALLDATASHEET é útil para você? [ DONATE ] |
Sobre Alldatasheet | Publicidade | Contato conosco | Privacy Policy | Link para a ficha técnica | roca de Link | Lista de Fabricantes All Rights Reserved©Alldatasheet.com |
| Russian : Alldatasheetru.com | Korean : Alldatasheet.co.kr | Spanish : Alldatasheet.es | French : Alldatasheet.fr | Italian : Alldatasheetit.com Portuguese : Alldatasheetpt.com | Polish : Alldatasheet.pl | Vietnamese : Alldatasheet.vn Indian : Alldatasheet.in | Mexican : Alldatasheet.com.mx | British : Alldatasheet.co.uk | New Zealand : Alldatasheet.co.nz |
|
Family Site : ic2ic.com |
icmetro.com |