lec17_interrupttools0 - Lecture 17: Interrupt tools...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Lecture 17: Interrupt tools Interrupts: 2 kinds- external and internal : external examples: Timers, keyboard, external drivers, serial and parallel ports, digital logic pulses. internal examples: (processor generated) illegal code exceptions, task scheduling algorithms. Generally, H/W interrupts are external and S/W interrupts are internal, but not always. Question: Clocks and Watchdogs are examples of which kinds of interrupt: internal/external? Software interrupts:-Not caused by a (asynchronous) hardware event, but by a specific (synchronous) machine language operation code, such as a debugger compiler trap or an unexpected software condition or error, such as a divide by zero, or an undefined instruction. -Defined in the CPU hardware and have entries in the interrupt vector so the hardware knows where to jump to execute the appropriate ISR (hence the O/S cannot stop it). Note: Linux O/S will accept multiple interrupt handlers on the same interrupt number. Hardware interrupts:-R/T OS and scheduling system have no control over their occurrence.-Vectored by the CPU H/W to the corresponding ISR just like the Software interrupts are....
View Full Document

This note was uploaded on 04/07/2010 for the course ELEC ecse 421 taught by Professor Guss during the Winter '10 term at McGill.

Page1 / 4

lec17_interrupttools0 - Lecture 17: Interrupt tools...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online