From mboxrd@z Thu Jan 1 00:00:00 1970 Reply-To: From: "John Zhou" To: Subject: how to read/write registers of CPU or Device from user space Date: Mon, 12 Jan 2004 10:20:10 +0800 Message-ID: <000001c3d8b2$9b18add0$b702a8c0@newrock2> MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" In-Reply-To: <367D9728-436D-11D8-A844-000393911DE2@sara.nl> Sender: owner-linuxppc-dev@lists.linuxppc.org List-Id: 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/