From owner-cvs-src@FreeBSD.ORG Sat Jun 10 16:34:54 2006 Return-Path: X-Original-To: cvs-src@FreeBSD.org Delivered-To: cvs-src@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CAA2816A5D3; Sat, 10 Jun 2006 16:34:54 +0000 (UTC) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (repoman.freebsd.org [216.136.204.115]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EAD7449D0; Sat, 10 Jun 2006 08:22:22 +0000 (GMT) (envelope-from njl@FreeBSD.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.13.6/8.13.6) with ESMTP id k5A8KHnT084666; Sat, 10 Jun 2006 08:20:17 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k5A8KHXQ084665; Sat, 10 Jun 2006 08:20:17 GMT (envelope-from njl) Message-Id: <200606100820.k5A8KHXQ084665@repoman.freebsd.org> From: Nate Lawson Date: Sat, 10 Jun 2006 08:20:17 +0000 (UTC) To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, cvs-all@FreeBSD.org X-FreeBSD-CVS-Branch: HEAD Cc: Subject: cvs commit: src/sys/i386/acpica acpi_wakeup.c X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 10 Jun 2006 16:34:55 -0000 njl 2006-06-10 08:20:17 UTC FreeBSD src repository Modified files: sys/i386/acpica acpi_wakeup.c Log: * Ask for a page-aligned page instead of an arbitrary address. This should not be necessary but might be helpful and at least reduce fragmentation. * Add an assert to detect if the wakecode ever grows too big. We include 1 KB for stack, which should be more than enough also. * Remove unnecessary initialization of static variables. * Add comments and a bootverbose print giving the page phys address. Revision Changes Path 1.43 +30 -15 src/sys/i386/acpica/acpi_wakeup.c