From owner-cvs-all@FreeBSD.ORG Wed Dec 3 12:33:20 2003 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAD1416A4CE; Wed, 3 Dec 2003 12:33:20 -0800 (PST) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6E89E43FB1; Wed, 3 Dec 2003 12:33:19 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.12.9/8.12.9) with ESMTP id hB3KXJXJ071879; Wed, 3 Dec 2003 12:33:19 -0800 (PST) (envelope-from jhb@repoman.freebsd.org) Received: (from jhb@localhost) by repoman.freebsd.org (8.12.9/8.12.9/Submit) id hB3KXJes071878; Wed, 3 Dec 2003 12:33:19 -0800 (PST) (envelope-from jhb) Message-Id: <200312032033.hB3KXJes071878@repoman.freebsd.org> From: John Baldwin Date: Wed, 3 Dec 2003 12:33:19 -0800 (PST) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/i386/acpica madt.c src/sys/i386/i386 local_apic.c mptable.c X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Dec 2003 20:33:20 -0000 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