- Timestamp:
- Aug 7, 2012 7:58:31 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h
r42641 r42649 3681 3681 if (rc != VINF_SUCCESS) 3682 3682 { 3683 Log(("IEM: rdmsr(%#x) -> GP(0)\n", pCtx->ecx)); 3683 3684 AssertMsgReturn(rc == VERR_CPUM_RAISE_GP_0, ("%Rrc\n", rc), VERR_IPE_UNEXPECTED_STATUS); 3684 3685 return iemRaiseGeneralProtectionFault0(pIemCpu); 3685 3686 } 3686 3687 3687 pCtx->rax = uValue. au32[0];3688 pCtx->rdx = uValue. au32[1];3688 pCtx->rax = uValue.s.Lo; 3689 pCtx->rdx = uValue.s.Hi; 3689 3690 3690 3691 iemRegAddToRip(pIemCpu, cbInstr); … … 3712 3713 */ 3713 3714 RTUINT64U uValue; 3714 uValue. au32[0]= pCtx->eax;3715 uValue. au32[1]= pCtx->edx;3715 uValue.s.Lo = pCtx->eax; 3716 uValue.s.Hi = pCtx->edx; 3716 3717 3717 3718 int rc = CPUMSetGuestMsr(IEMCPU_TO_VMCPU(pIemCpu), pCtx->ecx, uValue.u); 3718 3719 if (rc != VINF_SUCCESS) 3719 3720 { 3721 Log(("IEM: wrmsr(%#x,%#x`%08x) -> GP(0)\n", pCtx->ecx, uValue.s.Hi, uValue.s.Lo)); 3720 3722 AssertMsgReturn(rc == VERR_CPUM_RAISE_GP_0, ("%Rrc\n", rc), VERR_IPE_UNEXPECTED_STATUS); 3721 3723 return iemRaiseGeneralProtectionFault0(pIemCpu);
Note:
See TracChangeset
for help on using the changeset viewer.