VirtualBox

Changeset 42649 in vbox for trunk


Ignore:
Timestamp:
Aug 7, 2012 7:58:31 AM (12 years ago)
Author:
vboxsync
Message:

nit

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/VMM/VMMAll/IEMAllCImpl.cpp.h

    r42641 r42649  
    36813681    if (rc != VINF_SUCCESS)
    36823682    {
     3683        Log(("IEM: rdmsr(%#x) -> GP(0)\n", pCtx->ecx));
    36833684        AssertMsgReturn(rc == VERR_CPUM_RAISE_GP_0, ("%Rrc\n", rc), VERR_IPE_UNEXPECTED_STATUS);
    36843685        return iemRaiseGeneralProtectionFault0(pIemCpu);
    36853686    }
    36863687
    3687     pCtx->rax = uValue.au32[0];
    3688     pCtx->rdx = uValue.au32[1];
     3688    pCtx->rax = uValue.s.Lo;
     3689    pCtx->rdx = uValue.s.Hi;
    36893690
    36903691    iemRegAddToRip(pIemCpu, cbInstr);
     
    37123713     */
    37133714    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;
    37163717
    37173718    int rc = CPUMSetGuestMsr(IEMCPU_TO_VMCPU(pIemCpu), pCtx->ecx, uValue.u);
    37183719    if (rc != VINF_SUCCESS)
    37193720    {
     3721        Log(("IEM: wrmsr(%#x,%#x`%08x) -> GP(0)\n", pCtx->ecx, uValue.s.Hi, uValue.s.Lo));
    37203722        AssertMsgReturn(rc == VERR_CPUM_RAISE_GP_0, ("%Rrc\n", rc), VERR_IPE_UNEXPECTED_STATUS);
    37213723        return iemRaiseGeneralProtectionFault0(pIemCpu);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette