VirtualBox

Changeset 14248 in vbox for trunk


Ignore:
Timestamp:
Nov 17, 2008 11:56:22 AM (16 years ago)
Author:
vboxsync
Message:

Rdmsr must also clear the high dword of 64 bits registers.

File:
1 edited

Legend:

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

    r14247 r14248  
    26822682    if (rc == VINF_SUCCESS)
    26832683    {
    2684         pRegFrame->eax = (uint32_t) val;
    2685         pRegFrame->edx = (uint32_t) (val >> 32ULL);
     2684        pRegFrame->rax = (uint32_t) val;
     2685        pRegFrame->rdx = (uint32_t) (val >> 32ULL);
    26862686    }
    26872687    return rc;
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