Intel 8254x: Difference between revisions

Jump to navigation Jump to search
no edit summary
[unchecked revision][unchecked revision]
(→‎Emulation: Added qemu support clarification)
No edit summary
Line 25:
The device will also fill in the PCI Base Address Registers (BAR). BAR0 will either be a 64-bit or 32-bit MMIO address (checked by testing bits 2:1 to see if it's 00b (32-bit) or 10b (64-bit)) that points to the device's base register space. BAR0 should always be used to interface with the device via MMIO as the BAR number never changes in different devices in the series.
 
There is also a BAR that will contain an I/O base address, this can be detected by looking at each BAR and testing bit 1. Documentation states this will be in either BAR2 or BAR4, but emulators may move it.
 
When using MMIO, reading/writing to/from registers is very straight-forward.
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.

Navigation menu