- Timestamp:
- Dec 17, 2013 1:28:11 AM (11 years ago)
- svn:sync-xref-src-repo-rev:
- 91354
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/tools/VBoxCpuReport.cpp
r49936 r49945 2885 2885 static int reportMsr_Ia32MtrrFixedOrPat(uint32_t uMsr) 2886 2886 { 2887 /* Every 8 bytes is a type, check the type ranges one by one. */ 2888 for (uint32_t iBit = 0; iBit < 64; iBit += 8) 2889 { 2890 int rc = msrVerifyMtrrTypeGPs(uMsr, iBit, 7 + (uMsr == 0x00000277)); 2891 if (RT_FAILURE(rc)) 2892 return rc; 2887 /* Had a spot of trouble on an old macbook pro with core2 duo T9900 (penryn) 2888 running 64-bit win81pe. Not giving PAT such a scrutiny fixes it. */ 2889 if ( uMsr != 0x00000277 2890 || g_enmMicroarch >= kCpumMicroarch_Intel_Core7_First) 2891 { 2892 /* Every 8 bytes is a type, check the type ranges one by one. */ 2893 for (uint32_t iBit = 0; iBit < 64; iBit += 8) 2894 { 2895 int rc = msrVerifyMtrrTypeGPs(uMsr, iBit, 7 + (uMsr == 0x00000277)); 2896 if (RT_FAILURE(rc)) 2897 return rc; 2898 } 2893 2899 } 2894 2900 … … 3462 3468 int rc; 3463 3469 #if 1 3464 //if (uMsr < 0xc0000000) 3465 // continue; 3466 if (uMsr >= 0xc0010000) 3470 if ( 0 //(uMsr >= 0x00000268 && uMsr <= 0x0000026f) 3471 || uMsr == 0x00000277 3472 || uMsr == 0x000002ff 3473 ) 3467 3474 { 3468 3475 vbCpuRepDebug("produceMsrReport: uMsr=%#x (%s)...\n", uMsr, getMsrNameHandled(uMsr)); 3469 RTThreadSleep( 1000);3476 RTThreadSleep(2000); 3470 3477 } 3471 3478 #endif
Note:
See TracChangeset
for help on using the changeset viewer.