mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-05-30 00:08:03 +00:00
VirtualBox now works with SMP enabled
This commit is contained in:
parent
835f7fdd46
commit
873b2e0051
@ -72,12 +72,6 @@ namespace SMP
|
|||||||
|
|
||||||
void Initialize(void *madt)
|
void Initialize(void *madt)
|
||||||
{
|
{
|
||||||
if (strcmp(CPU::Hypervisor(), x86_CPUID_VENDOR_VIRTUALBOX) == 0)
|
|
||||||
{
|
|
||||||
KPrint("VirtualBox detected, disabling SMP");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
int Cores = ((ACPI::MADT *)madt)->CPUCores + 1;
|
int Cores = ((ACPI::MADT *)madt)->CPUCores + 1;
|
||||||
|
|
||||||
if (Config.Cores > ((ACPI::MADT *)madt)->CPUCores + 1)
|
if (Config.Cores > ((ACPI::MADT *)madt)->CPUCores + 1)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user