TkdPCIConfig
and TkdPCINonBridge
.Name | Description |
---|---|
Class TkdPCIConfig | Resource class TkdPCIConfig is the ancestor for all components modelling different configuration spaces of PCI devices. All PCI devices (and, consequently, their configuration spaces) are subdivided into 3 classes: normal PCI devices (PCI non-bridges), PCI bridges, and PCI cardbus bridges. Device driving is a process of reading from and writing to three address spaces: memory, port and configuration. Thus, in particular, accessing the configuration space is vital to the driver because it is the only way it can find out where the device is mapped in memory and in port space. Configuration space is a specifically structured memory area that consists of registers and those overall layout looks like TPciCfg record. This record is 256 bytes long; the first 64 bytes is device general info depending on PCI device class; remaining 192 bytes is device specific info. This class introduces 12 properties for specifying and accessing the corresponding registers of configuration space common to all PCI devices. Also, this class introduces 3 additional properties for specifying PCI logical vector that represents: bus number, slot number and function number of PCI device. This vector resolves the situation that more than one PCI device with the same device identifier and vendor identifier is in the system. |
Class TkdPCINonBridge | Final resource class TkdPCINonBridge models configuration space of normal PCI device (PCI non-bridge). To the series of properties already inherited, this class adds a new one to access the corresponding registers of configuration space specific to non-bridge PCI devices. To observe the overall layout of that part of configuration space see TNonBridge subrecord of TPciCfg record. All concerned properties inherited are made published to accomplish the whole configuration space of normal PCI device. |
ETSoft Tenzor.Net (etsoft@tenzor.net)
01 May 2004
05 February 2005