Changeset 32885 in vbox for trunk/src/VBox/VMM/VMMR0
- Timestamp:
- Oct 4, 2010 12:56:35 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 66366
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp
r32815 r32885 800 800 PVM pVM = (PVM)RTR0MemObjAddress(pGVM->gvmm.s.VMMemObj); AssertPtr(pVM); 801 801 memset(pVM, 0, cPages << PAGE_SHIFT); 802 pVM->enmVMState = VMSTATE_CREATING;803 pVM->pVMR0 = pVM;804 pVM->pSession = pSession;805 pVM->hSelf = iHandle;806 pVM->cbSelf = cbVM;807 pVM->cCpus = cCpus;808 pVM->uCpu Priority = 100; /* default is maximum priority. */809 pVM->offVMCPU = RT_UOFFSETOF(VM, aCpus);802 pVM->enmVMState = VMSTATE_CREATING; 803 pVM->pVMR0 = pVM; 804 pVM->pSession = pSession; 805 pVM->hSelf = iHandle; 806 pVM->cbSelf = cbVM; 807 pVM->cCpus = cCpus; 808 pVM->uCpuExecutionCap = 100; /* default is no cap. */ 809 pVM->offVMCPU = RT_UOFFSETOF(VM, aCpus); 810 810 811 811 rc = RTR0MemObjAllocPage(&pGVM->gvmm.s.VMPagesMemObj, cPages * sizeof(SUPPAGE), false /* fExecutable */);
Note:
See TracChangeset
for help on using the changeset viewer.