Changeset 22923 in vbox
- Timestamp:
- Sep 10, 2009 9:57:48 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/GVMMR0.cpp
r22890 r22923 600 600 const uint32_t cbVM = RT_UOFFSETOF(VM, aCpus[cCpus]); 601 601 const uint32_t cPages = RT_ALIGN_32(cbVM, PAGE_SIZE) >> PAGE_SHIFT; 602 #ifdef RT_OS_DARWIN /** @todo Figure out why this is broken. Is it only on snow leopard? */ 603 rc = RTR0MemObjAllocLow(&pGVM->gvmm.s.VMMemObj, (cPages + 1) << PAGE_SHIFT, false /* fExecutable */); 604 #else 602 605 rc = RTR0MemObjAllocLow(&pGVM->gvmm.s.VMMemObj, cPages << PAGE_SHIFT, false /* fExecutable */); 606 #endif 603 607 if (RT_SUCCESS(rc)) 604 608 {
Note:
See TracChangeset
for help on using the changeset viewer.