How to read write PCI BAR memory address

Ricardo Ribalda Delgado ricardo.ribalda at gmail.com
Fri Apr 24 04:01:10 EDT 2015


Hello

On Fri, Apr 24, 2015 at 8:02 AM, Anil Joshi <aj27744 at gmail.com> wrote:


>
> I want to write a byte and read it back to BAR2 for a test simple . Is it
> possible to write a byte to BAR2 start address

You could use /dev/mem

mmap it with the required offset.

Regards!



More information about the Kernelnewbies mailing list