apple

In computing, an interrupt is an asynchronous event that suspends normal processing and temporarily diverts the flow of control through an interrupt handler routine.

Description

Interrupts may be caused by both hardware (I/O, timer, machine check) and software (supervisor, system call or trap instruction).[1] At Apple Computer in 1983, the Macintosh development team was known to use trap instructions, which used less memory than Lisa system calls on similar Motorola 68000 processors.[2]

In general the computer responds to an interrupt by storing the information about the current state of the running program; storing information to identify the source of the interrupt; and invoking a first-level interrupt handler. This is usually a kernel level privileged process that can discover the precise cause of the interrupt (e.g. if several devices share one interrupt) and what must be done to keep operating system tables (such as the process table) updated. This first-level handler may then call another handler, e.g. one associated with the particular device which generated the interrupt.[1]

References

  1. 1.0 1.1 Interrupt at the Free On-Line Dictionary Of Computing. 1995-02-07.
  2. RMaker by Andy Hertzfeld, Folklore. 1983-03.

External links

Utility stub shuffle This article is a stub. You can help the Apple Wiki by expanding it.
FOLDOC logo This page uses GFDL licensed content from the Free On-line Dictionary of Computing.