Can I use request_mem_region() from userspace?
EDIT: Do I even need to use request_mem_region(), or can/should I just read/write /dev/mem?
Can I use request_mem_region() from userspace?
EDIT: Do I even need to use request_mem_region(), or can/should I just read/write /dev/mem?
Last edited by Kennedy; 12-14-2006 at 12:49 PM.
Why user mode....? A user mode driver?
User mode program that directly access flash memory. Drivers don't work becuase of a special thing Mfg. did. Have to map it to memory a page at a time.
request_mem_region to get protected memory will not work from user mode. Besides it returns a Resource * struct.....
Have you tried /dev/mem? you can read the memory if you know the mapping.
I need to write to a memory address.