From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-VE1-obe.outbound.protection.outlook.com (EUR03-VE1-obe.outbound.protection.outlook.com [40.107.5.41]) by mx.groups.io with SMTP id smtpd.web12.29108.1585494861829181893 for ; Sun, 29 Mar 2020 08:14:22 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=abBYIFqi; spf=pass (domain: arm.com, ip: 40.107.5.41, mailfrom: sami.mujawar@arm.com) 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=MQ3qe1RltTZGHnRYp5QdZNdRqSIAjtlfVYWqvUEh/gU=; b=abBYIFqimDJxI2MZhoc8xxgWX3oGGyThsVCagtlOjFiz1dUCKrXawEaOROEAxWEeG8ssSrosoPYUGjDpokimpN0CUrmBd9UIPf5HL5ov3GItwb8bySYvDHv69wUmrHxrVC+3h7DWbo2SR7Ug2TQGUvlLvQMczbtkI1+DROe3aLI= Received: from AM0PR0102CA0048.eurprd01.prod.exchangelabs.com (2603:10a6:208::25) by AM0PR08MB5379.eurprd08.prod.outlook.com (2603:10a6:208:182::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19; Sun, 29 Mar 2020 15:14:19 +0000 Received: from AM5EUR03FT011.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:0:cafe::f3) by AM0PR0102CA0048.outlook.office365.com (2603:10a6:208::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.18 via Frontend Transport; Sun, 29 Mar 2020 15:14:19 +0000 Authentication-Results: spf=pass (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=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 63.35.35.123 as permitted sender) receiver=protection.outlook.com; client-ip=63.35.35.123; helo=64aa7808-outbound-1.mta.getcheckrecipient.com; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT011.mail.protection.outlook.com (10.152.16.152) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.17 via Frontend Transport; Sun, 29 Mar 2020 15:14:19 +0000 Received: ("Tessian outbound 60d769d68364:v48"); Sun, 29 Mar 2020 15:14:19 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 22329de46beb881b X-CR-MTA-TID: 64aa7808 Received: from 551843b123ce.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 101165E7-0F0B-416C-8CDB-C54F914F6CFA.1; Sun, 29 Mar 2020 15:14:13 +0000 Received: from EUR01-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 551843b123ce.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Sun, 29 Mar 2020 15:14:13 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=lXHseRKrCervJK7EuPRwIgFGHwb7wjgSz+R+NpFy2ZkPM7CQMfs+/bKeaz3hjhpYznDYpevfF1Wz+LKdr9liHMp8unr3PL1pywftczkW4H0595lFgF+JQyZu3whckrL3Z2CHkjPe2r3BpuhquEr7Tiym5LSA1MAvwF131Tx66dNgVxtAuEVamF/KRM0XU3xn3KDsca1LD2w/N4Xsc0imVrvN4guNkcLRv9fmMCW0zjMs3eb6BRUqjme4Ni50ZXmXLPuZOkqzcFN8/C7QLORsV6vzcNWvw1JBglB4ADkchNnrj659Yum8+98X5XCCnav2Yfa4go5m290brh7y+8a7+w== 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=MQ3qe1RltTZGHnRYp5QdZNdRqSIAjtlfVYWqvUEh/gU=; b=CCnZyB2AWDYEyr4pj4+5NFAP5rWdS0XzavBn2LV/KeBB8lBh7exhIFfGPRWd2Tjkc3+HGsoS316Wy9j35vTvf1NEPPNoWAS2c/h01kHK9/2Nvne6b25WJDaWdOf1FIzDCQ8ih/JSSAGBv937rX8E9QBrRWWU9GkmrfS10lLzzzYXeIqQBJ7gVtc2akmjrsUWs6PC+NW0qoH/C7H9oCGe6JICd429yJBQmjbk+eZeLsshpc6jHqXuBt9WnJVbe7CV2uqUswOu8JLM4xRv5nNK/EiXNAd2NUYdFbNBHAfjdoiaE+px4aouCYTPb2Cw41sINCR+EeqD00AB/VrimFtomg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=bestguesspass 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=MQ3qe1RltTZGHnRYp5QdZNdRqSIAjtlfVYWqvUEh/gU=; b=abBYIFqimDJxI2MZhoc8xxgWX3oGGyThsVCagtlOjFiz1dUCKrXawEaOROEAxWEeG8ssSrosoPYUGjDpokimpN0CUrmBd9UIPf5HL5ov3GItwb8bySYvDHv69wUmrHxrVC+3h7DWbo2SR7Ug2TQGUvlLvQMczbtkI1+DROe3aLI= Received: from AM0PR01CA0035.eurprd01.prod.exchangelabs.com (2603:10a6:208:69::48) by AM0PR08MB5411.eurprd08.prod.outlook.com (2603:10a6:208:181::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19; Sun, 29 Mar 2020 15:14:12 +0000 Received: from AM5EUR03FT055.eop-EUR03.prod.protection.outlook.com (2603:10a6:208:69:cafe::47) by AM0PR01CA0035.outlook.office365.com (2603:10a6:208:69::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2856.19 via Frontend Transport; Sun, 29 Mar 2020 15:14:12 +0000 Authentication-Results-Original: spf=pass (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=bestguesspass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT055.mail.protection.outlook.com (10.152.17.214) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.2856.17 via Frontend Transport; Sun, 29 Mar 2020 15:14:11 +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; Sun, 29 Mar 2020 15:14:08 +0000 Received: from E107187.Arm.com (10.57.20.21) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Sun, 29 Mar 2020 15:14:08 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , Subject: [PATCH v2 15/16] DynamicTablesPkg: Remove erroneous use of EFIAPI Date: Sun, 29 Mar 2020 16:13:52 +0100 Message-ID: <20200329151353.14096-16-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 In-Reply-To: <20200329151353.14096-1-sami.mujawar@arm.com> References: <20200329151353.14096-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;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFTY:;SFS:(10009020)(4636009)(396003)(376002)(346002)(39850400004)(136003)(46966005)(86362001)(47076004)(44832011)(6916009)(8936002)(6666004)(356004)(82740400003)(7696005)(70586007)(8676002)(186003)(2906002)(1076003)(81156014)(426003)(336012)(81166006)(4326008)(70206006)(36756003)(54906003)(478600001)(966005)(316002)(2616005)(26005)(5660300002);DIR:OUT;SFP:1101; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: aff065bc-5236-4961-a9c7-08d7d3f3daa0 X-MS-TrafficTypeDiagnostic: AM0PR08MB5411:|AM0PR08MB5379: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:6108;OLM:6108; X-Forefront-PRVS: 035748864E X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 4uS4eEZY3SVbaFwdIkh3zYXbZ5eewNshVM8wjyVs2VumW0xpVhcRXQPwz3gGqiQEUVf9DyQNy3K53+vnsjJr275movJSlHGYW9XtWeQO/DMlZMtnhR51qVIn3rfi98jEkGWnF8841eq9CHTGmGEi5u03g9Cw0JOAcGKVfE82UO256wYfndh5n2Om1XQnmxMxtVTLVElmmdHDHA1sas6kHUeFys7yTskmcaj6jS7vwNH9GuKTUHcqJtiFKYK2UcLo2xi2Eg9VR7Ch1DloRr3ix/epQ8B2vxBz4YV+47VZ1xxd2jUPkiywDQ6ykwr0ThjX6SwuT0zenlv1xPHeyXNxXobfRZJQCnDVT/fZIXa/9H9ru1gWVlPNzrbiK/9KVbvrgpr5MJQRbHKkP70IBNv2gQRkHFgFvH2nsPXr7Mom923Q8oyVbm/0RdmI81jmtzSWLsYXyYz1IYLh1wAdnVUyaFjQQrJelDCGfJ6XKzUReeywbi4U+pwd3HM+F0Kg2HwAOsyO66EnaOfF/1GL/rmeg6DLJ09ryFFBFW0jUlQGAlTuwd0djZeycQiKPS5nMIx7wN82ZhC/5GssTu78ANgso2JudQPWlQVMRZzZnN557kM= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB5411 Original-Authentication-Results: spf=pass (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=bestguesspass action=none header.from=arm.com; Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT011.eop-EUR03.prod.protection.outlook.com X-Forefront-Antispam-Report: CIP:63.35.35.123;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:CAL;SFV:NSPM;H:64aa7808-outbound-1.mta.getcheckrecipient.com;PTR:ec2-63-35-35-123.eu-west-1.compute.amazonaws.com;CAT:NONE;SFTY:;SFS:(10009020)(4636009)(136003)(346002)(376002)(39850400004)(396003)(46966005)(36906005)(316002)(70586007)(70206006)(1076003)(2906002)(54906003)(6916009)(7696005)(47076004)(36756003)(186003)(81156014)(81166006)(8676002)(336012)(2616005)(44832011)(26005)(5660300002)(478600001)(26826003)(966005)(426003)(8936002)(86362001)(4326008)(6666004)(82740400003);DIR:OUT;SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: c5a8d4d9-02af-4059-3ba5-08d7d3f3d620 X-Forefront-PRVS: 035748864E X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: TlODy1ANVDWJSZcrnAJq2LjwJ8h9gKxwCcZKLAikKD8VOxwnG2aaEeABt9+0sLiZ441mWyHLOfvBknZrvdkcj/ccJZs8LiwuNdIrCLMribbx9bmfNN/OcGMMW8oBCxGgdcFA1PwF6uEJ/QY9IOKcvgovPDI1vhBonCQP8+hNdLfX3hfuxnrH+H+K30BI5byGvxpxJxGo2IuDdtoNoGG1fElWLnZyPm+frpGtWHFKp/dM+EB0rEBbSPkWJnkkQ4386WQ0Asrh9OcdwddU6637qq9IzeyVry9a12uXXoTuokyABPS6i0wpvfCvfK7E1Ld40mlp4kvE5FEa5H3V0Xu7Rm8rdhFibmVo/fDeTtZA10zzrz4fLsLRVG6b8uO3XqM7ZxTskGXrcvswnKabYK5xA3S6JEQJPNxCLn+I5REFC+Y7YmiqRihHTzjHHqN2Ypqg99Gu2wIF4U314fHBua6Iu0P0+WaoekGTb84DypdhOmSv7gcpLaS6nx2RHTVA0MOQylkDB2r/Zg0piOSajjos1BbUf/Ar765Z/EvYn5ulo3yx59MhHi6AEeM+6YfN+i6hAfMoE3ktoJEC4Hs4FXp+embH9h7TWzDDKNS8iArXP/8= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Mar 2020 15:14:19.4086 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: aff065bc-5236-4961-a9c7-08d7d3f3daa0 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: AM0PR08MB5379 Content-Type: text/plain The Dynamic Tables Factory protocol has an erroneous EFIAPI calling convention macro in the function pointer declaration. Remove the erroneous EFIAPI calling convention macro from the interface declarations. Signed-off-by: Sami Mujawar Reviewed-by: Alexei Fedorov Reviewed-by: Philippe Mathieu-Daude --- Notes: v2: Splitting patch series and re-submitting DynamicTablesPkg [SAMI] patches from https://edk2.groups.io/g/devel/message/46261 DynamicTablesPkg/Include/Protocol/DynamicTableFactoryProtocol.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/DynamicTablesPkg/Include/Protocol/DynamicTableFactoryProtocol.h b/DynamicTablesPkg/Include/Protocol/DynamicTableFactoryProtocol.h index d07d0cac36dedb0568f6f604daa22429565aafd3..ff2331b060019976319fc2707f65252130a5326c 100644 --- a/DynamicTablesPkg/Include/Protocol/DynamicTableFactoryProtocol.h +++ b/DynamicTablesPkg/Include/Protocol/DynamicTableFactoryProtocol.h @@ -1,6 +1,6 @@ /** @file - Copyright (c) 2017 - 2018, ARM Limited. All rights reserved. + Copyright (c) 2017 - 2019, ARM Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent @@ -53,7 +53,6 @@ typedef struct DynamicTableFactoryInfo EDKII_DYNAMIC_TABLE_FACTORY_INFO; **/ typedef EFI_STATUS -EFIAPI (EFIAPI * EDKII_DYNAMIC_TABLE_FACTORY_GET_ACPI_TABLE_GENERATOR) ( IN CONST EDKII_DYNAMIC_TABLE_FACTORY_PROTOCOL * CONST This, IN CONST ACPI_TABLE_GENERATOR_ID GeneratorId, @@ -73,7 +72,6 @@ EFIAPI **/ typedef EFI_STATUS -EFIAPI (EFIAPI * EDKII_DYNAMIC_TABLE_FACTORY_REGISTER_ACPI_TABLE_GENERATOR) ( IN CONST ACPI_TABLE_GENERATOR * CONST Generator ); @@ -89,7 +87,6 @@ EFIAPI **/ typedef EFI_STATUS -EFIAPI (EFIAPI * EDKII_DYNAMIC_TABLE_FACTORY_DEREGISTER_ACPI_TABLE_GENERATOR) ( IN CONST ACPI_TABLE_GENERATOR * CONST Generator ); @@ -109,7 +106,6 @@ EFIAPI **/ typedef EFI_STATUS -EFIAPI (EFIAPI * EDKII_DYNAMIC_TABLE_FACTORY_GET_SMBIOS_TABLE_GENERATOR) ( IN CONST EDKII_DYNAMIC_TABLE_FACTORY_PROTOCOL * CONST This, IN CONST SMBIOS_TABLE_GENERATOR_ID GeneratorId, @@ -129,7 +125,6 @@ EFIAPI **/ typedef EFI_STATUS -EFIAPI (EFIAPI * EDKII_DYNAMIC_TABLE_FACTORY_REGISTER_SMBIOS_TABLE_GENERATOR) ( IN CONST SMBIOS_TABLE_GENERATOR * CONST Generator ); @@ -145,7 +140,6 @@ EFIAPI **/ typedef EFI_STATUS -EFIAPI (EFIAPI * EDKII_DYNAMIC_TABLE_FACTORY_DEREGISTER_SMBIOS_TABLE_GENERATOR) ( IN CONST SMBIOS_TABLE_GENERATOR * CONST Generator ); @@ -165,7 +159,6 @@ EFIAPI **/ typedef EFI_STATUS -EFIAPI (EFIAPI * EDKII_DYNAMIC_TABLE_FACTORY_GET_DT_TABLE_GENERATOR) ( IN CONST EDKII_DYNAMIC_TABLE_FACTORY_PROTOCOL * CONST This, IN CONST DT_TABLE_GENERATOR_ID GeneratorId, @@ -185,7 +178,6 @@ EFIAPI **/ typedef EFI_STATUS -EFIAPI (EFIAPI * EDKII_DYNAMIC_TABLE_FACTORY_REGISTER_DT_TABLE_GENERATOR) ( IN CONST DT_TABLE_GENERATOR * CONST Generator ); @@ -204,7 +196,6 @@ EFIAPI **/ typedef EFI_STATUS -EFIAPI (EFIAPI * EDKII_DYNAMIC_TABLE_FACTORY_DEREGISTER_DT_TABLE_GENERATOR) ( IN CONST DT_TABLE_GENERATOR * CONST Generator ); -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'