Page 14 - slides.dvi
P. 14

•
                           •
                                         •
                                                        •
                                                 •
               –
                    –
                           In
   Operating
                                         Only
                                                 Access
                    main
   Systems
                                  Typically
                           reality,
                                                        Hardware
   —
                                         allow
                                                 out
               (covered
                                                 of
                           more
   Structures
               later
                                  disable
                    schemes
                                                        checks
   &
                                         update
               on
                                                 range
                    are
                                         of
               in
                                                        every
                                                                                                               Protection
                                                 ⇒
                           complex
                                                                                  CPU
   Protection
                                  memory
                                         base
                                                 vector
               course)
                                         and
                                                        memory
   Mechanisms
                                                 into
                    segmentation
                           protection
                                         limit
                                  protection
                                                                                                               Hardware
                                                                               no
                                  in
                    and
                           h/w
                                                                                     yes
                                                        reference.
                                                 operating
                                         registers
                                  kernel
                           used:
                    paging
                                         in
                                                                               no
                                                                   vector to OS (address error)
                                                                                                   base+limit
                                  mode
                                                 system
                                                                                     yes
                                         kernel
                                                 (just
                                                                           Memory                  base        Memory
                                                 as
                                         mode.
                                  (although
                                  a
                                                 for
                                                 an
                                  bad
                                  idea).


                                                 interrupt).



   10
   9   10   11   12   13   14   15   16   17   18   19