Orange Pi5 kernel

Deprecated Linux kernel 5.10.110 for OrangePi 5/5B/5+ boards

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