From owner-cvs-src@FreeBSD.ORG Sat Jun 10 16:36:22 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 9A28116B349; Sat, 10 Jun 2006 16:36:22 +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 AB792449C9; Sat, 10 Jun 2006 08:22:08 +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 k5A8K3au084621; Sat, 10 Jun 2006 08:20:03 GMT (envelope-from njl@repoman.freebsd.org) Received: (from njl@localhost) by repoman.freebsd.org (8.13.6/8.13.4/Submit) id k5A8K31A084620; Sat, 10 Jun 2006 08:20:03 GMT (envelope-from njl) Message-Id: <200606100820.k5A8K31A084620@repoman.freebsd.org> From: Nate Lawson Date: Sat, 10 Jun 2006 08:20:03 +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_wakecode.S 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:36:23 -0000 njl 2006-06-10 08:20:03 UTC FreeBSD src repository Modified files: sys/i386/acpica acpi_wakecode.S Log: Minor tweaks to the resume code. Previous commit reverted alignment back to 4. There is no need to be more strict at assembly time since we copy the code anyway to a private page. * Clear the direction flag and eflags. Probably not necessary but it won't hurt to be safe. * Add prefixes to all instructions to prevent any assembler mistakes. * Remove zeroing of eax - edi. We use those registers immediately after to transfer values to protected mode so this was pointless. * Update comments to reflect info found during code review. Revision Changes Path 1.13 +48 -39 src/sys/i386/acpica/acpi_wakecode.S