Fix typo that caused the (first) IO-APIC address not to be set anymore when
configuring SMP via MP tables. We don't support that method anyhow, but it should still report correctly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@41503 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -204,7 +204,7 @@ smp_do_mp_config(mp_floating_struct *floatingStruct)
|
|||||||
struct mp_base_ioapic *io = (struct mp_base_ioapic *)pointer;
|
struct mp_base_ioapic *io = (struct mp_base_ioapic *)pointer;
|
||||||
pointer += sizeof(struct mp_base_ioapic);
|
pointer += sizeof(struct mp_base_ioapic);
|
||||||
|
|
||||||
if (gKernelArgs.arch_args.ioapic_phys != 0)
|
if (gKernelArgs.arch_args.ioapic_phys == 0)
|
||||||
gKernelArgs.arch_args.ioapic_phys = (uint32)io->addr;
|
gKernelArgs.arch_args.ioapic_phys = (uint32)io->addr;
|
||||||
|
|
||||||
TRACE(("smp: found io apic with apic id %d, version %d\n",
|
TRACE(("smp: found io apic with apic id %d, version %d\n",
|
||||||
|
|||||||
Reference in New Issue
Block a user