The flag returns true if io_apic is disabled. Use the proper check so that it can be toggled while booting. (io_apic is not working though so no need to try unless you are interested in development).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38525 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -577,7 +577,7 @@ ioapic_init(kernel_args* args)
|
|||||||
if (sIOAPIC == NULL)
|
if (sIOAPIC == NULL)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
if (!get_safemode_boolean(B_SAFEMODE_DISABLE_IOAPIC, true)) {
|
if (get_safemode_boolean(B_SAFEMODE_DISABLE_IOAPIC, true)) {
|
||||||
dprintf("ioapic explicitly disabled, not using ioapics for interrupt "
|
dprintf("ioapic explicitly disabled, not using ioapics for interrupt "
|
||||||
"routing\n");
|
"routing\n");
|
||||||
return;
|
return;
|
||||||
@@ -589,9 +589,6 @@ ioapic_init(kernel_args* args)
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
// disable io apic for now
|
|
||||||
return;
|
|
||||||
|
|
||||||
// load acpi module
|
// load acpi module
|
||||||
status_t status;
|
status_t status;
|
||||||
acpi_module_info* acpiModule;
|
acpi_module_info* acpiModule;
|
||||||
|
|||||||
Reference in New Issue
Block a user