函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

Source Code:kernel\irq\irq_sim.c Create Date:2022-07-27 11:14:38
Last Modify:2020-03-12 14:18:49 Copyright©Brick
首页 函数Tree
注解内核,赢得工具下载SCCTEnglish

函数名称:irq_sim_handle_irq

函数原型:static void irq_sim_handle_irq(struct irq_work *work)

返回类型:void

参数:

类型参数名称
struct irq_work *work
49  offset等于0
53  work_ctx等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work, structirq_sim_work_ctx, work)
54  sim等于container_of - cast a member of a structure out to the containing structure*@ptr: the pointer to the member.*@type: the type of the container struct this is embedded in.*@member: the name of the member within the struct.(work_ctx, structirq_sim, work_ctx)
56  当非bitmap_empty(pending, irq_count)循环
57  offset等于在内存区域中找到下一个设置位
59  lear_bit - Clears a bit in memory*@nr: Bit to clear*@addr: Address to start counting from* This is a relaxed atomic operation (no implied memory barriers).
60  irqnum等于q_sim_irqnum - Get the allocated number of a dummy interrupt.*@sim: The interrupt simulator object.*@offset: Offset of the simulated interrupt for which to retrieve* the number.
61  handle_simple_irq - Simple and software-decoded IRQs.*@desc: the interrupt description structure for this irq* Simple interrupts are either sent from a demultiplexing interrupt* handler or come from hardware, where no interrupt hardware control