Basics of Task Creation and Startup

The following sections describe the steps typically taken by the OS when it must start (or resume) a task.

Load All or Part of the Task into Memory

The OS loads all or part of the task (i.e., at a minimum, the startup code for the task) into memory.

Create a TSS and a TSS Descriptor for the Task

The OS creates a data structure in memory defining the context of the processor at the point when it first begins execution of the task. In other words, the data structure defines an exact image of the information that should be present in the processor's register set when the processor initiates execution of the task. This data structure is referred to as the Task State Segment (TSS; see Figure 10-1 on page 175), and ...

Get The Unabridged Pentium 4 IA32 Processor Genealogy now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.