PCI: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
added source tags |
|||
Line 242:
|+I/O Space BAR Layout
|-
!31 -
!2▼
!1
|-
| 4-Byte Aligned Base Address
Line 251:
|}
When you want to retrieve the actual base address of a BAR, be sure to mask 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 .
|