1PCI_MMAP_LEGACY_MEM(9) Hardware Interfaces PCI_MMAP_LEGACY_MEM(9)
2
3
4
6 pci_mmap_legacy_mem - map legacy PCI memory into user memory space
7
9 int pci_mmap_legacy_mem(struct file * filp, struct kobject * kobj,
10 struct bin_attribute * attr,
11 struct vm_area_struct * vma);
12
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
27 Uses an arch specific callback, pci_mmap_legacy_mem_page_range, to mmap
28 legacy memory space (first meg of bus space) into application virtual
29 memory space.
30
32Kernel Hackers Manual 3.10 June 2019 PCI_MMAP_LEGACY_MEM(9)