请选择 进入手机版 | 继续访问电脑版

北南南北论坛

 找回密码
 立即注册
查看: 13|回复: 0

PPC中断/MSI-vxWorks

[复制链接]

653

主题

905

帖子

2936

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
2936
发表于 2017-12-31 20:09:59 | 显示全部楼层 |阅读模式
Interrupts are one type of exception. They are caused by interrupt requests from input pins or devices, such as internal peripherals.

As specified in the PowerPC? architecture,

all interrupts are required to share one exception vector offset, called “external interrupts”, normally at 0x500. The term “external interrupts” include all interrupts external to the CPU core, not just external to the chip. The terms “external interrupts” and “interrupts” are the same in this application note.

使用MPIC处理MSI时,PCIe设备的MSI报文,其目的地址为MPIC中断控制器的MSIIR寄存器。当该寄存器被PCIe设备写入后,MPIC向处理器core提交中断请求,将使用中断线Int0 Int1或者cintn向core提交中断请求,core被中断后,将读取ACK寄存器获得当前中断向量,然后调ISR.

Interrupt Service Routine Steps
1.png
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则


手机版|北南南北论坛  

GMT+8, 2018-1-17 19:08 , Processed in 0.069846 second(s), 32 queries .

© 2001-2016 VxWorks6 Inc.

快速回复 返回顶部 返回列表