Changeset 62431 in vbox
- Timestamp:
- Jul 22, 2016 11:43:29 AM (8 years ago)
- Location:
- trunk/src/VBox/VMM/VMMR0
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HMSVMR0.cpp
r62218 r62431 3754 3754 } 3755 3755 } 3756 return VERR_INTERNAL_ERROR_5; /* Should never happen.*/3756 /* not reached */ 3757 3757 } 3758 3758 -
trunk/src/VBox/VMM/VMMR0/HMVMXR0.cpp
r62341 r62431 795 795 796 796 /* Enable the VMX bit in CR4 if necessary. */ 797 RTCCUINTREG uOldCr4 = SUPR0ChangeCR4(X86_CR4_VMXE, ~0);797 RTCCUINTREG uOldCr4 = SUPR0ChangeCR4(X86_CR4_VMXE, RTCCUINTREG_MAX); 798 798 799 799 /* Enter VMX root mode. */ … … 13298 13298 RTGCPTR GCPtrStack = 0; 13299 13299 X86EFLAGS Eflags; 13300 Eflags.u32 = 0; 13300 13301 rc = SELMToFlatEx(pVCpu, DISSELREG_SS, CPUMCTX2CORE(pMixedCtx), pMixedCtx->esp & uMask, SELMTOFLAT_FLAGS_CPL0, 13301 13302 &GCPtrStack); … … 13303 13304 { 13304 13305 Assert(sizeof(Eflags.u32) >= cbParm); 13305 Eflags.u32 = 0;13306 13306 rc = VBOXSTRICTRC_TODO(PGMPhysRead(pVM, (RTGCPHYS)GCPtrStack, &Eflags.u32, cbParm, PGMACCESSORIGIN_HM)); 13307 13307 AssertMsg(rc == VINF_SUCCESS, ("%Rrc\n", rc)); /** @todo allow strict return codes here */
Note:
See TracChangeset
for help on using the changeset viewer.