Warm tip: This article is reproduced from stackoverflow.com, please click
assembly interrupt computer-architecture interrupt-handling

Vectored interrupts

发布于 2020-04-10 10:07:48

What is the difference between vectored and non vectored interrupts?

I thought all interrupts had to be vectored interrupts... After all don't all interrupts have a vector number and thus a vector with a specific ISR [interrupt service routine]

(ISR address would in the page table, at 4 * the vector # in device that generated interrupt; assuming a 32 bit address architecture)....

Thanks!

Questioner
rrazd
Viewed
79
user541686 2015-06-02 23:55

See here:

  • Vectored interrupts: Device tells CPU that it needs attention, identifying itself via the interrupt
  • Polled interrupts: CPU has to poll multiple devices to see which one had requested attention