mmap PCIe BAR and print content of addr is ffffffff

前端 未结 0 605
慢半拍i
慢半拍i 2021-02-06 17:41

I tried to use mmap() in the linux user mode to map the resource2 file in sysfs to obtain the BAR of the pcie device. The code is shown below.

char *devname = &qu         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题