cvs commit: src/sys/i386/acpica madt.c src/sys/i386/i386 local_apic.c mptable.c

From: John Baldwin <jhb_at_FreeBSD.org>
Date: Wed, 3 Dec 2003 12:33:19 -0800 (PST)
jhb         2003/12/03 12:33:19 PST

  FreeBSD src repository

  Modified files:
    sys/i386/acpica      madt.c 
    sys/i386/i386        local_apic.c mptable.c 
  Log:
  - Reorder the APIC enumerator SYSINIT's to register enumeators at
    SI_SUB_CPU - 1 and probe enumerators, probe CPUs, and setup the local
    APIC programming all at SI_SUB_CPU / SI_ORDER_FIRST.  This is needed to
    help get the ACPI module working again as it moves the APIC enumeration
    code after SI_SUB_KLD.
  - In the MADT parser, use mp_maxid rather than MAXCPU to terminate a loop
    when assigning per-cpu ACPI IDs to avoid a dependency on 'options SMP'.
  - Allow the apic device to be disabled via 'hint.apic.0.disabled' from the
    loader.  Note that since this is done in the local APIC code, it works
    for both the ACPI and non-ACPI cases.
  
  Approved by:    re (scott / blanket)
  
  Revision  Changes    Path
  1.8       +2 -3      src/sys/i386/acpica/madt.c
  1.4       +16 -24    src/sys/i386/i386/local_apic.c
  1.228     +2 -2      src/sys/i386/i386/mptable.c
Received on Wed Dec 03 2003 - 12:33:20 UTC