Back to home page

OSCL-LXR

 
 

    


0001 Chinese translated version of Documentation/core-api/irq/index.rst
0002 
0003 If you have any comment or update to the content, please contact the
0004 original document maintainer directly.  However, if you have a problem
0005 communicating in English you can also ask the Chinese maintainer for
0006 help.  Contact the Chinese maintainer if this translation is outdated
0007 or if there is a problem with the translation.
0008 
0009 Maintainer: Eric W. Biederman <ebiederman@xmission.com>
0010 Traditional Chinese maintainer: Hu Haowen <src.res@email.cn>
0011 ---------------------------------------------------------------------
0012 Documentation/core-api/irq/index.rst 的繁體中文翻譯
0013 
0014 如果想評論或更新本文的內容,請直接聯繫原文檔的維護者。如果你使用英文
0015 交流有困難的話,也可以向繁體中文版維護者求助。如果本翻譯更新不及時或
0016 者翻譯存在問題,請聯繫繁體中文版維護者。
0017 
0018 英文版維護者: Eric W. Biederman <ebiederman@xmission.com>
0019 繁體中文版維護者: 胡皓文 Hu Haowen <src.res@email.cn>
0020 繁體中文版翻譯者: 胡皓文 Hu Haowen <src.res@email.cn>
0021 繁體中文版校譯者: 胡皓文 Hu Haowen <src.res@email.cn>
0022 
0023 
0024 以下爲正文
0025 ---------------------------------------------------------------------
0026 何爲 IRQ?
0027 
0028 一個 IRQ 是來自某個設備的一個中斷請求。目前,它們可以來自一個硬體引腳,
0029 或來自一個數據包。多個設備可能連接到同個硬體引腳,從而共享一個 IRQ。
0030 
0031 一個 IRQ 編號是用於告知硬體中斷源的內核標識。通常情況下,這是一個
0032 全局 irq_desc 數組的索引,但是除了在 linux/interrupt.h 中的實現,
0033 具體的細節是體系結構特定的。
0034 
0035 一個 IRQ 編號是設備上某個可能的中斷源的枚舉。通常情況下,枚舉的編號是
0036 該引腳在系統內中斷控制器的所有輸入引腳中的編號。對於 ISA 總線中的情況,
0037 枚舉的是在兩個 i8259 中斷控制器中 16 個輸入引腳。
0038 
0039 架構可以對 IRQ 編號指定額外的含義,在硬體涉及任何手工配置的情況下,
0040 是被提倡的。ISA 的 IRQ 是一個分配這類額外含義的典型例子。
0041