copyvirtualspace.c File Reference

#include <vmm/vmm.h>
#include <sys/kern_sysctl.h>
#include <ubixos/spinlock.h>
#include <ubixos/kpanic.h>
#include <string.h>

Go to the source code of this file.

Functions

void * vmmCopyVirtualSpace (pidType pid)

Variables

static spinLock_t cvsSpinLock = SPIN_LOCK_INITIALIZER


Function Documentation

void* vmmCopyVirtualSpace ( pidType  pid  ) 

Definition at line 53 of file copyvirtualspace.c.

References adjustCowCounter(), cvsSpinLock, kpanic(), memset(), PAGE_COW, PAGE_DEFAULT, PAGE_STACK, pageEntries, parentPageDirAddr, spinLock(), spinUnlock(), tablesBaseAddress, vmm_getPhysicalAddr(), vmmGetFreeKernelPage(), vmmUnmapPage(), x1, and x1000.

Referenced by fork_copyProcess().


Variable Documentation

spinLock_t cvsSpinLock = SPIN_LOCK_INITIALIZER [static]

Definition at line 36 of file copyvirtualspace.c.

Referenced by vmmCopyVirtualSpace().


Generated on Sun Dec 3 02:38:10 2006 for UbixOS V2 by  doxygen 1.4.7