Hi all, Forgive me of the naive questions about PCI device driver.
I am reading something about PCI device driver, as mentioned in the materials, the PCI device contains three memory space: i/o, configuration, and memory space.I know that the configuration memory space is located in the PCI device, which, is responsible for guiding the allocation of the other two memory spaces. However, I am puzzled if the two memory spaces(i/o, memory) are really physically existed in every PCI device, in the form of "an on-device memory"? Or, these spaces are only allocated at the booting stage and are actually exitsed in the physical memory range? In a PCI device driver, I implemented the mmap() function to mmap the pci device into the user applications, then what's the memory space mapped? Is it only the "PCI memory space" in the PCI device? Or the three memory spaces together? Thank you in advance. -- Regards Ning Deng School Of Computer Science and Technology Beijng Institute of Technology, China, 100081 dunning2...@gmail.com
_______________________________________________ driver-discuss mailing list driver-discuss@opensolaris.org http://mail.opensolaris.org/mailman/listinfo/driver-discuss