From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=K8PbUoQ5; spf=pass (domain: arm.com, ip: 40.107.0.75, mailfrom: sami.mujawar@arm.com) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (EUR02-AM5-obe.outbound.protection.outlook.com [40.107.0.75]) by groups.io with SMTP; Fri, 23 Aug 2019 03:56:59 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PwL2QXz7tQGOX+MysjUwKBsqKsSUsucKrr47+SY30+8=; b=K8PbUoQ58ovt1Pj2zAbThnlO4YVQHEXCMSTVSWOabLVw5O/FOYdIWg95khkKRhibwBJxxhddBu5ziDvjcKn1CDB23QM2wU7Ca/NapCGAg7iDJl5Oced+vuYfLzATGnd1G/2D5lw3h04PMtAE5Y/mqhViIjJJRuDMete9CNRQEBs= Received: from VI1PR08CA0180.eurprd08.prod.outlook.com (2603:10a6:800:d1::34) by AM6PR08MB4951.eurprd08.prod.outlook.com (2603:10a6:20b:eb::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.16; Fri, 23 Aug 2019 10:56:55 +0000 Received: from VE1EUR03FT064.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e09::200) by VI1PR08CA0180.outlook.office365.com (2603:10a6:800:d1::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.18 via Frontend Transport; Fri, 23 Aug 2019 10:56:54 +0000 Authentication-Results: spf=temperror (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; dmarc=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by VE1EUR03FT064.mail.protection.outlook.com (10.152.19.210) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.13 via Frontend Transport; Fri, 23 Aug 2019 10:56:53 +0000 Received: ("Tessian outbound 0c23f37acac0:v27"); Fri, 23 Aug 2019 10:56:50 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 86124cf8d437f40c X-CR-MTA-TID: 64aa7808 Received: from 09f55f8f34c1.1 (ip-172-16-0-2.eu-west-1.compute.internal [104.47.0.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com id D6126664-CBD3-43E5-987E-8E6710EC4528.1; Fri, 23 Aug 2019 10:56:44 +0000 Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01lp2058.outbound.protection.outlook.com [104.47.0.58]) by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 09f55f8f34c1.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Fri, 23 Aug 2019 10:56:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NJV+nhdfSjTQytwwH5N/aKeN2t+PrbxvUi6/g1nyWm6Xd1ScswxZd+R/NdRVj3ONzZPRycQ9PvkMVpZl2e7gJCg9vlHR/s2gDUuwxgOBIktX5QwBnzr2P+PNleXYRTL8gTOzj0BPIhUXbjhfSOSjbAod5SkY3kjfZEtxPIFAHNV8D/M6HdKmHMJ4xMftCAKFZYVA3IND1mdASgFcZd6itFmgihNsO7gda//i9l6lia7YjenvzLyK8eJVAmGsKNId3P4G7Efai4jiIqRu9P7DrZk31Qqdg/IGVtEcjMhO7NjuZqpQcVNUJjiD9yFfX2G1lkD0DGIMLWkTFqf4USLILw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PwL2QXz7tQGOX+MysjUwKBsqKsSUsucKrr47+SY30+8=; b=A1lVaPgbjb3JtVBm3zdKuCynbMOxD7WgmmgP4eGmOGVoo5w1ERzG+x2OG+ekLMfcaB7z0VleIx1bf85UXbf548aT16V5sULFQmzpTiWbcYNCz5UFzua/WeHVJRVYWom9eNuGkl0mAdRF1XJ+W9CAymxomRdg9FuF5fa5khLW6k7BQVg+3g6htyEO7papNj8Th9q8hC7EgeO8Rks5aFwFDSeDj9I2khmQ/3RttiLceroGg5Dg6Xph+njKu2H31JrdPWb4kB1W1uKadbNweshQUaM/xsC1s4MrfM3qWiMdZrjnPh1xc7wtDiOdU5NRqKgZGH+49E+PKqfWUrkq6BUnPg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=temperror (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=temperror action=none header.from=arm.com; dkim=none (message not signed); arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=armh.onmicrosoft.com; s=selector2-armh-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=PwL2QXz7tQGOX+MysjUwKBsqKsSUsucKrr47+SY30+8=; b=K8PbUoQ58ovt1Pj2zAbThnlO4YVQHEXCMSTVSWOabLVw5O/FOYdIWg95khkKRhibwBJxxhddBu5ziDvjcKn1CDB23QM2wU7Ca/NapCGAg7iDJl5Oced+vuYfLzATGnd1G/2D5lw3h04PMtAE5Y/mqhViIjJJRuDMete9CNRQEBs= Received: from DB6PR0801CA0066.eurprd08.prod.outlook.com (2603:10a6:4:2b::34) by AM0PR08MB4945.eurprd08.prod.outlook.com (2603:10a6:208:157::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2178.19; Fri, 23 Aug 2019 10:56:42 +0000 Received: from AM5EUR03FT003.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::202) by DB6PR0801CA0066.outlook.office365.com (2603:10a6:4:2b::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2199.15 via Frontend Transport; Fri, 23 Aug 2019 10:56:41 +0000 Authentication-Results-Original: spf=temperror (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT003.mail.protection.outlook.com (10.152.16.149) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.2199.13 via Frontend Transport; Fri, 23 Aug 2019 10:56:40 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1415.2; Fri, 23 Aug 2019 10:56:21 +0000 Received: from E107187.Arm.com (10.1.195.55) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Fri, 23 Aug 2019 10:56:21 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , Subject: [PATCH v1 07/19] DynamicTablesPkg: Fix Boot arch flag width Date: Fri, 23 Aug 2019 11:55:27 +0100 Message-ID: <20190823105539.13260-8-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 In-Reply-To: <20190823105539.13260-1-sami.mujawar@arm.com> References: <20190823105539.13260-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;IPV:NLI;CTRY:IE;EFV:NLI;SFV:NSPM;SFS:(10009020)(4636009)(136003)(346002)(39860400002)(376002)(396003)(2980300002)(199004)(189003)(478600001)(51416003)(7696005)(5660300002)(48376002)(70206006)(70586007)(53936002)(1076003)(426003)(16586007)(50466002)(336012)(63370400001)(54906003)(446003)(11346002)(53416004)(26005)(81166006)(81156014)(126002)(486006)(2616005)(76176011)(476003)(356004)(8936002)(316002)(8676002)(86362001)(44832011)(4326008)(186003)(63350400001)(36756003)(2906002)(14444005)(50226002)(2351001)(305945005)(47776003)(6916009);DIR:OUT;SFP:1101;SCL:1;SRVR:AM0PR08MB4945;H:nebula.arm.com;FPR:;SPF:TempError;LANG:en;PTR:InfoDomainNonexistent;A:1;MX:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: c71ae930-7caa-4e55-9885-08d727b89baa X-Microsoft-Antispam-Untrusted: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600166)(711020)(4605104)(1401327)(2017052603328);SRVR:AM0PR08MB4945; X-MS-TrafficTypeDiagnostic: AM0PR08MB4945:|AM6PR08MB4951: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true X-MS-Oob-TLC-OOBClassifiers: OLM:9508;OLM:9508; X-Forefront-PRVS: 0138CD935C X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info-Original: urkFh4RO4+wqtL38uJx8A5b0q7i0Sm8eheHF+D+E7nmSOlZRAaU/T4g+UoS2OQLaZTrRttckPvoFUWuwfwXQc9WRi63MEqyZodmp7IIUNREgwMZdZBHRA3XMjlpZmJJLCpiEazG/RmodfDpfP50NVI4NoQqgZ+TcqVPABxofJCK3llCRMrt/qPq4LCO3gtfREDWJDm5FGzIG4jfYqcyhKWS3BLrwfmTTEwAeB6rwn4sV8+vTnh7PPWpWC+eIMbbJ8+XrqGnl9vvLiP5zhyvPCG60Iqj+QMcnJ6IS7Nl4tcJELT9UCm+2P2536Ia3ZPyv+cEjTzEOgWGjZ5KF7fXyi0QOUB5lH3Y8YyUSfP3FDkJiH/3IlWROMBWjxWYDzKLOpdZn5SkR1e2ahte0jWxHdsr0wzcH68g4vxQVptBwwtI= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4945 Original-Authentication-Results: spf=temperror (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=temperror action=none header.from=arm.com; Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT064.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123;IPV:CAL;SCL:-1;CTRY:IE;EFV:NLI;SFV:NSPM;SFS:(10009020)(4636009)(376002)(39860400002)(136003)(396003)(346002)(2980300002)(199004)(189003)(36906005)(6916009)(16586007)(2906002)(478600001)(50226002)(26826003)(81156014)(8676002)(81166006)(36756003)(1076003)(53416004)(14444005)(5660300002)(4326008)(54906003)(86362001)(76176011)(47776003)(50466002)(22756006)(186003)(51416003)(76130400001)(70206006)(70586007)(7696005)(8936002)(2351001)(11346002)(305945005)(446003)(126002)(336012)(426003)(63370400001)(63350400001)(486006)(476003)(44832011)(48376002)(316002)(2616005)(26005);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR08MB4951;H:64aa7808-outbound-1.mta.getcheckrecipient.com;FPR:;SPF:TempError;LANG:en;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;A:1;MX:1; X-MS-Office365-Filtering-Correlation-Id-Prvs: ee1a4f8e-d2e8-4d28-383a-08d727b893ca X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(5600166)(710020)(711020)(4605104)(1401327)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(2017052603328);SRVR:AM6PR08MB4951; NoDisclaimer: True X-Forefront-PRVS: 0138CD935C X-Microsoft-Antispam-Message-Info: tLvtFYun3re7UYSOG6H72kEt+yHMvjzt3DROIPcPt9z9A4L+Sxl3hYELrxZAjEL49jbzeWSbn5SiS91oKRyX+g8BenqowvXYECaoHV+x4k1XS8Wf5mJJFCLYy8ZgopVXwyEFDEW+lzl5l+3R45N6wpj5DxeowENsLb9USIkLD58R9FdoH+H56r5dkxF99zDyKStt4HQOIjlwGTsYEOagrm/43hB7XBvDFUZ8gNb0UzHVPWvqgf6+XHItt4XVUbi4RxrXZ+/9wxs7ReqbPorkKacfyl+DdfzBgaFaG2JW2ldrT1F7mxH6yTrScr0y5ZUIopMjx1HsN8EBzWBq4pOwWSwMyArjcbUGd3aJ+NMTALI5ukeHVHZE15RGEA0JeU7+NhXYsMMKRAU3lL5j4Z0Ap6hnrO9sUShYnStjfmxpb4o= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 23 Aug 2019 10:56:53.4007 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: c71ae930-7caa-4e55-9885-08d727b89baa X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[63.35.35.123];Helo=[64aa7808-outbound-1.mta.getcheckrecipient.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB4951 Content-Type: text/plain The ArmBootArch field of the FADT table is 16-bit wide. The VS2017 compiler reports 'warning C4244: '=': conversion from 'UINT32' to 'UINT16', possible loss of data' when assigning the CM_ARM_BOOT_ARCH_INFO.BootArchFlags value as the width of this field in CM_ARM_BOOT_ARCH_INFO is 32-bit wide. To fix this warning, update the CM_ARM_BOOT_ARCH_INFO struct to make the BootArchFlags field 16-bit wide. This also makes it compatible with the ACPI FADT specification. Signed-off-by: Sami Mujawar --- DynamicTablesPkg/Include/ArmNameSpaceObjects.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DynamicTablesPkg/Include/ArmNameSpaceObjects.h b/DynamicTablesPkg/Include/ArmNameSpaceObjects.h index f08b8257678c8b6aacc863bbe1db09587b51a291..cd955379c90d8633c89e324b5567643d2676e557 100644 --- a/DynamicTablesPkg/Include/ArmNameSpaceObjects.h +++ b/DynamicTablesPkg/Include/ArmNameSpaceObjects.h @@ -64,7 +64,7 @@ typedef struct CmArmBootArchInfo { /** This is the ARM_BOOT_ARCH flags field of the FADT Table described in the ACPI Table Specification. */ - UINT32 BootArchFlags; + UINT16 BootArchFlags; } CM_ARM_BOOT_ARCH_INFO; /** A structure that describes the -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'