Page 81 - slides.dvi
P. 81

•
                                                                    •
               –
                         –
                    –
                              –
                                                                                                               I/O
                                                     –
                                                –
                                                          –
   Operating
                                     OS
                         I/O
                              I/O
   Systems
                    polled
                                     deals
                                                event
                                                                    Programs
   —
               processor
                                                          terminal
                                                     windows
   I/O
                                     with
                    versus
                         hardware
                                                     not
                                                                    access
                                                stream
                                                                                                               Subsystem
                              instructions
   Subsystem
                                                          streams
                                                not
                         type
                                                                                              Priv
                                                                                H/W
               interrupt
                                                                                                       Unpriv
                                                     frame
                                                                    virtual
                                                          not
                    interrupt
                                                raw
                              versus
                         (e.g.
                                                                                       Driver
                                                                                         Device
                                                                                Keyboard
                                                     buffer
                                     processor–device
                         10’s
                    driven
                                                                    devices:
                                                mouse
               mechanism
                                                                                                I/O Buffering
                                                                                       Driver
                                                                                         Device
                              memory
                         of
                                                                                HardDisk
                                                          terminals
                         serial
                                     interface:
                                                                                                      Application-I/O Interface
                              mapped
                                                                                       Driver
                                                                                                I/O Scheduling
                                                                                         Device
                                                                                Network
                                                –
                                                          –
                                                     –
                         chips)
                                                          files
                                                     printer
                                                          not
                                                transport
                                                                                Device Layer
                                                          disk
                                                                                        Device Driver Layer
                                                                                                      Virtual Device Layer
                                                     spooler
                                                                                               Common I/O Functions
                                                     not
                                                protocols
                                                          blocks
                                                not
                                                     parallel
                                                raw
                                                     port
   77
                                                ethernet
   76   77   78   79   80   81   82   83   84   85   86