Advanced OS 04

Download Report

Transcript Advanced OS 04

Operating Systems
Advanced OS - D
OS Advanced
The INTEL Architecture
OS Advanced
The OS functions within a specific
hardware environment.
The INTEL Architecture
OS Advanced
The INTEL Architecture was
developed in the early 1980’s with
the introduction of the 8086 Family
of processors
OS Advanced
Execution Modes
Real Address Mode
Protected Mode
Virtual 8086 Mode
System Management Mode
OS Advanced
Real Address Mode
Used for systems compatible with
older 8086 programs, the CPU is
treated as a very high speed 8086
processor
MS-DOS operates in this mode
OS Advanced
Protected Mode
Provides programs with code and
data protection
Windows 2000/XP use this mode
OS Advanced
Virtual 8086 Mode
Operates under the Protected Mode
An 8086 is simulated in separate
protected memory areas
Allows the benefits of Protected
Mode and Real Address Mode
OS Advanced
System Management Mode
Used for system security and power
management
OS Advanced
Memory Addressing
Real Memory is Physical Memory
Physical Memory is assigned a
unique physical address by
counting bytes sequentially starting
at zero
OS Advanced
Memory Addressing
The CPU can reference physical
addresses from 0 to a max of 4GB
OS Advanced
Memory Addressing
Program instructions (software)
specify logical addresses
OS Advanced
Memory Addressing
Logical Addresses consist of a base
address and an offset from the base
address
(Can be in virtual memory)
OS Advanced
Logical Addressing
OS Advanced
Memory Protection
Helps prevent one task from
accidentally or intentionally
changing the contents of memory
assigned to another task
OS Advanced
Memory Protection
Any violation of this results in a
General Protection Fault
(Blue Screen of Death, BSD)
OS Advanced
Limit Checking
Ensures that a given memory
access is not beyond the segments
boundaries
OS Advanced
Type Checking
Ensures that only code, data,
descriptors are used as they are
intended
OS Advanced
Privilege Levels
Four privilege levels 0 – 3
0 has the highest priority
3 has the lowest priority
OS Advanced
Improving the INTEL Architecture
Pipelining
SuperPipelining
SuperScalar
OS Advanced
Pipelining
Allows multiple instructions to be
processed simultaneously to obtain
an overall execution rate of one
instruction per clock cycle
Increases the throughput of the
CPU
OS Advanced
Pipelining
OS Advanced
SuperPipelining
Does one thing only, but does it fast
as possible, uses four stages to
execute an instruction which are
shorter than in pipelining
OS Advanced
SuperScalar
Uses a more than one pipeline
allowing more instructions to be
executed simultaneously
Pentium III – IV use this type
OS Advanced
MMX Technology
A set of extensions built on top of
the INTEL architecture to enhance
the performance of multimedia
applications
OS Advanced
Questions?