简体   繁体   English

中断向量表在Linux的哪里存储?

[英]Where does an interrupt vector table get stored in Linux?

使用request_irq将ISR处理程序注册到内核后,是否可以通过修改IVT来将中断线更改为指向其他功能/ ISR?

EDIT: X86 architecture

The answer depends on several conditions, such as architecture, real or protected memory mode. 答案取决于多种条件,例如体系结构,实际或受保护的内存模式。 As far as I know, on x86 architecture, in protected mode there is IDT - Interrupt Descriptor Table where the pointers to Interrupt Service Routines (ISR) are located. 据我所知,在x86体系结构上,在保护模式下有IDT-中断描述符表,在该表中有指向中断服务例程(ISR)的指针。 And the address of IDT is stored in IDTR (Interrup Descriptor Table Register). IDT的地址存储在IDTR(中断描述符表寄存器)中。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM