Changeset 71699 in vbox
- Timestamp:
- Apr 6, 2018 10:45:31 AM (7 years ago)
- Location:
- trunk/src/VBox
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/SUPDrv.cpp
r71198 r71699 514 514 #endif 515 515 516 #if (defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)) && !defined(VBOX_WITH_OLD_CPU_SUPPORT) 517 /* 518 * Require SSE2 to be present. 519 */ 520 if (!(ASMCpuId_EDX(1) & X86_CPUID_FEATURE_EDX_SSE2)) 521 { 522 SUPR0Printf("vboxdrv: Requires SSE2 (cpuid(0).EDX=%#x)\n", ASMCpuId_EDX(1)); 523 return VERR_UNSUPPORTED_CPU; 524 } 525 #endif 526 516 527 /* 517 528 * Initialize it. -
trunk/src/VBox/VMM/VMMR3/VM.cpp
r71129 r71699 579 579 static int vmR3CreateU(PUVM pUVM, uint32_t cCpus, PFNCFGMCONSTRUCTOR pfnCFGMConstructor, void *pvUserCFGM) 580 580 { 581 #if (defined(RT_ARCH_AMD64) || defined(RT_ARCH_X86)) && !defined(VBOX_WITH_OLD_CPU_SUPPORT) 582 /* 583 * Require SSE2 to be present (already checked for in supdrv, so we 584 * shouldn't ever really get here). 585 */ 586 if (!(ASMCpuId_EDX(1) & X86_CPUID_FEATURE_EDX_SSE2)) 587 { 588 LogRel(("vboxdrv: Requires SSE2 (cpuid(0).EDX=%#x)\n", ASMCpuId_EDX(1))); 589 return VERR_UNSUPPORTED_CPU; 590 } 591 #endif 592 581 593 /* 582 594 * Load the VMMR0.r0 module so that we can call GVMMR0CreateVM.
Note:
See TracChangeset
for help on using the changeset viewer.