xref: /OK3568_Linux_fs/kernel/Documentation/translations/zh_CN/IRQ.txt (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593SmuzhiyunChinese translated version of Documentation/core-api/irq/index.rst
2*4882a593Smuzhiyun
3*4882a593SmuzhiyunIf you have any comment or update to the content, please contact the
4*4882a593Smuzhiyunoriginal document maintainer directly.  However, if you have a problem
5*4882a593Smuzhiyuncommunicating in English you can also ask the Chinese maintainer for
6*4882a593Smuzhiyunhelp.  Contact the Chinese maintainer if this translation is outdated
7*4882a593Smuzhiyunor if there is a problem with the translation.
8*4882a593Smuzhiyun
9*4882a593SmuzhiyunMaintainer: Eric W. Biederman <ebiederman@xmission.com>
10*4882a593SmuzhiyunChinese maintainer: Fu Wei <tekkamanninja@gmail.com>
11*4882a593Smuzhiyun---------------------------------------------------------------------
12*4882a593SmuzhiyunDocumentation/core-api/irq/index.rst 的中文翻译
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun如果想评论或更新本文的内容,请直接联系原文档的维护者。如果你使用英文
15*4882a593Smuzhiyun交流有困难的话,也可以向中文版维护者求助。如果本翻译更新不及时或者翻
16*4882a593Smuzhiyun译存在问题,请联系中文版维护者。
17*4882a593Smuzhiyun英文版维护者: Eric W. Biederman <ebiederman@xmission.com>
18*4882a593Smuzhiyun中文版维护者: 傅炜 Fu Wei <tekkamanninja@gmail.com>
19*4882a593Smuzhiyun中文版翻译者: 傅炜 Fu Wei <tekkamanninja@gmail.com>
20*4882a593Smuzhiyun中文版校译者: 傅炜 Fu Wei <tekkamanninja@gmail.com>
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun
23*4882a593Smuzhiyun以下为正文
24*4882a593Smuzhiyun---------------------------------------------------------------------
25*4882a593Smuzhiyun何为 IRQ?
26*4882a593Smuzhiyun
27*4882a593Smuzhiyun一个 IRQ 是来自某个设备的一个中断请求。目前,它们可以来自一个硬件引脚,
28*4882a593Smuzhiyun或来自一个数据包。多个设备可能连接到同个硬件引脚,从而共享一个 IRQ。
29*4882a593Smuzhiyun
30*4882a593Smuzhiyun一个 IRQ 编号是用于告知硬件中断源的内核标识。通常情况下,这是一个
31*4882a593Smuzhiyun全局 irq_desc 数组的索引,但是除了在 linux/interrupt.h 中的实现,
32*4882a593Smuzhiyun具体的细节是体系结构特定的。
33*4882a593Smuzhiyun
34*4882a593Smuzhiyun一个 IRQ 编号是设备上某个可能的中断源的枚举。通常情况下,枚举的编号是
35*4882a593Smuzhiyun该引脚在系统内中断控制器的所有输入引脚中的编号。对于 ISA 总线中的情况,
36*4882a593Smuzhiyun枚举的是在两个 i8259 中断控制器中 16 个输入引脚。
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun架构可以对 IRQ 编号指定额外的含义,在硬件涉及任何手工配置的情况下,
39*4882a593Smuzhiyun是被提倡的。ISA 的 IRQ 是一个分配这类额外含义的典型例子。
40