mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-31 00:38:01 +00:00
More checks for SSE
This commit is contained in:
parent
3ab856feca
commit
fd477325a3
@ -228,8 +228,10 @@ namespace CPU
|
|||||||
|
|
||||||
bool SSEEnableAfter = false;
|
bool SSEEnableAfter = false;
|
||||||
|
|
||||||
if (strcmp(CPU::Hypervisor(), x86_CPUID_VENDOR_TCG) != 0) /* Not sure if my code is not working properly or something else is the issue. */
|
/* Not sure if my code is not working properly or something else is the issue. */
|
||||||
if (SSESupport)
|
if ((strcmp(Hypervisor(), x86_CPUID_VENDOR_TCG) != 0 &&
|
||||||
|
strcmp(Hypervisor(), x86_CPUID_VENDOR_VIRTUALBOX) != 0) &&
|
||||||
|
SSESupport)
|
||||||
{
|
{
|
||||||
debug("Enabling SSE support...");
|
debug("Enabling SSE support...");
|
||||||
if (!BSP)
|
if (!BSP)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user