VirtualBox

Changeset 24953 in vbox for trunk/src


Ignore:
Timestamp:
Nov 25, 2009 2:00:05 PM (15 years ago)
Author:
vboxsync
Message:

VMM: functional MSR_IA32_PERF_STATUS implementation

Location:
trunk/src/VBox/VMM/VMMAll
Files:
2 edited

Legend:

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

    r24753 r24953  
    789789        case MSR_IA32_PERF_STATUS:
    790790            /** @todo: could really be not exactly correct, maybe use host's values */
     791            /* Keep consistent with helper_rdmsr() in REM */
    791792            u64 =     (1000ULL                /* TSC increment by tick */)
    792793                    | (((uint64_t)4ULL) << 40 /* CPU multiplier */       );
  • trunk/src/VBox/VMM/VMMAll/EMAll.cpp

    r24764 r24953  
    29452945        break;
    29462946
     2947    case MSR_IA32_PERF_STATUS:
     2948        val = CPUMGetGuestMsr(pVCpu, MSR_IA32_PERF_STATUS);
     2949        break;
     2950       
    29472951#if 0 /*def IN_RING0 */
    29482952    case MSR_IA32_PLATFORM_ID:
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