Changeset 14499 in vbox
- Timestamp:
- Nov 24, 2008 1:48:34 AM (16 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMM.cpp
r14299 r14499 230 230 if (RT_SUCCESS(rc)) 231 231 { 232 pVM->vmm.s.CallHostR0JmpBuf.pvSavedStack = MMHyperR3ToR0(pVM, pVM->vmm.s.pbEMTStackR3); 232 #ifdef VBOX_WITH_2X_4GB_ADDR_SPACE 233 /* MMHyperR3ToR0 returns R3 when not doing hardware assisted virtualization. */ 234 if (!HWACCMIsEnabled(pVM)) 235 pVM->vmm.s.CallHostR0JmpBuf.pvSavedStack = NIL_RTR0PTR; 236 else 237 #endif 238 pVM->vmm.s.CallHostR0JmpBuf.pvSavedStack = MMHyperR3ToR0(pVM, pVM->vmm.s.pbEMTStackR3); 233 239 pVM->vmm.s.pbEMTStackRC = MMHyperR3ToRC(pVM, pVM->vmm.s.pbEMTStackR3); 234 240 pVM->vmm.s.pbEMTStackBottomRC = pVM->vmm.s.pbEMTStackRC + VMM_STACK_SIZE; -
trunk/src/VBox/VMM/VMMR0/VMMR0.cpp
r14114 r14499 55 55 * Internal Functions * 56 56 *******************************************************************************/ 57 static int VMMR0Init(PVM pVM, uint32_t uSvnRev);58 static int VMMR0Term(PVM pVM);59 57 __BEGIN_DECLS 60 58 VMMR0DECL(int) ModuleInit(void); -
trunk/src/VBox/VMM/VMMR0/VMMR0A.asm
r13872 r14499 305 305 ; 306 306 mov edi, [edx + VMMR0JMPBUF.pvSavedStack] 307 cmp edi, 0 ; darwin may set this to 0. 308 je .nok 307 309 mov [edx + VMMR0JMPBUF.SpResume], esp 308 310 mov esi, esp … … 383 385 ; 384 386 mov rdi, [rdx + VMMR0JMPBUF.pvSavedStack] 387 cmp rdi, 0 ; darwin may set this to 0. 388 je .nok 385 389 mov [rdx + VMMR0JMPBUF.SpResume], rsp 386 390 mov rsi, rsp
Note:
See TracChangeset
for help on using the changeset viewer.