Hi all,
I am working with a PCI board which has onboard memory. The card does
not have a device driver, so the only way I can access the card's
memory is by openening /dev/mem en mmaping the right memory block into
user space memory. However, this is only possible when running as
root. I want to be able to access the boards memory as an ordinary
user by writing a simple kernel-space device driver which maps the
correct memory from /dev/mem to memory in user space.
Can anyone help me out by giving me pointers to usefull example code,
documents or whatever useful information?
Thanks in advance.
Ferdinand.