swi SYS_ERROR0//复位异常,复位时会执行b vector_und+ stubs_offset//undefine未定义指令异常ldr pc, .LCvswi+ stubs_offset//swi软件中断异常b vector_pabt+ stubs_offset//指令预取中止abortb vector_dabt+ stubs_offset//数据访问中止abortb vector_addrexcptn+ stubs_offset//没有用到b vector_irq+ stub...
ldr lr,[pc,lr,lsl #2]//如果进入中断前是usr,则取出PC+4*0的内容,即__irq_usr @如果进入中断前是svc,则取出PC+4*3的内容,即__irq_svcmovs pc,lr//跳转到下面某处,且目标寄存器是pc,指令S结尾,最后会恢复cpsr..long __irq_usr @0(USR_26/USR_32).long __irq_invalid @1(FIQ_26/FIQ_32)...
1.以vector_irq中断为例, vector_irq是个宏,它在哪里定义呢? 它还是在arch/arm/kernel/entry_armv.S中定义,如下所示: vector_stub irq, IRQ_MODE, 4//irq:名字 IRQ_MODE:0X12 4:偏移量 上面的vector_stub 根据参数irq, IRQ_MODE, 4来定义” vector_ irq”这个宏(其它宏也是这样定义的) 2.vector_...
在 linux kernel 编译的时候,你可以配置多个 irq chip 进入内核,编译系统会把所有的 IRQCHIP_DECLARE 宏定义的数据放入到一个特殊的 section 中(section name 是__irqchip_of_table),我们称这个特殊的 section 叫做irq chip table。这个 table 也就保存了 kernel 支持的所有的中断控制器的 ID 信息(最重要的是...
irq-sifive-plic.c irq-stm32-exti.c irq-sunxi-nmi.c irq-tb10x.c irq-ti-sci-inta.c irq-ts4800.c irq-versatile-fpga.c irq-vic.c irq-xilinx-intc.c qcom-irq-combiner.c 10 changes: 4 additions & 6 deletions 10 drivers/irqchip/exynos-combiner.c Show comments View ...
irq_chip_pm_get+0x2c/0xa0 __irq_do_set_handler+0x178/0x24c irq_set_chained_handler_and_data+0x60/0xa4 mxc_gpio_probe+0x160/0x4b0 Cure this by implementing the irq_bus_lock/sync_unlock() interrupt chip callbacks and handle power management in them as they are invoked from non-...
irqchipSystem Virtualization is getting mature in servers and personal computers, so we can run multiple operating systems on the same hardware at the same time by leverage the benefit of Virtualization. It is used commonly in cloud computing technology. However, there are some restrictions in ...
pr_debug("mask: %d\n", irq); out_be32(regs + XINTC_CIE,1<< irq); } 开发者ID:mikuhatsune001,项目名称:linux2.6.32,代码行数:16,代码来源:xilinx_intc.c 示例2: adp5588_irq_unmask ▲点赞 6▼ staticvoidadp5588_irq_unmask(unsignedintirq){structadp5588_gpio*dev=get_irq_chip_data(irq...
本节学习下什么是irq domain, 以及irq domain的作用。...linux内核为了应对此问题,引入了IRQ-domain的概念 irq-domain的引入相当于一个中断控制器就是一个irq-domain。就是一个中断区域。...利用树状的结构可以充分的利用irq数目,而且每一个irq-domain区域可...
开发者ID:AD5GB,项目名称:kernel_n5_3.10-experimental,代码行数:36,代码来源:wcd9xxx-irq.c 示例3: qpnpint_irq_mask ▲点赞 4▼ staticvoidqpnpint_irq_mask(struct irq_data *d){structq_irq_data*irq_d=irq_data_get_irq_chip_data(d);structq_chip_data*chip_d=irq_d->chip_d;structq_peri...