VirtualBox

Changeset 72884 in vbox


Ignore:
Timestamp:
Jul 4, 2018 3:28:52 PM (6 years ago)
Author:
vboxsync
Message:

EM: emMSRtoString isn't needed any more. [burn fix]

File:
1 edited

Legend:

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

    r72882 r72884  
    20432043    return rc;
    20442044}
    2045 
    2046 
    2047 #ifdef LOG_ENABLED
    2048 static const char *emMSRtoString(uint32_t uMsr)
    2049 {
    2050     switch (uMsr)
    2051     {
    2052         case MSR_IA32_APICBASE:             return "MSR_IA32_APICBASE";
    2053         case MSR_IA32_CR_PAT:               return "MSR_IA32_CR_PAT";
    2054         case MSR_IA32_SYSENTER_CS:          return "MSR_IA32_SYSENTER_CS";
    2055         case MSR_IA32_SYSENTER_EIP:         return "MSR_IA32_SYSENTER_EIP";
    2056         case MSR_IA32_SYSENTER_ESP:         return "MSR_IA32_SYSENTER_ESP";
    2057         case MSR_K6_EFER:                   return "MSR_K6_EFER";
    2058         case MSR_K8_SF_MASK:                return "MSR_K8_SF_MASK";
    2059         case MSR_K6_STAR:                   return "MSR_K6_STAR";
    2060         case MSR_K8_LSTAR:                  return "MSR_K8_LSTAR";
    2061         case MSR_K8_CSTAR:                  return "MSR_K8_CSTAR";
    2062         case MSR_K8_FS_BASE:                return "MSR_K8_FS_BASE";
    2063         case MSR_K8_GS_BASE:                return "MSR_K8_GS_BASE";
    2064         case MSR_K8_KERNEL_GS_BASE:         return "MSR_K8_KERNEL_GS_BASE";
    2065         case MSR_K8_TSC_AUX:                return "MSR_K8_TSC_AUX";
    2066         case MSR_IA32_BIOS_SIGN_ID:         return "Unsupported MSR_IA32_BIOS_SIGN_ID";
    2067         case MSR_IA32_PLATFORM_ID:          return "Unsupported MSR_IA32_PLATFORM_ID";
    2068         case MSR_IA32_BIOS_UPDT_TRIG:       return "Unsupported MSR_IA32_BIOS_UPDT_TRIG";
    2069         case MSR_IA32_TSC:                  return "MSR_IA32_TSC";
    2070         case MSR_IA32_MISC_ENABLE:          return "MSR_IA32_MISC_ENABLE";
    2071         case MSR_IA32_MTRR_CAP:             return "MSR_IA32_MTRR_CAP";
    2072         case MSR_IA32_MCG_CAP:              return "Unsupported MSR_IA32_MCG_CAP";
    2073         case MSR_IA32_MCG_STATUS:           return "Unsupported MSR_IA32_MCG_STATUS";
    2074         case MSR_IA32_MCG_CTRL:             return "Unsupported MSR_IA32_MCG_CTRL";
    2075         case MSR_IA32_MTRR_DEF_TYPE:        return "MSR_IA32_MTRR_DEF_TYPE";
    2076         case MSR_K7_EVNTSEL0:               return "Unsupported MSR_K7_EVNTSEL0";
    2077         case MSR_K7_EVNTSEL1:               return "Unsupported MSR_K7_EVNTSEL1";
    2078         case MSR_K7_EVNTSEL2:               return "Unsupported MSR_K7_EVNTSEL2";
    2079         case MSR_K7_EVNTSEL3:               return "Unsupported MSR_K7_EVNTSEL3";
    2080         case MSR_IA32_MC0_CTL:              return "Unsupported MSR_IA32_MC0_CTL";
    2081         case MSR_IA32_MC0_STATUS:           return "Unsupported MSR_IA32_MC0_STATUS";
    2082         case MSR_IA32_PERFEVTSEL0:          return "Unsupported MSR_IA32_PERFEVTSEL0";
    2083         case MSR_IA32_PERFEVTSEL1:          return "Unsupported MSR_IA32_PERFEVTSEL1";
    2084         case MSR_IA32_PERF_STATUS:          return "MSR_IA32_PERF_STATUS";
    2085         case MSR_IA32_PLATFORM_INFO:        return "MSR_IA32_PLATFORM_INFO";
    2086         case MSR_IA32_PERF_CTL:             return "Unsupported MSR_IA32_PERF_CTL";
    2087         case MSR_K7_PERFCTR0:               return "Unsupported MSR_K7_PERFCTR0";
    2088         case MSR_K7_PERFCTR1:               return "Unsupported MSR_K7_PERFCTR1";
    2089         case MSR_K7_PERFCTR2:               return "Unsupported MSR_K7_PERFCTR2";
    2090         case MSR_K7_PERFCTR3:               return "Unsupported MSR_K7_PERFCTR3";
    2091         case MSR_IA32_PMC0:                 return "Unsupported MSR_IA32_PMC0";
    2092         case MSR_IA32_PMC1:                 return "Unsupported MSR_IA32_PMC1";
    2093         case MSR_IA32_PMC2:                 return "Unsupported MSR_IA32_PMC2";
    2094         case MSR_IA32_PMC3:                 return "Unsupported MSR_IA32_PMC3";
    2095     }
    2096     return "Unknown MSR";
    2097 }
    2098 #endif /* LOG_ENABLED */
    20992045
    21002046
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