WDM驱动程序开发之PCI设备的配置空间:KPciConfiguration, KPciSlot类
来源:互联网 发布:斯皮尔伯格知乎 编辑:程序博客网 时间:2024/06/03 22:58
KPciConfiguration, KPciSlot类:
一、Overview
二、Member Functions of KPciConfiguration
1、KPciConfiguration - Constructor (4 forms)构造函数四种形式
2、Initialize - Initialization when default constructor used当用默认的不带参数的构造函数时,这个函数完成初始化任务
3、Invalidate - Removes the object from an initialized state从一个初始化了的状态删除对象资源
4、IsValid - Test if the object is initialized测试这个对象是否已经初始化成功
5、ReadHeader - Read PCI configuration header读PCI配置空间的头信息
6、WriteHeader - Write PCI configuration header写PCI配置空间的头信息
7、ReadDeviceSpecificConfig
8、WriteDeviceSpecificConfi
9、ReadCommandRegister - Read the PCI command register读PCI命令寄存器
10、WriteCommandRegister - Write the PCI command register写PCI命令寄存器
11、Control - Access the PCI control register读写PCI的控制寄存器
12、ReadStatusRegister - Read the PCI status register读PCI的状态寄存器
13、ReadBaseAddress - Read one of the base address registers from the PCI configuration space (two forms)从PCI配置空间中读一个基地址寄存器(两种形式)
14、WriteBaseAddress - Write one of the base address registers in the PCI configuration space (two forms)从PCI配置空间中写一个基地址寄存器(两种形式)
15、ReadInterrupt - Read the interrupt register读中断寄存器
16、WriteInterrupt - Write the interrupt register写中断寄存器
17、Enumerate - Static member to enumerate all PCI devices静态函数,用于列举所有PCI设备。
三、Member Functions of KPciSlot
1、KPciSlot - Constructor构造函数
2、Initialize - Initialize the object初始化对象的函数
3、Invalidate - Removes the object from an initialized state从一个初始化了的状态删除对象
4、Slot - Accessor to retrieve the slot vector获取插槽向量
5、Bus - Accessor to retrieve the bus number获取总线序号
6、Device - Accessor to retrieve the device number获取设备序号
7、Function - Accessor to retrieve the function number获取功能序号
8、Increment - Advance to the next function前进到下一个功能
9、IncrementDevice - Advance to the next device前进到下一个设备
10、MarkInvalid - Mark the object as invalid把对象标记为不合法
11、IsValid - Test the validity of the object测试对象的合法性
四、Example
class SuperFastCard : public KDevice
{
SuperFastCard::SuperFastCard(void) :
{
}
- WDM驱动程序开发之PCI设备的配置空间:KPciConfiguration, KPciSlot类
- 基于TMS320C6205的内嵌PCI设备WDM驱动程序开发
- WDM驱动程序开发之读写设备寄存器:KIoRange类
- WDM驱动程序开发之读写设备存储器:KMemoryRange类
- WDM驱动程序开发之环境配置篇
- PCI设备的配置空间
- WDM设备驱动程序开发平台
- WDM设备驱动程序开发平台
- PCI设备WINDOWS驱动程序的开发
- 基于WDM的专用USB设备的驱动程序开发
- PowerPC下PCI、PCI-E设备的配置空间
- 2.3 PCI桥与PCI设备的配置空间
- PCI桥与PCI设备的配置空间
- 2.3 PCI桥与PCI设备的配置空间
- 使用DriverStudio开发WDM设备驱动程序入门
- 开发WDM型USB设备驱动程序
- WDM设备驱动程序开发平台(转贴)
- WDM设备驱动程序开发平台1
- vertical-align属性学习记录
- 内存分析工具 MAT 的使用
- Edit Distance
- Stereo Matching文献笔记之(三):《Segment-Tree based Cost Aggregation for Stereo Matching》读后感~
- Android开发问题记录-Activity的background图片无法显示
- WDM驱动程序开发之PCI设备的配置空间:KPciConfiguration, KPciSlot类
- 全局函数插件 jquery
- SSH隧道远程端口转发配置方法
- CCCC 准备
- mysql
- 在网上下载好的PDF文件怎么进行修改
- 《ACM程序设计》书中题目O
- uboot下设备id描述
- 三天打鱼两天晒网