Anonymous user
PCI: Difference between revisions
m
→Base Address Registers
[unchecked revision] | [unchecked revision] |
(→Base Address Registers: fixed and masks (mem and io were switched)) |
|||
Line 249:
|}
When you want to retrieve the actual base address of a BAR, be sure to mask (that is, clear) the lower bits. For Memory Space BARs, you calculate (BAR & 0xFFFFFFF0). For I/O Space BARs, you calculate (BAR &
To determine the size of memory maps needed by a PCI device, you must read the BAR .
|