Skip to content

C++ class for easy read and write of PCI(e) device BARs via mmap

License

Notifications You must be signed in to change notification settings

ROW6/easy-pci-mmap

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

easy-pci-mmap

C++ class for easy read and write of PCI(e) device BARs via mmap

Usage

See example/example.cpp, it should explain most.

An easy way to get Vendor and Device IDs of your PCI(e) device is to compare lspci -n output with lspci output. For example,

00:1f.2 0106: 8086:8c02 (rev 05)

0x8086 would be the Vendor ID, and 0x8c02 the Device ID.

About

C++ class for easy read and write of PCI(e) device BARs via mmap

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 85.4%
  • Makefile 14.6%