1PCI_MMAP_RESOURCE(9) Hardware Interfaces PCI_MMAP_RESOURCE(9)
2
3
4
6 pci_mmap_resource - map a PCI resource into user memory space
7
9 int pci_mmap_resource(struct kobject * kobj,
10 struct bin_attribute * attr,
11 struct vm_area_struct * vma, int write_combine);
12
14 kobj
15 kobject for mapping
16
17 attr
18 struct bin_attribute for the file being mapped
19
20 vma
21 struct vm_area_struct passed into the mmap
22
23 write_combine
24 1 for write_combine mapping
25
27 Use the regular PCI mapping routines to map a PCI resource into
28 userspace.
29
31Kernel Hackers Manual 2.6. June 2019 PCI_MMAP_RESOURCE(9)