TASKS AND STATE TRANSITIONS

 

 

CPU

,

 

 

INTEL RESERVED

 

 

 

 

 

 

plop+1 TYPE I 8A5E 23. 16

 

 

TASK REGISTER

 

T55

 

 

 

0----... DESCRIPTOR

 

8A5E,5_0

 

r---------,

 

 

 

 

 

IS

0

 

 

 

 

 

I

PROGRAM INVISIBLE

I

 

 

LIMIT,S·O

 

I

15

0

I

 

 

 

 

 

 

 

I

I

LIMIT

]i

------

 

------------

I

 

: I

BASE

 

 

,

 

,

I

 

0

I

 

 

L ____ ---

_...J

 

 

IS

0

TASK LOT SELECTOR

TYPE DESCRIPTION

1AN AVAILABLE TASK STATE SEGMENT MAY BE USED AS THE DESTINATION OF A TASK SWITCH OPERATION.

A BUSY TASK STATE SEGMENT CANNOT BE USED AS THE DESTINATION OF A TASK SWITCH.

BYTE

OFFSET

/(1)

42 --------

OS SELECTOR

55 SelECTOR

CS SELECTOR

ES SELECTOR

01

51

BP

SP

BX

TASK OX

STATE

SEGMENT ex

AX

FLAG WORD

IP {ENTRY POINT)

40P

1

38

0

36

34

32

30

28CURRENT TASK

26 STATE

24

22

20

18

16

14

DESCRIPTION

BASE AND LIMIT FIEL.DS ARE VALID

SEGMENT IS NOT PRESENT IN MEMORY. BASE AND LIMIT ARE NOT DEFINED

(2)

55 FOA CPL 2

SP FOR CPL 2

55 FOR CPL 1

SP FOR CPt: 1

58 FOR CPL 0

5P FDA CPl 0

BACK LINK SELECTOR TO TSS

(1)NEVER ALTERED (STATIC) AFTER INITIALIZATION BY 0.5.

"!"~!: VAIJ)I=c:..4.~ INITIAliZED FOR THIS TASK ARE ALWAYS VALID SS:SP VALUES TO USE UPON ENTRY TO THAT PRIVILEGE LEVEL (0, 1, OR 2) FROM A LEVEL OF LESSER PRIVILEGE.

(2)CHANGED DURING TASK SWITCH

12)

10

BJ STACKSINITIAL (1)

:FOR CPL 0.1.2

0 _

G3010B

Figure 8-1. Task State Segment and TSS Registers

8-2

Page 152
Image 152
Intel 80287, 80286 manual Tasks and State Transitions, Task State Segment and TSS Registers