开发者

How to install interrupt handler for IPI in powerpc using MPIC?

开发者 https://www.devze.com 2022-12-11 09:17 出处:网络
Do CPUs (specifically powerpc) allow an interrupt handler to be installed for IPIs (inter processor interrupts) ? The MPIC I am using supports 4 IPIs per core and it has registers for setting the vect

Do CPUs (specifically powerpc) allow an interrupt handler to be installed for IPIs (inter processor interrupts) ? The MPIC I am using supports 4 IPIs per core and it has registers for setting the vector and priority of these IPIs, but where should I install the interrupt handler ? The CPU core has IVORs (Interrupt Vector Offset Registers) for setting interrupt handlers for external interrupt, internal interrupt, timer in开发者_开发知识库terrupts, exceptions, etc, but nothing for IPIs.


IPIs come in on the EE vector. You have to find from the MPIC why you got interrupted, in the EE exception handler.

0

精彩评论

暂无评论...
验证码 换一张
取 消