IOPCIDevice
A DriverKit provider object that manages access to your custom PCI hardware.
Declaration
class IOPCIDevice;Overview
Use an IOPCIDevice object to enable or manage the custom features of your PCI hardware. You don’t create instances of this class directly. Instead, the system creates an IOPCIDevice object and passes it to the IOService subclass of your custom driver. Use the methods of this object to read and write your hardware’s configuration settings. You can also use it to read and write any custom data in your device’s memory-mapped I/O.
Topics
Running the Service
Reading and Writing Configuration Data
ConfigurationRead8ConfigurationRead16ConfigurationRead32ConfigurationWrite8ConfigurationWrite16ConfigurationWrite32Configuration Data OffsetsBridge Header OffsetsCommand Register BitsStatus Register Bits
Reading and Writing Memory Locations
MemoryRead8MemoryRead8MemoryRead16MemoryRead16MemoryRead32MemoryRead32MemoryRead64MemoryRead64MemoryWrite8MemoryWrite8MemoryWrite16MemoryWrite16MemoryWrite32MemoryWrite32MemoryWrite64MemoryWrite64
Getting Device Information
Managing Interrupts
Managing Power
HasPCIPowerManagementEnablePCIPowerManagementPower Management CapabilitiesPower Management Control/Status Register