Author: sduplichan Date: Sun Oct 24 18:22:11 2010 New Revision: 5985 URL: https://tracker.coreboot.org/trac/coreboot/changeset/5985
Log: Running a checked build of Windows is needed for understanding its various BIOS related BSODs. Win7 checked build complains when running coreboot+seabios:
FADT revision inconsistent with length. Revision: 0x1 Length: 0xf4 Expected Length: 0x74
Change the FADT revision from 1 to 3 to match its length and prevent the Windows checked build assert.
Signed-off-by: Scott Duplichan scott@notabs.org Acked-by: Peter Stuge peter@stuge.se
Modified: trunk/src/mainboard/amd/dbm690t/fadt.c trunk/src/mainboard/amd/mahogany/fadt.c trunk/src/mainboard/amd/mahogany_fam10/fadt.c trunk/src/mainboard/amd/pistachio/fadt.c trunk/src/mainboard/amd/serengeti_cheetah/fadt.c trunk/src/mainboard/amd/serengeti_cheetah_fam10/fadt.c trunk/src/mainboard/amd/tilapia_fam10/fadt.c trunk/src/mainboard/asrock/939a785gmh/fadt.c trunk/src/mainboard/asus/m4a785-m/fadt.c trunk/src/mainboard/gigabyte/ma785gmt/fadt.c trunk/src/mainboard/gigabyte/ma78gm/fadt.c trunk/src/mainboard/iei/kino-780am2-fam10/fadt.c trunk/src/mainboard/intel/eagleheights/fadt.c trunk/src/mainboard/iwill/dk8_htx/fadt.c trunk/src/mainboard/jetway/pa78vm5/fadt.c trunk/src/mainboard/kontron/kt690/fadt.c trunk/src/mainboard/technexion/tim5690/fadt.c trunk/src/mainboard/technexion/tim8690/fadt.c trunk/src/mainboard/via/epia-m/fadt.c trunk/src/mainboard/via/epia-m700/fadt.c trunk/src/mainboard/via/epia-n/fadt.c trunk/src/mainboard/via/vt8454c/fadt.c trunk/src/southbridge/nvidia/ck804/ck804_fadt.c
Modified: trunk/src/mainboard/amd/dbm690t/fadt.c ============================================================================== --- trunk/src/mainboard/amd/dbm690t/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/amd/dbm690t/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -52,7 +52,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4);
Modified: trunk/src/mainboard/amd/mahogany/fadt.c ============================================================================== --- trunk/src/mainboard/amd/mahogany/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/amd/mahogany/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -52,7 +52,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4);
Modified: trunk/src/mainboard/amd/mahogany_fam10/fadt.c ============================================================================== --- trunk/src/mainboard/amd/mahogany_fam10/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/amd/mahogany_fam10/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -52,7 +52,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4);
Modified: trunk/src/mainboard/amd/pistachio/fadt.c ============================================================================== --- trunk/src/mainboard/amd/pistachio/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/amd/pistachio/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -52,7 +52,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4);
Modified: trunk/src/mainboard/amd/serengeti_cheetah/fadt.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/amd/serengeti_cheetah/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -19,7 +19,7 @@ memset((void *)fadt,0,sizeof(acpi_fadt_t)); memcpy(header->signature,"FACP",4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id,OEM_ID,6); memcpy(header->oem_table_id,"COREBOOT",8); memcpy(header->asl_compiler_id,ASLC,4);
Modified: trunk/src/mainboard/amd/serengeti_cheetah_fam10/fadt.c ============================================================================== --- trunk/src/mainboard/amd/serengeti_cheetah_fam10/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/amd/serengeti_cheetah_fam10/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -40,7 +40,7 @@ memset((void *)fadt,0,sizeof(acpi_fadt_t)); memcpy(header->signature,"FACP",4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id,OEM_ID,6); memcpy(header->oem_table_id,"COREBOOT",8); memcpy(header->asl_compiler_id,ASLC,4);
Modified: trunk/src/mainboard/amd/tilapia_fam10/fadt.c ============================================================================== --- trunk/src/mainboard/amd/tilapia_fam10/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/amd/tilapia_fam10/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -52,7 +52,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4);
Modified: trunk/src/mainboard/asrock/939a785gmh/fadt.c ============================================================================== --- trunk/src/mainboard/asrock/939a785gmh/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/asrock/939a785gmh/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -52,7 +52,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4);
Modified: trunk/src/mainboard/asus/m4a785-m/fadt.c ============================================================================== --- trunk/src/mainboard/asus/m4a785-m/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/asus/m4a785-m/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -52,7 +52,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4);
Modified: trunk/src/mainboard/gigabyte/ma785gmt/fadt.c ============================================================================== --- trunk/src/mainboard/gigabyte/ma785gmt/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/gigabyte/ma785gmt/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -52,7 +52,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4);
Modified: trunk/src/mainboard/gigabyte/ma78gm/fadt.c ============================================================================== --- trunk/src/mainboard/gigabyte/ma78gm/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/gigabyte/ma78gm/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -52,7 +52,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4);
Modified: trunk/src/mainboard/iei/kino-780am2-fam10/fadt.c ============================================================================== --- trunk/src/mainboard/iei/kino-780am2-fam10/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/iei/kino-780am2-fam10/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -52,7 +52,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4);
Modified: trunk/src/mainboard/intel/eagleheights/fadt.c ============================================================================== --- trunk/src/mainboard/intel/eagleheights/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/intel/eagleheights/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -56,7 +56,7 @@ memset((void *) fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, "CORE ", 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, "CORE", 4);
Modified: trunk/src/mainboard/iwill/dk8_htx/fadt.c ============================================================================== --- trunk/src/mainboard/iwill/dk8_htx/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/iwill/dk8_htx/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -19,7 +19,7 @@ memset((void *)fadt,0,sizeof(acpi_fadt_t)); memcpy(header->signature,"FACP",4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id,OEM_ID,6); memcpy(header->oem_table_id,"COREBOOT",8); memcpy(header->asl_compiler_id,ASLC,4);
Modified: trunk/src/mainboard/jetway/pa78vm5/fadt.c ============================================================================== --- trunk/src/mainboard/jetway/pa78vm5/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/jetway/pa78vm5/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -52,7 +52,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4);
Modified: trunk/src/mainboard/kontron/kt690/fadt.c ============================================================================== --- trunk/src/mainboard/kontron/kt690/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/kontron/kt690/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -52,7 +52,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4);
Modified: trunk/src/mainboard/technexion/tim5690/fadt.c ============================================================================== --- trunk/src/mainboard/technexion/tim5690/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/technexion/tim5690/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -52,7 +52,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4);
Modified: trunk/src/mainboard/technexion/tim8690/fadt.c ============================================================================== --- trunk/src/mainboard/technexion/tim8690/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/technexion/tim8690/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -52,7 +52,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, OEM_ID, 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, ASLC, 4);
Modified: trunk/src/mainboard/via/epia-m/fadt.c ============================================================================== --- trunk/src/mainboard/via/epia-m/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/via/epia-m/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -31,7 +31,7 @@ memset((void *)fadt,0,sizeof(acpi_fadt_t)); memcpy(header->signature,"FACP",4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id,OEM_ID,6); memcpy(header->oem_table_id,"COREBOOT",8); memcpy(header->asl_compiler_id,ASLC,4);
Modified: trunk/src/mainboard/via/epia-m700/fadt.c ============================================================================== --- trunk/src/mainboard/via/epia-m700/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/via/epia-m700/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -30,7 +30,7 @@ memset((void *)fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, "VX800 ", 6); memcpy(header->oem_table_id, "LNXBACPI", 8); memcpy(header->asl_compiler_id, "LXB", 8);
Modified: trunk/src/mainboard/via/epia-n/fadt.c ============================================================================== --- trunk/src/mainboard/via/epia-n/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/via/epia-n/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -33,7 +33,7 @@ memset((void *)fadt,0,sizeof(acpi_fadt_t)); memcpy(header->signature,"FACP",4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id,OEM_ID,6); memcpy(header->oem_table_id,"COREBOOT",8); memcpy(header->asl_compiler_id,ASLC,4);
Modified: trunk/src/mainboard/via/vt8454c/fadt.c ============================================================================== --- trunk/src/mainboard/via/vt8454c/fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/mainboard/via/vt8454c/fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -29,7 +29,7 @@ memset((void *) fadt, 0, sizeof(acpi_fadt_t)); memcpy(header->signature, "FACP", 4); header->length = 244; - header->revision = 1; + header->revision = 3; memcpy(header->oem_id, "CX700 ", 6); memcpy(header->oem_table_id, "COREBOOT", 8); memcpy(header->asl_compiler_id, "CORE", 4);
Modified: trunk/src/southbridge/nvidia/ck804/ck804_fadt.c ============================================================================== --- trunk/src/southbridge/nvidia/ck804/ck804_fadt.c Sun Oct 24 16:19:09 2010 (r5984) +++ trunk/src/southbridge/nvidia/ck804/ck804_fadt.c Sun Oct 24 18:22:11 2010 (r5985) @@ -20,10 +20,11 @@ memcpy(header->signature, "FACP", 4); #ifdef LONG_FADT header->length = 244; + header->revision = 3; #else header->length = 0x74; -#endif header->revision = 1; +#endif memcpy(header->oem_id, "CORE ", 6); memcpy(header->oem_table_id, "CB-FADT ", 8); memcpy(header->asl_compiler_id, "IASL", 4);