VirtualBox

Changeset 81580 in vbox for trunk/include/iprt/x86.h


Ignore:
Timestamp:
Oct 30, 2019 7:28:17 AM (5 years ago)
Author:
vboxsync
Message:

x86.h: Add some missing perf. related MSRs.

File:
1 edited

Legend:

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

    r81249 r81580  
    13041304#define MSR_IA32_CR_PAT_INIT_VAL            UINT64_C(0x0007040600070406)
    13051305
    1306 /** Performance counter MSRs. (Intel only) */
     1306/** Performance event select MSRs. (Intel only) */
    13071307#define MSR_IA32_PERFEVTSEL0                0x186
    13081308#define MSR_IA32_PERFEVTSEL1                0x187
     1309#define MSR_IA32_PERFEVTSEL2                0x188
     1310#define MSR_IA32_PERFEVTSEL3                0x189
     1311
    13091312/** Flexible ratio, seems to be undocumented, used by XNU (tsc.c).
    13101313 * The 16th bit whether flex ratio is being used, in which case bits 15:8
     
    13181321#define MSR_IA32_PERF_CTL                   0x199
    13191322#define MSR_IA32_THERM_STATUS               0x19c
     1323
     1324/** Offcore response event select registers. */
     1325#define MSR_OFFCORE_RSP_0                   0x1a6
     1326#define MSR_OFFCORE_RSP_1                   0x1a7
    13201327
    13211328/** Enable misc. processor features (R/W). */
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