Skip to Content
Computers as Components, 2nd Edition
book

Computers as Components, 2nd Edition

by Marilyn Wolf
July 2008
Intermediate to advanced
544 pages
16h 52m
English
Morgan Kaufmann
Content preview from Computers as Components, 2nd Edition
106 CHAPTER 3 CPUs
Device 1
Device 2 Device 3
CPU
L3 L2 L1
FIGURE 3.4
Using polling to share an interrupt over several devices.
As shown in Figure 3.4, you can use a small amount of logic external to the CPU
to generate an interrupt whenever any of the devices you want to group together
request service. The CPU will call the interrupt handler associated with this priority;
that handler does not know which of the devices actually requested the interrupt.
The handler uses software polling to check the status of each device: In this example,
it would read the status registers of 1, 2, and 3 to see which of them is ready and
requesting service.
Example 3.7
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Computers as Components, 3rd Edition

Computers as Components, 3rd Edition

Marilyn Wolf
Computer System Designs: System-on-Chip

Computer System Designs: System-on-Chip

Michael J. Flynn, Wayne Luk
PC Hardware in a Nutshell, 3rd Edition

PC Hardware in a Nutshell, 3rd Edition

Robert Bruce Thompson, Barbara Fritchman Thompson

Publisher Resources

ISBN: 9780123743978