Date: Tue, 17 Jan 2006 12:14:59 +0530 From: "Kamal R. Prasad" <kamalp@acm.org> To: Pranav Sawargaonkar <pranav.sawargaonkar@gmail.com> Cc: freebsd-hackers@freebsd.org Subject: Re: Accessing Pagetable of a process Message-ID: <ac7deb50601162244x8178b2bo41d95d72f85e9434@mail.gmail.com> In-Reply-To: <5007e1a40601161013q5692f79dge001ceac5de991df@mail.gmail.com> References: <5007e1a40601161013q5692f79dge001ceac5de991df@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 1/16/06, Pranav Sawargaonkar <pranav.sawargaonkar@gmail.com> wrote:
>
> Hi
> I want to access pagetable of a perticular process.
> How i should get it?Is it possible to access by using pointer of type
> 'struct proc'?
by accessimg the vmspace for the process.
Also i want to access each page referenced in
> pagetable of that process by writing my module how i can achieve this?
> Thanks in advance.
the pagetable is for translating virtual to physical addresses If you want
the contents of the page -you don't need to worry about the translation
scheme. Im not sure I understand what you are looking for??
regards
-kamal
-Pranav
> _______________________________________________
> freebsd-hackers@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org=
"
>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?ac7deb50601162244x8178b2bo41d95d72f85e9434>
