linux-kernel – in_irq()可靠吗?

linux-kernel – in_irq()可靠吗?

Unreliable Guide To Hacking The Linux Kernel表示 You can tell you are in a hardware interrupt, because in_irq() returns true. Caution. Beware that this will return a false positive if interrupts are dis

linux-kernel – do_IRQ中的中断向量和irq映射

linux-kernel – do_IRQ中的中断向量和irq映射

我正在使用 Linux 3.6.0的x86系统.对于某些实验,我需要知道IRQ如何映射到矢量.我从很多书中学到说,向量0x0到0x20用于陷阱和异常,从向量0x20开始用于外部器件中断.这也在源代码Linux / arch / x86 / include / asm / irq_vectors.h中定义 但是,令我困惑的是,当