Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Interrupt Handling in Operating System

Rating
-
Sold
-
Pages
15
Uploaded on
05-06-2022
Written in
2020/2021

in this document, we discussed the handling of an interrupt in operation and how to handle the interrupt in OS.

Institution
Course

Content preview

Operating Systems
Interrupts
A Question
• The operating system
– Gets an input
– Performs a computation
– Produces an output
– And Quits
– Yes or no?
The answer: No
The operating system is a Reactive Program.
Operating System
• Modern Operating Systems are Interrupt driven
• If
– No process to execute
– No I/O device to service
– No user to whom to respond
• Then
– OS will sit quietly, waiting for something to happen
• This something is Interrupt
• At a particular time either a user program is running or an operating system
is running
– Pseudo-Parallelism

, CPU Cycle now is:




Role of Interrupts
Interrupts are signals sent to the CPU by external devices, normally I/O devices.
They tell the CPU to stop its current activities and execute the appropriate part of
the operating system.
Interrupt handling in modern operating systems
In several operating systems such as Linux. mac or windows Interrupt handling is
divided into two parts −
 First-level interrupt handlers (FLIH), also known as hard interrupt handlers
or fast interrupt handlers.
 Second-level interrupt handlers (SLIH), also known as slow interrupt
handlers or soft interrupt handlers.
The uses and properties of FLIH and SLIH are given below −
FLIH
 These include platform-specific interrupt handling.
 It causes jitter in the execution of the process.
 It also masks interrupts.
 FLIH is known as the upper half of Linux.

Written for

Course

Document information

Uploaded on
June 5, 2022
Number of pages
15
Written in
2020/2021
Type
Class notes
Professor(s)
Cimah
Contains
Bs, bsc, ms, msc, first year, second year, mcs, os, cs

Subjects

$4.49
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
Seema080

Also available in package deal

Get to know the seller

Seller avatar
Seema080 university
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
4 year
Number of followers
0
Documents
15
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions