table of contents
other versions
- jessie-backports 4.9.88-1+deb9u1~bpo8+1
- stretch 4.9.144-3
PCI_MMAP_LEGACY_IO(9) | Hardware Interfaces | PCI_MMAP_LEGACY_IO(9) |
NAME¶
pci_mmap_legacy_io - map legacy PCI IO into user memory spaceSYNOPSIS¶
int
pci_mmap_legacy_io(struct file * filp,
struct kobject * kobj,
struct bin_attribute * attr,
struct vm_area_struct * vma);
ARGUMENTS¶
filpopen sysfs file
kobj
kobject corresponding to device to be mapped
attr
struct bin_attribute for this file
vma
struct vm_area_struct passed to mmap
DESCRIPTION¶
Uses an arch specific callback, pci_mmap_legacy_io_page_range, to mmap legacy IO space (first meg of bus space) into application virtual memory space. Returns -ENOSYS if the operation isn't supportedCOPYRIGHT¶
May 2018 | Kernel Hackers Manual 4.9. |