Use of A System Call to Perform IO Silberschatz Galvin and Gagne 2002 222

Use of a system call to perform io silberschatz

This preview shows page 11 - 15 out of 15 pages.

Use of A System Call to Perform I/O Silberschatz, Galvin and Gagne 2002 2.22 Operating System Concepts Memory Protection Must provide memory protection at least for the interrupt vector and the interrupt service routines. In order to have memory protection, add two registers that determine the range of legal addresses a program may access: Base register holds the smallest legal physical memory address. Limit register contains the size of the range Memory outside the defined range is protected.
Image of page 11
Silberschatz, Galvin and Gagne 2002 2.23 Operating System Concepts Use of A Base and Limit Register Silberschatz, Galvin and Gagne 2002 2.24 Operating System Concepts Hardware Address Protection
Image of page 12
Silberschatz, Galvin and Gagne 2002 2.25 Operating System Concepts Hardware Protection When executing in monitor mode, the operating system has unrestricted access to both monitor and user s memory. The load instructions for the base and limit registers are privileged instructions. Silberschatz, Galvin and Gagne 2002 2.26 Operating System Concepts CPU Protection Timer interrupts computer after specified period to ensure operating system maintains control. Timer is decremented every clock tick. When timer reaches the value 0, an interrupt occurs. Timer commonly used to implement time sharing. Time also used to compute the current time. Load-timer is a privileged instruction.
Image of page 13
Silberschatz, Galvin and Gagne 2002 2.27 Operating System Concepts Network Structure Local Area Networks (LAN) Wide Area Networks (WAN) Silberschatz, Galvin and Gagne 2002 2.28 Operating System Concepts Local Area Network Structure
Image of page 14
Silberschatz, Galvin and Gagne 2002 2.29 Operating System Concepts Wide Area Network Structure
Image of page 15

You've reached the end of your free preview.

Want to read all 15 pages?

  • Spring '18

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture