[譯]5.11. Functions and Variables Featured in This Chapter 本章的函數,變數和特性

來源:互聯網
上載者:User

目錄:http://www.cnblogs.com/WuCountry/archive/2008/11/15/1333960.html
 
[不提供插圖,讀者最好從網上下載源書]
   

5.11. Functions and Variables Featured in This Chapter 本章的函數,變數和特性
Table 5-1 summarizes the functions, macros, variables, and data structures introduced in this chapter.
表5-1是本章所涉及到的一些函數,宏,變數以及資料結構。

Table 5-1. Functions, macros, variables, and data structures related to system

Functions and macros

initialization Name  
request_irq   
free_irq

Description    
Registers and releases, respectively, a callback handler for an IRQ line. The registration can be exclusive or shared.
分別用於註冊和釋放在IRQ線路上的回調控制代碼!
 
request_region

release_region
 Allocates and releases I/O ports and I/O memory.
分配和釋放IO連接埠和IO記憶體
 
call_usermodehelper
 Invokes a user-space helper application.
調用使用者空間的輔助應用程式。
 
module_param
 Macro used to define configuration parameters for modules.
模組參數
 
net_dev_init
 Initializes a piece of the networking code at boot time.
在啟動時初始化
 
Global variables
 
dev_boot_phase
 Boolean flag used by legacy code to enforce the execution of net_dev_init before NIC device drivers register themselves.
邏輯標誌位,在老的代碼中用於強迫NIC裝置驅動在註冊net_dev_init之前來執行。

irq_desc
 Pointer to the vector of IRQ descriptors.
列印IRQ向量的描述資訊。
 
Data structure
  
struct irq_action
 Each IRQ line is defined by an instance of this structure. Among other fields, it includes a callback function.
每一個IRQ線路都定義了一個這個資料結構的執行個體。和其它欄位一起,還包括一個回呼函數 。
 
net_device
 Describes a network device.
 一個網路裝置的描述。

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.