Changeset 20566 in vbox for trunk/src/VBox/VMM/VMM.cpp
- Timestamp:
- Jun 14, 2009 8:24:43 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMM.cpp
r20545 r20566 234 234 235 235 #ifdef VBOX_STRICT_VMM_STACK 236 rc = MMR3HyperAllocOnceNoRel(pVM, VMM_STACK_SIZE + PAGE_SIZE + PAGE_SIZE, PAGE_SIZE, MM_TAG_VMM, (void **)&pVCpu->vmm.s.pbEMTStackR3);236 rc = MMR3HyperAllocOnceNoRel(pVM, PAGE_SIZE + VMM_STACK_SIZE + PAGE_SIZE, PAGE_SIZE, MM_TAG_VMM, (void **)&pVCpu->vmm.s.pbEMTStackR3); 237 237 #else 238 238 rc = MMR3HyperAllocOnceNoRel(pVM, VMM_STACK_SIZE, PAGE_SIZE, MM_TAG_VMM, (void **)&pVCpu->vmm.s.pbEMTStackR3); … … 240 240 if (RT_SUCCESS(rc)) 241 241 { 242 #ifdef VBOX_STRICT_VMM_STACK 243 pVCpu->vmm.s.pbEMTStackR3 += PAGE_SIZE; 244 #endif 242 245 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE 243 246 /* MMHyperR3ToR0 returns R3 when not doing hardware assisted virtualization. */
Note:
See TracChangeset
for help on using the changeset viewer.