]> xenbits.xensource.com Git - seabios.git/commitdiff
Drop FIX_RTC flag from FADT.
authorGleb Natapov <gleb@redhat.com>
Tue, 20 Mar 2012 08:02:17 +0000 (10:02 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Wed, 21 Mar 2012 23:42:25 +0000 (19:42 -0400)
FIX_RTC flag should be set if RTC wake status is _not_ reported in fixed
register space, but this is not the case for QEMU. So drop it from FADT.

Signed-off-by: Gleb Natapov <gleb@redhat.com>
src/acpi.c

index 6174e045007a8951a02448f7af5e98bf84463f6c..30888b9ae5a39c7c6b16a1091708d2b404ec97fa 100644 (file)
@@ -294,8 +294,8 @@ build_fadt(struct pci_device *pci)
     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, pci, fadt);
-    /* WBINVD + PROC_C1 + SLP_BUTTON + FIX_RTC + RTC_S4 */
-    fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 5) | (1 << 6) | (1 << 7));
+    /* WBINVD + PROC_C1 + SLP_BUTTON + RTC_S4 */
+    fadt->flags = cpu_to_le32((1 << 0) | (1 << 2) | (1 << 5) | (1 << 7));
 
     build_header((void*)fadt, FACP_SIGNATURE, sizeof(*fadt), 1);