Hi there,

I wanna try to categorize each memory references (physical address) to
system references, user references and shared-library references. System
references means that those references will access to OS code or data,
shared-library references means that those references will access to shared
binary libraries, and so on. However, I don't know how to distinguish them.
Are there any files that records how the virtual address of each process is
mapped?

FYI, I found from google that the /proc/[pid]/maps file stored mapping
information for each process, but I only found from those files that 1) the
virtual pape distribution rather than VA->PA mapping; 2) some shared
library, and syscall mapping but no OS kernel code or data mapping.

Could anybody tell me how to find that kind of information from gem5, for
example, what should I do to find which physical pages are arranged to
store OS kernel or data, which pages are arranged for application code or
data?

Thanks very much.
_______________________________________________
gem5-users mailing list
[email protected]
http://m5sim.org/cgi-bin/mailman/listinfo/gem5-users

Reply via email to