Module 2.1.ppt - MODULE 2 COMPUTER-SYSTEM STRUCTURES Computer System Operation I\/O Structure Storage Structure Storage Hierarchy Hardware Protection

Module 2.1.ppt - MODULE 2 COMPUTER-SYSTEM STRUCTURES...

This preview shows page 1 - 6 out of 24 pages.

MODULE 2: COMPUTER-SYSTEM STRUCTURES Computer System Operation I/O Structure Storage Structure Storage Hierarchy Hardware Protection General System Architecture
Image of page 1
COMPUTER-SYSTEM ARCHITECTURE
Image of page 2
COMPUTER-SYSTEM OPERATION I/O devices and the CPU can execute concurrently. Each device controller is in charge of a particular device type. Each device controller has a local buffer. CPU moves data from/to main memory to/from local buffers I/O is from the device to local buffer of controller. Device controller informs CPU that it has finished its operation by causing an interrupt .
Image of page 3
COMMON FUNCTIONS OF INTERRUPTS Interrupts transfers control to the interrupt service routine generally, through the interrupt vector , which contains the addresses of all the service routines. Interrupt architecture must save the address of the interrupted instruction. Incoming interrupts are disabled while another interrupt is being processed to prevent a lost interrupt . A trap is a software-generated interrupt caused either by an error or a user request. An operating system is interrupt driven. Trap –S/w Interrupt (Divide by zero or invalid memory access
Image of page 4
INTERRUPT HANDLING The operating system preserves the state of the CPU by storing registers and the program counter.
Image of page 5
Image of page 6

You've reached the end of your free preview.

Want to read all 24 pages?

  • Spring '19
  • Omprakash Patel
  • It, Virtual memory, Central processing unit, Computer data storage, Interrupt handler,  General System Architecture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture