Date: Tue, 14 Jun 2005 04:21:41 -0400 From: Aziz Kezzou <french.linuxian@gmail.com> To: freebsd-hackers <freebsd-hackers@freebsd.org>, freebsd-net <freebsd-net@freebsd.org> Subject: FreeBSD Memory Management questions ? Message-ID: <37273927050614012154fdb80b@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi all, I have two questions concerning FreeBSD Memory management : 1 - Right now to access the memory address space of a user process from kernel mode, I only have to set, on x86 systems, the register CR3 to the right value. How can I do that on other architectures ? is there an architecture-independant way of doing that ? 2- I have noticed that while in kernel mode the value of CR3 is equal to that of the user process beeing interrupted. Doesn't the kernel supposed to have its "own" page-directory, i.e it's own CR3 value ? or is kernel virtual address resolution does not go through CR3 at all ? =20 Thanks for your help, -aziz
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37273927050614012154fdb80b>