lkml.org 
[lkml]   [2005]   [Jan]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: How to examine physical address content in Linux
Date
"Kai-Yuan Ho" <mr934318@cs.nthu.edu.tw> 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@inprovide.com

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

\
 
 \ /
  Last update: 2005-03-22 14:09    [W:0.032 / U:0.224 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site