Difference between an IRQ and interrupt vector in linux kernel

ぐ巨炮叔叔 提交于 2019-12-03 08:51:34

问题


I am a little confused over IRQ and vector when it comes to working at the kernel API's.

I want to use vector 0xfa for some interrupt handling which will be generated by a programmable lapic.

I looked at API's such as request_irq and set_intr_gate (also alloc_intr_gate which calls set_intr_gate) for enabling the vector in my IDT table. Are both for the same purpose, or are they totally different? What will be the best way to use it?

来源:https://stackoverflow.com/questions/4835714/difference-between-an-irq-and-interrupt-vector-in-linux-kernel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!