Thread (5 messages) 5 messages, 4 authors, 2004-01-12

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

From: John Zhou <hidden>
Date: 2004-01-12 02:20:10

Hi, all,

when debugging kernel or driver, we need to read/write registers of CPU and devices. I wanna use /dev/mem to do, is it possible? if need to do others things? is it better to write a driver for read/write CPU/device's registers by myself?

Do you have any good advice?

Thanks in advance!
John

** 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