AquilaOS documentation
How it works, and its code
Loading...
Searching...
No Matches
pci_bar Struct Reference

A base address register (BAR): where the device's registers are, how big they are, and whether they are ports or memory. More...

#include <pci.h>

Data Fields

uint64_t addr
uint64_t size
int io

Detailed Description

A base address register (BAR): where the device's registers are, how big they are, and whether they are ports or memory.

Definition at line 81 of file pci.h.

Field Documentation

◆ addr

uint64_t pci_bar::addr

Definition at line 82 of file pci.h.

Referenced by e1000_probe(), pci_assign(), pci_bar(), and pci_msi_enable().

◆ io

int pci_bar::io

Definition at line 84 of file pci.h.

Referenced by e1000_probe(), pci_assign(), and pci_bar().

◆ size

uint64_t pci_bar::size

Definition at line 83 of file pci.h.

Referenced by e1000_probe(), pci_assign(), and pci_bar().


The documentation for this struct was generated from the following file:
  • kernel/include/dev/pci.h