What does "/dev/mem" file indicates in linux
I have a PCI device in FC13 and i know the BAR0 value of it. How can i map some size of device memory into my application(main.c) address space? Should i do this by opening "/dev/mem" file and by "mmap()" function?
Is this "/dev/mem" device file indicates processor address space OR system RAM?
And what does "/dev/ramx" device files indicates? Please clear me these doubts,Thanks in advance.