how to read/write registers of CPU or Device from user space
msarwar at mangrovesystems.com
Tue Jan 13 00:48:59 EST 2004
>From user space access, use mmap.
Mangrove Systems Inc.
From: John Zhou [mailto:zjzhou at newrocktech.com]
Sent: Sunday, January 11, 2004 9:20 PM
To: linuxppc-dev at lists.linuxppc.org
Subject: how to read/write registers of CPU or Device from user space
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!
** Sent via the linuxppc-dev mail list. See http://lists.linuxppc.org/
More information about the Linuxppc-dev