|
mapping device from PCI 64-bit memory space
|
05/19/2011 7:28 PM
post85980
|
mapping device from PCI 64-bit memory space
Hi,
I have to obtain access to registers of the device, that is located on PCI 64-bit memory space. Do I have to do same
special operations?
By now I did following steps:
1) found device using _CA_PCI_Find_Device();
2) read off the device's base address from its pci configuration space;
3) mapped the device memory space using mmap() function.
Are above mentioned operations correct?
Is any difference between device mapping from 32-bits PCI memory space and 64-bit memory space?
Best Rgds
Mariusz
|
|
|