WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] [PATCH 4/4] Enable ACPI sleep in XenLinux

To: "Tian, Kevin" <kevin.tian@xxxxxxxxx>
Subject: Re: [Xen-devel] [PATCH 4/4] Enable ACPI sleep in XenLinux
From: Keir Fraser <keir@xxxxxxxxxxxxx>
Date: Thu, 19 Jul 2007 11:29:29 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 19 Jul 2007 03:27:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <D470B4E54465E3469E2ABBC5AFAC390F013B2003@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcfJ7DsHT6DCsnFlTp+jNB3R5tK/WgAA3Tzm
Thread-topic: [Xen-devel] [PATCH 4/4] Enable ACPI sleep in XenLinux
User-agent: Microsoft-Entourage/11.3.3.061214
On 19/7/07 11:04, "Tian, Kevin" <kevin.tian@xxxxxxxxx> wrote:

> +    uint32_t video_flags;       /* S3_bios or s3_mode */
> +    uint32_t video_mode;        /* Mode setting for s3_mode */

I'd like this to be two three-way flags: video_bios_reset and
video_mode_reset. Each can be set to yes, no, or default.

Yes means force to true. No means force to false. Default means default Xen
policy (i.e., false unless changed by Xen command-line option
'acpi_sleep=').

If video_bios_reset is true, we call c000:0003.

If video_mode_reset is true, we reset video mode to what we set up at boot
time.

Anything other wakeup re-set should be done by dom0 itself.

 -- Keir


_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel