Changeset 43150 in vbox for trunk/src/VBox
- Timestamp:
- Sep 3, 2012 11:44:17 AM (12 years ago)
- Location:
- trunk/src/VBox/VMM
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR0/HWVMXR0.cpp
r42894 r43150 1351 1351 if (u32HostExtFeatures & (X86_CPUID_EXT_FEATURE_EDX_NX | X86_CPUID_EXT_FEATURE_EDX_LONG_MODE)) 1352 1352 { 1353 if (u32HostExtFeatures & X86_CPUID_EXT_FEATURE_EDX_SYSCALL)1354 {1355 pMsr->u32IndexMSR = MSR_K6_STAR;1356 pMsr->u32Reserved = 0;1357 pMsr->u64Value = ASMRdMsr(MSR_K6_STAR); /* legacy syscall eip, cs & ss */1358 pMsr++; idxMsr++;1359 }1360 1361 1353 #if 0 1362 1354 pMsr->u32IndexMSR = MSR_K6_EFER; … … 1378 1370 if (VMX_IS_64BIT_HOST_MODE()) 1379 1371 { 1372 pMsr->u32IndexMSR = MSR_K6_STAR; 1373 pMsr->u32Reserved = 0; 1374 pMsr->u64Value = ASMRdMsr(MSR_K6_STAR); /* legacy syscall eip, cs & ss */ 1375 pMsr++; idxMsr++; 1380 1376 pMsr->u32IndexMSR = MSR_K8_LSTAR; 1381 1377 pMsr->u32Reserved = 0; -
trunk/src/VBox/VMM/include/HWACCMInternal.h
r42894 r43150 41 41 #define HWACCM_VMX_EMULATE_REALMODE 42 42 43 /** @todo: Broken on OS X Snow Leopard @bugref{6313}. */44 #if !defined(VBOX_WITH_HYBRID_32BIT_KERNEL)45 43 /* The MSR auto load/store does not work for KERNEL_GS_BASE MSR, thus we 46 44 * handle this MSR manually. See @bugref{6208}. This is clearly visible while … … 50 48 */ 51 49 # define VBOX_WITH_AUTO_MSR_LOAD_RESTORE 52 #endif53 50 54 51 RT_C_DECLS_BEGIN -
trunk/src/VBox/VMM/include/HWACCMInternal.mac
r42822 r43150 16 16 17 17 %define VMX_USE_CACHED_VMCS_ACCESSES 18 19 ; @todo: Broken on OS X Snow Leopard @bugref{6313}.20 %ifndef VBOX_WITH_HYBRID_32BIT_KERNEL21 18 %define VBOX_WITH_AUTO_MSR_LOAD_RESTORE 22 %endif23 19 24 20 ;Maximum number of cached entries.
Note:
See TracChangeset
for help on using the changeset viewer.