VirtualBox

Changeset 48151 in vbox for trunk


Ignore:
Timestamp:
Aug 29, 2013 12:45:46 PM (12 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
88533
Message:

Netware 6 is reading MSR_P4_LASTBRANCH_0 (0x1db).

Location:
trunk
Files:
2 edited

Legend:

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

    r48143 r48151  
    999999#define MSR_IA32_MCG_CTRL                   0x17B
    10001000
    1001 /** Trace/Profile Resource Control (R/W) */
    1002 #define MSR_IA32_DEBUGCTL                   0x1D9
    1003 
    10041001/** Page Attribute Table. */
    10051002#define MSR_IA32_CR_PAT                     0x277
     
    10351032/** When set to 1, the Execute Disable Bit feature (XD Bit) is disabled (R/W). */
    10361033#define MSR_IA32_MISC_ENABLE_XD_DISABLE        RT_BIT(34)
     1034
     1035/** Trace/Profile Resource Control (R/W) */
     1036#define MSR_IA32_DEBUGCTL                   UINT32_C(0x000001d9)
     1037/** The number (0..3 or 0..15) of the last branch record register on P4 and
     1038 * related Xeons. */
     1039#define MSR_P4_LASTBRANCH_TOS               UINT32_C(0x000001da)
     1040/** @name Last branch registers for P4 and Xeon, models 0 thru 2.
     1041 * @{ */
     1042#define MSR_P4_LASTBRANCH_0                 UINT32_C(0x000001db)
     1043#define MSR_P4_LASTBRANCH_1                 UINT32_C(0x000001dc)
     1044#define MSR_P4_LASTBRANCH_2                 UINT32_C(0x000001dd)
     1045#define MSR_P4_LASTBRANCH_3                 UINT32_C(0x000001de)
     1046/** @} */
     1047
    10371048
    10381049#define IA32_MTRR_PHYSBASE0                 0x200
  • trunk/src/VBox/VMM/VMMAll/CPUMAllRegs.cpp

    r48144 r48151  
    11341134        case MSR_P5_MC_ADDR:
    11351135        case MSR_P5_MC_TYPE:
     1136        case MSR_P4_LASTBRANCH_TOS: /** @todo Are these branch regs still here on more recent CPUs? The documentation doesn't mention them for several archs. */
     1137        case MSR_P4_LASTBRANCH_0:
     1138        case MSR_P4_LASTBRANCH_1:
     1139        case MSR_P4_LASTBRANCH_2:
     1140        case MSR_P4_LASTBRANCH_3:
    11361141        case MSR_IA32_PLATFORM_ID:          /* fam/mod >= 6_01 */
    11371142        /*case MSR_IA32_BIOS_UPDT_TRIG: - write-only? */
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