Contents

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

Reading and Writing Memory Locations

Getting Device Information

Managing Interrupts

Managing Power

Getting Error Codes

Instance Methods

See Also

Device Interface