Thread (3 messages) flat view 3 messages, 2 authors, 2004-01-12

Re: how to read/write registers of CPU or Device from user space

From: Hollis Blanchard <hidden>
Date: 2004-01-12 20:14:43

On Jan 12, 2004, at 9:31 AM, Hollis Blanchard wrote:
On Jan 12, 2004, at 7:48 AM, Muhammad Sarwar wrote:
quoted
From user space access, use mmap.
(Note that it won't work for RAM, but that's not what you're trying to
do anyways.)
I misunderstood something here; you can in fact remap RAM via /dev/mem.
This mapping will be done with the VM_RESERVED flag set, which was not
acceptable in the context I heard it discussed, but I guess is ok
generally speaking.

--
Hollis Blanchard
IBM Linux Technology Center


** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help