From: Gleb Natapov Date: Sun, 30 Jan 2011 12:17:11 +0000 (+0200) Subject: lets pretend that RTC can be used to wakeup from S4 X-Git-Url: http://wien.tomnetworks.com/gitweb/?p=seabios.git;a=commitdiff_plain;h=20fcf9b099ccc61fd43a166944732329a5fb41b8 lets pretend that RTC can be used to wakeup from S4 WHQL complains otherwise. Signed-off-by: Gleb Natapov --- diff --git a/src/acpi.c b/src/acpi.c index 18830dc..6428d9c 100644 --- a/src/acpi.c +++ b/src/acpi.c @@ -259,8 +259,8 @@ build_fadt(int bdf) fadt->plvl2_lat = cpu_to_le16(0xfff); // C2 state not supported fadt->plvl3_lat = cpu_to_le16(0xfff); // C3 state not supported pci_init_device(fadt_init_tbl, bdf, fadt); - /* WBINVD + PROC_C1 + SLP_BUTTON + FIX_RTC */ - fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 5) | (1 << 6)); + /* WBINVD + PROC_C1 + SLP_BUTTON + FIX_RTC + RTC_S4 */ + fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 5) | (1 << 6) | (1 << 7)); build_header((void*)fadt, FACP_SIGNATURE, sizeof(*fadt), 1);