Date: Wed, 3 Dec 2003 12:33:19 -0800 (PST) From: John Baldwin <jhb@FreeBSD.org> To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/i386/acpica madt.c src/sys/i386/i386 local_apic.c mptable.c Message-ID: <200312032033.hB3KXJes071878@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200312032033.hB3KXJes071878>
