函数逻辑报告

Linux Kernel

v5.5.9

Brick Technologies Co., Ltd

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

函数名称:This function assumes to be called rarely. Switching between* 8259A registers is slow.* This has to be protected by the irq controller spinlock* before being called.

函数原型:static inline int i8259A_irq_real(unsigned int irq)

返回类型:int

参数:

类型参数名称
unsigned intirq
130  irqmask等于1左移irq
132  如果irq小于8则
133  Basic port I/O
134  value等于从端口输入字节按位与irqmask
135  Basic port I/O
136  返回:value
138  Basic port I/O
139  value等于从端口输入字节按位与irqmask右移8位
140  Basic port I/O
141  返回:value
调用者
名称描述
mask_and_ack_8259ACareful! The 8259A is a fragile beast, it pretty* much _has_ to be done exactly like this (mask it* first, _then_ send the EOI, and the order of EOI* to the two 8259s is important!