









Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!










1: Operating Systems Overview
1: Operating Systems Overview
-^
-^
-^
-^
-^
-^
1: Operating Systems Overview
OPERATING
SYSTEM OVERVIEW
Components
1: Operating Systems Overview
5
-^
-^
-^
-^
OPERATING
SYSTEM OVERVIEW
Components
1: Operating Systems Overview
OPERATING
SYSTEM OVERVIEW
Characteristics
Interrupts: •^
Interrupt
transfers
control
to
the
interrupt
service
routine
generally,
through
the
interrupt vector
, which contains the addresses of all the service routines.
Interrupt architecture must save the address of the interrupted instruction.
-^
Incoming interrupts are
disabled
while another interrupt is being processed to prevent
a^
lost interrupt
trap
is a software-generated interrupt caused either by an error or a user request.
An operating system is
interrupt
driven.
1: Operating Systems Overview
OPERATING
SYSTEM OVERVIEW
HardwareSupport
These are the devices that makeup a typical system.
Any of these devices can cause
an electrical interrupt that grabsthe attention of the
1: Operating Systems Overview
OPERATING
SYSTEM OVERVIEW
HardwareSupport
This is O.S. Bookkeeping. These
structures are necessary to keep track of IO in progress.
1: Operating Systems Overview
Very fast storage is very expensive.
So the Operating System manages a hierarchy of
storage devices in order to make the best use of resources.
In fact,
considerable
effort
goes into this support.
OPERATING
SYSTEM OVERVIEW
StorageHierarchy
Fast and Expensive
Slow an Cheap
1: Operating Systems Overview
Caching: •Important
-^
-^
-^
-^
OPERATING
SYSTEM OVERVIEW
StorageHierarchy
1: Operating Systems Overview
The goal is protecting the Operating System andothers from malicious or ignorant users.The
User/Supervisor
Mode
and
privileged
instructions.Concurrent
threads
might
interfere
with
others.
This
leads
to^
protection
of
resources
by
user/supervisor mode. These resources include:
Define I/O instructions as privileged; they
can
be
executed
only
in
Supervisor
OPERATING mode. System calls get us from user tosupervisor mode.
SYSTEM OVERVIEW
Protection
1: Operating Systems Overview
16
OPERATINGclock causes an interrupt that causes the operating system to gain controlfrom a user program.
SYSTEM OVERVIEW
Protection
1: Operating Systems Overview
WRAPUP
OPERATING SYSTEM OVERVIEW