From owner-freebsd-acpi@FreeBSD.ORG Tue Oct 21 16:28:41 2008 Return-Path: Delivered-To: freebsd-acpi@FreeBSD.org Received: from [127.0.0.1] (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by hub.freebsd.org (Postfix) with ESMTP id D7F30106566C; Tue, 21 Oct 2008 16:28:40 +0000 (UTC) (envelope-from jkim@FreeBSD.org) From: Jung-uk Kim To: freebsd-acpi@FreeBSD.org, freebsd-amd64@FreeBSD.org Date: Tue, 21 Oct 2008 12:28:28 -0400 User-Agent: KMail/1.6.2 MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200810211228.31028.jkim@FreeBSD.org> Cc: peter@FreeBSD.org Subject: Semi-working patch for amd64 suspend/resume X-BeenThere: freebsd-acpi@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: ACPI and power management development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 21 Oct 2008 16:28:41 -0000 I was working on suspend/resume support for amd64 and this is the result. It works with a modified QEMU (QEMU does not support S3) but real boxes that I have don't seem to like it (e.g., broken BIOSes). If there is someone interested in finishing it off or giving it a try, the patch is here: http://people.freebsd.org/~jkim/amd64_suspend.diff Please note this patch is heavily inspired by Takanori Watanabe's SMP patch for i386: http://docs.freebsd.org/cgi/mid.cgi?200805131125.m4DBPu1q092741 and large portion is shamlessly stolen from Peter Wemm's AP boot code for amd64. ;-) Cheers, Jung-uk Kim