Professional Documents
Culture Documents
Ch03 OS9e
Ch03 OS9e
Systems:
Internals
and Design Chapter 3
Principles Process Description
and Control
Ninth Edition
By William Stallings
Program code
• which may be shared with other processes that are executing the
same program
Identifier
Program
State Priority
counter
• Where the
To manage process is located
and control • The attributes of
a process the process that
the OS are necessary for
its management
must know:
(Table is located
on page 125 in the
textbook)
(Table is located
on page 125 in the textbook)
• User-visible
• Contains condition
Consists
registers codes plus other
of the • Control and Program status information
contents status status • EFLAGS register is
of word an example of a
processor registers PSW used by any
registers • Stack (PSW)
OS running on an
pointers x86 processor
x86
EFLAGS
Register
Bits
Typical
Functions
of an
Operating
System
Kernel
User Processes
Operate in user mode to execute user programs and utilities
Operate in kernel mode to execute instructions that belong to the kernel
Enter kernel mode by issuing a system call, when an exception is generated, or
when an interrupt occurs
3.10
UNIX
Process
Image
(Table is located on
page 140 in the
textbook)