Page 84 - slides.dvi
P. 84

•
                                                                                           •
                                                                                                       Can
                    4.
                         3.
                              2.
                                                                          –
                                                                     –
                                                                               –
                                        1.
                                                                                    –
                                                       1.
   Operating
                                   –
                                                  –
                                             –
                                                                                                  service
                                                              Then
                                        for
                                                       for
                                                                                                       split
                                                                                    save
             Question:
                    enter
   Systems
                         signal
                                                                                           interrupt
                                                                     invoke
                                             clear
                              request
   —
                                                                               establish
                                        DMA
                                                  transfer
                                                                                    more
                         any
   I/O
             who
                                                                               a
                                                                                                  routine:
                                                                          demultiplex
                                                              interrupt
             is
                                                                                           handler
                                   acknowledge
                    scheduler
                                                  data.
                              another
                                                       programmed
                                                                                                               Interrupt-Driven
                                             interrupt
   Subsystem
                                        device:
                    or
                         waiting
                                                                     appropriate
                                                                                    registers
                                                              service
                                                                                                       implementation
                                                                               language
                                                       I/O
                                                                          interrupt
                                                                                                               I/O
                                                                          in
             scheduling
                                   transfer.
                              transfer
                                                                                                       into
                    return.
                              if
                                                              routine
                                                                     interrupt
                                                       device:
                                             (sometimes
                         processes.
             who?
                                             a
                              there
                                                                          software.
                                                                               environment
                                                                                                       low-level
                                             side
                                                                     service
                              are
                                                                                           (processor-dependent)
                                                                               (e.g.
                              any
                                                                               a
                                             effect
                                                                                           may:
                                                                               C
                                                                     routine
                                                              (device-specific
                                                                                                       interrupt
                                             of
                              more
                                                              but
                                             tx).
                                                                     (ISR)
                              I/O
                                                              not
                                                                               run-time
                                                                                                       handler
                                                                                                       plus
                                                                               stack)
                              requests
                              pending
                                                                                                       per-device
                                                              processor-specific)
                              on
                                                              will:
                              device.
                                                                                                       interrupt
   80
   79   80   81   82   83   84   85   86   87   88   89