From owner-cvs-src-old@FreeBSD.ORG Wed Sep 23 15:43:28 2009 Return-Path: Delivered-To: cvs-src-old@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0D0051065696 for ; Wed, 23 Sep 2009 15:43:28 +0000 (UTC) (envelope-from jhb@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id ED2658FC1C for ; Wed, 23 Sep 2009 15:43:27 +0000 (UTC) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.3/8.14.3) with ESMTP id n8NFhR7n052757 for ; Wed, 23 Sep 2009 15:43:27 GMT (envelope-from jhb@repoman.freebsd.org) Received: (from svn2cvs@localhost) by repoman.freebsd.org (8.14.3/8.14.3/Submit) id n8NFhRuh052756 for cvs-src-old@freebsd.org; Wed, 23 Sep 2009 15:43:27 GMT (envelope-from jhb@repoman.freebsd.org) Message-Id: <200909231543.n8NFhRuh052756@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: svn2cvs set sender to jhb@repoman.freebsd.org using -f From: John Baldwin Date: Wed, 23 Sep 2009 15:42:35 +0000 (UTC) To: cvs-src-old@freebsd.org X-FreeBSD-CVS-Branch: HEAD Subject: cvs commit: src/sys/amd64/acpica acpi_machdep.c madt.c src/sys/amd64/include acpica_machdep.h src/sys/dev/acpica acpi.c acpivar.h src/sys/i386/acpica acpi_machdep.c madt.c src/sys/i386/include acpica_machdep.h X-BeenThere: cvs-src-old@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: **OBSOLETE** CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2009 15:43:28 -0000 jhb 2009-09-23 15:42:35 UTC FreeBSD src repository Modified files: sys/amd64/acpica acpi_machdep.c madt.c sys/amd64/include acpica_machdep.h sys/dev/acpica acpi.c acpivar.h sys/i386/acpica acpi_machdep.c madt.c sys/i386/include acpica_machdep.h Log: SVN rev 197439 on 2009-09-23 15:42:35Z by jhb Extract the code to find and map the MADT ACPI table during early kernel startup and genericize it so it can be reused to map other tables as well: - Add a routine to walk a list of ACPI subtables such as those used in the APIC and SRAT tables in the MI acpi(4) driver. - Move the routines for mapping and unmapping an ACPI table as well as mapping the RSDT or XSDT and searching for a table with a given signature out into acpica_machdep.c for both amd64 and i386. Revision Changes Path 1.22 +244 -0 src/sys/amd64/acpica/acpi_machdep.c 1.29 +9 -222 src/sys/amd64/acpica/madt.c 1.8 +3 -0 src/sys/amd64/include/acpica_machdep.h 1.269 +22 -0 src/sys/dev/acpica/acpi.c 1.113 +5 -0 src/sys/dev/acpica/acpivar.h 1.47 +240 -0 src/sys/i386/acpica/acpi_machdep.c 1.33 +9 -221 src/sys/i386/acpica/madt.c 1.9 +3 -0 src/sys/i386/include/acpica_machdep.h