VirtualBox

Changeset 26993 in vbox for trunk/src/recompiler


Ignore:
Timestamp:
Mar 3, 2010 2:23:59 PM (15 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
58300
Message:

VMM: implement some Nehalem MSRs

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/recompiler/target-i386/op_helper.c

    r26237 r26993  
    38263826{
    38273827    uint64_t val;
    3828 
    38293828    helper_svm_check_intercept_param(SVM_EXIT_MSR, 0);
    38303829
     
    38543853        val = env->vm_hsave;
    38553854        break;
     3855#ifdef VBOX
     3856    case MSR_IA32_PERF_STATUS:
     3857    case MSR_IA32_PLATFORM_INFO:
     3858        val = CPUMGetGuestMsr(env->pVCpu, (uint32_t)ECX);
     3859        break;
     3860#else
    38563861    case MSR_IA32_PERF_STATUS:
    38573862        /* tsc_increment_by_tick */
    38583863        val = 1000ULL;
    38593864        /* CPU multiplier */
    3860         val |= (((uint64_t)4ULL) << 40);
    3861         break;
     3865        val |= ((uint64_t)4ULL << 40);
     3866        break;
     3867#endif
    38623868#ifdef TARGET_X86_64
    38633869    case MSR_LSTAR:
Note: See TracChangeset for help on using the changeset viewer.

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