VirtualBox

Changeset 48066 in vbox


Ignore:
Timestamp:
Aug 26, 2013 3:05:20 PM (11 years ago)
Author:
vboxsync
Message:

CPUM: Fake MSR_IA32_MCG_STATUS reads. Corrected MSR names, IA32_MCP should be IA32_MCG according to latest intel docs.

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/x86.h

    r47996 r48066  
    978978
    979979/** Machine Check Global Capabilities Register. */
    980 #define MSR_IA32_MCP_CAP                    0x179
     980#define MSR_IA32_MCG_CAP                    0x179
    981981/** Machine Check Global Status Register. */
    982 #define MSR_IA32_MCP_STATUS                 0x17A
     982#define MSR_IA32_MCG_STATUS                 0x17A
    983983/** Machine Check Global Control Register. */
    984 #define MSR_IA32_MCP_CTRL                   0x17B
     984#define MSR_IA32_MCG_CTRL                   0x17B
    985985
    986986/** Trace/Profile Resource Control (R/W) */
  • trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp

    r48026 r48066  
    11021102         */
    11031103        case MSR_IA32_BIOS_SIGN_ID:         /* fam/mod >= 6_01 */
    1104         case MSR_IA32_MCP_CAP:              /* fam/mod >= 6_01 */
    1105         /*case MSR_IA32_MCP_STATUS:     - indicated as not present in CAP */
    1106         /*case MSR_IA32_MCP_CTRL:       - indicated as not present in CAP */
     1104        case MSR_IA32_MCG_CAP:              /* fam/mod >= 6_01 */
     1105        case MSR_IA32_MCG_STATUS:           /* indicated as not present in CAP */
     1106        /*case MSR_IA32_MCG_CTRL:       - indicated as not present in CAP */
    11071107        case MSR_IA32_MC0_CTL:
    11081108        case MSR_IA32_MC0_STATUS:
     
    13881388        case MSR_IA32_BIOS_UPDT_TRIG:       /* fam/mod >= 6_01 */
    13891389        /*case MSR_IA32_MCP_CAP:     - read-only */
    1390         /*case MSR_IA32_MCP_STATUS:  - read-only */
    1391         /*case MSR_IA32_MCP_CTRL:    - indicated as not present in CAP */
     1390        /*case MSR_IA32_MCG_STATUS:  - read-only */
     1391        /*case MSR_IA32_MCG_CTRL:    - indicated as not present in CAP */
    13921392        /*case MSR_IA32_MC0_CTL:     - read-only? */
    13931393        /*case MSR_IA32_MC0_STATUS:  - read-only? */
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r47326 r48066  
    16581658        case MSR_IA32_MISC_ENABLE:          return "MSR_IA32_MISC_ENABLE";
    16591659        case MSR_IA32_MTRR_CAP:             return "MSR_IA32_MTRR_CAP";
    1660         case MSR_IA32_MCP_CAP:              return "Unsupported MSR_IA32_MCP_CAP";
    1661         case MSR_IA32_MCP_STATUS:           return "Unsupported MSR_IA32_MCP_STATUS";
    1662         case MSR_IA32_MCP_CTRL:             return "Unsupported MSR_IA32_MCP_CTRL";
     1660        case MSR_IA32_MCG_CAP:              return "Unsupported MSR_IA32_MCG_CAP";
     1661        case MSR_IA32_MCG_STATUS:           return "Unsupported MSR_IA32_MCG_STATUS";
     1662        case MSR_IA32_MCG_CTRL:             return "Unsupported MSR_IA32_MCG_CTRL";
    16631663        case MSR_IA32_MTRR_DEF_TYPE:        return "MSR_IA32_MTRR_DEF_TYPE";
    16641664        case MSR_K7_EVNTSEL0:               return "Unsupported MSR_K7_EVNTSEL0";
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