Re: How to examine physical address content in Linux

From: Måns Rullgård
Date: Sat Jan 22 2005 - 04:56:25 EST


"Kai-Yuan Ho" <mr934318@xxxxxxxxxxxxxx> 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
mru@xxxxxxxxxxxxx

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/