Beruflich Dokumente
Kultur Dokumente
Lecture30
0 0 0 0 0 1 1 11 1
device j enable
• The priority mask should be distinct from
individual enables.
req0
load
Current level Priority ack0
encoder
k
req k req1
k ack1
A B
Comparator
ack
B<A
Decoder reqm –1
ackm –1
• Priority Interrupt Mechanism is a separate
subsystem.
Therefore,
% of CPU time = 600 / (10 * 106)
spent in polling =0.006%
Problem statement:2
a): What should be the polling frequency for an I/O
device if the average delay between when the
device wants to make a request and the time it is
polled to be at most 10 ms?
Illegal
ld r1, [6]
out r1, dataport
• CPU acts as an unnecessary middleman
• Every data word travels over the
system bus twice
• Higher transfer rate
• Additional DMA controller required
DMA requests have priority over interrupts
Summary