MGMT 1040 Lecture Notes - Lecture 16: Backplane, Interrupt

45 views2 pages
MGMT 1040 Tutorial 16 Notes Prioritization
Introduction
Requires additional hardware to implement.
Some systems use different interrupt lines for each interrupt
Others use a ethod called daisy chaiig, which places the iterrupts oto a sigle
interrupt line to the CPU in such a way that highest priorities are recognized first.
Multiple interrupts can be handled by assigning priorities to each interrupt.
In general, multiple interrupts will be handled top priority first.
A higher-priority interrupt will be allowed to interrupt an interrupt of lower priority
A lower-priority interrupt will have to wait until a higher-priority interrupt is completed.
This leads to a hierarchy of interrupts, in which higher-priority interrupts can interrupt
other interrupts of lower priority, back and forth
Eventually returning control to the original program that was running.
Although this sounds complicated, this situation is actually quite common, and is fairly
easy to implement.
A simple example of this situation.
Interrupt routine C is the highest priority, followed by B and A.
Most computer systems allow the system manager to establish priorities for the various
interrupts.
Priorities are established in a logical way.
The highest priorities are reserved for time-sensitive situations, such as power failure or
external events that are being time measured.
Keyboard events are also usually considered high-priority events, since data loss can
occur if the keyboard input is not read quickly.
Task completion interrupts usually take lower priorities, since the delay will not affect
the integrity of the data under normal conditions.
Depending on the system, priorities may be established with software or with hardware.
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows half of the first page of the document.
Unlock all 2 pages and 3 million more documents.

Already have an account? Log in

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents