现在的位置: 首页 > 综合 > 正文

[译]5.11. Functions and Variables Featured in This Chapter 本章的函数,变量和特性

2013年05月29日 ⁄ 综合 ⁄ 共 1275字 ⁄ 字号 评论关闭

目录: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.
 一个网络设备的描述。

抱歉!评论已关闭.