|
ArvernOS
|
#include <stdint.h>Data Structures | |
| union | pci_device_t |
| struct | pci_driver_t |
Functions | |
| uint32_t | pci_read (pci_device_t device, uint32_t field, uint8_t size) |
| void | pci_write (pci_device_t device, uint32_t field, uint32_t value) |
This module manages the Peripheral Component Interconnect (PCI) bus.
| uint32_t pci_read | ( | pci_device_t | device, |
| uint32_t | field, | ||
| uint8_t | size ) |
Reads a field from the configuration space.
| device | the PCI device |
| field | the field to read |
| size | the size of the value for the field to read |
| void pci_write | ( | pci_device_t | device, |
| uint32_t | field, | ||
| uint32_t | value ) |
Writes a value to a field in the configuration space.
| device | the PCI device |
| field | the field to update |
| value | the new value for the field |