VirtualBox

Changeset 48024 in vbox for trunk/src/VBox/VMM/VMMAll


Ignore:
Timestamp:
Aug 23, 2013 12:24:00 PM (11 years ago)
Author:
vboxsync
Message:

Since AMD has MSR_IA32_MCP_CAP, we have to fake the other machine check MSRs on AMD.

File:
1 edited

Legend:

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

    r48000 r48024  
    10921092#endif
    10931093        /*
    1094          * The BIOS_SIGN_ID MSR and MSR_IA32_MCP_CAP exist on AMD64 as well, at
    1095          * least bulldozer have it. Windows 7 is querying them.  Just fake them.
     1094         * The BIOS_SIGN_ID MSR and MSR_IA32_MCP_CAP et al exist on AMD64 as
     1095         * well, at least bulldozer have them.  Windows 7 is querying them.
     1096         * XP has been observed querying MSR_IA32_MC0_CTL.
    10961097         */
    10971098        case MSR_IA32_BIOS_SIGN_ID:         /* fam/mod >= 6_01 */
    10981099        case MSR_IA32_MCP_CAP:              /* fam/mod >= 6_01 */
     1100        /*case MSR_IA32_MCP_STATUS:     - indicated as not present in CAP */
     1101        /*case MSR_IA32_MCP_CTRL:       - indicated as not present in CAP */
     1102        case MSR_IA32_MC0_CTL:
     1103        case MSR_IA32_MC0_STATUS:
    10991104            *puValue = 0;
    11001105            break;
     
    11061111        case MSR_IA32_PLATFORM_ID:          /* fam/mod >= 6_01 */
    11071112        /*case MSR_IA32_BIOS_UPDT_TRIG: - write-only? */
    1108         /*case MSR_IA32_MCP_STATUS:     - indicated as not present in CAP */
    1109         /*case MSR_IA32_MCP_CTRL:       - indicated as not present in CAP */
    1110         case MSR_IA32_MC0_CTL:
    1111         case MSR_IA32_MC0_STATUS:
    11121113        case MSR_RAPL_POWER_UNIT:
    11131114            *puValue = 0;
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