1PCI_MMAP_LEGACY_IO(9)         Hardware Interfaces        PCI_MMAP_LEGACY_IO(9)
2
3
4

NAME

6       pci_mmap_legacy_io - map legacy PCI IO into user memory space
7

SYNOPSIS

9       int pci_mmap_legacy_io(struct file * filp, struct kobject * kobj,
10                              struct bin_attribute * attr,
11                              struct vm_area_struct * vma);
12

ARGUMENTS

14       filp
15           open sysfs file
16
17       kobj
18           kobject corresponding to device to be mapped
19
20       attr
21           struct bin_attribute for this file
22
23       vma
24           struct vm_area_struct passed to mmap
25

DESCRIPTION

27       Uses an arch specific callback, pci_mmap_legacy_io_page_range, to mmap
28       legacy IO space (first meg of bus space) into application virtual
29       memory space. Returns -ENOSYS if the operation isn't supported
30
32Kernel Hackers Manual 3.10         June 2019             PCI_MMAP_LEGACY_IO(9)
Impressum