Re: Fwd: Creating a "new" virtual address space for a process

2007-01-22 Thread Joe Damato
Pranav Sawargaonkar wrote: >We have a process, (in this case it happens to be curproc or proc0), and >we would like to create a new virtual address space and allocate, say N >pages starting at address X. To allocate new vmspace and vm_map you can use vmspace_fork() defined in vm/vm_map.c.

Creating a "new" virtual address space for a process

2007-01-21 Thread Joe Damato
Hello - This is my first time posting to the list, so please let me know if I should expand on anything I mention here. I am working on the S4OS project for FreeBSD with a couple friends and we are currently trying to understand how to use the VM system in FreeBSD. We have a process, (in thi