2005-01-22 09:30:11

by Kai-Yuan Ho

[permalink] [raw]
Subject: How to examine physical address content in Linux

Dear all:
As I know , the address we can see are virtual address.
How can I examine physical address content in Linux?


2005-01-22 09:53:31

by Måns Rullgård

[permalink] [raw]
Subject: Re: How to examine physical address content in Linux

"Kai-Yuan Ho" <[email protected]> writes:

> Dear all:
> As I know , the address we can see are virtual address.
> How can I examine physical address content in Linux?

If you want to look at a specific physical address, you can read (or
mmap) /dev/mem, if you are root. Be careful though, even reading
certain addresses will crash your computer.

If you want the virtual to physical mapping for your process, there is
no simple way.

--
M?ns Rullg?rd
[email protected]