From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.70]) by mx.groups.io with SMTP id smtpd.web12.456.1607539664489368439 for ; Wed, 09 Dec 2020 10:47:44 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=pxIX1E4n; spf=pass (domain: arm.com, ip: 40.107.7.70, 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=yIMm6WF7PO+wbxsLdYZdLCijSqFiDCwC0yU5/mXd5FI=; b=pxIX1E4nnHZwFLLrExnNYUefucTmZClwCqrP1JreiQzwMpWDXW5+tSkFsz4AAHHreO6arR7gUGeZiHEeyXo9JFlWq/yCOomI1cVB3it8q30IMgxrIJWw8gusbNsVKZMqLj7+CqHkjhX/veIRwPsFS16SujdgUcYZOPNdmzRshFo= Received: from DB8PR03CA0029.eurprd03.prod.outlook.com (2603:10a6:10:be::42) by VI1PR0802MB2461.eurprd08.prod.outlook.com (2603:10a6:800:af::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:41 +0000 Received: from DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:be:cafe::3f) by DB8PR03CA0029.outlook.office365.com (2603:10a6:10:be::42) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:40 +0000 X-MS-Exchange-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=pass 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 DB5EUR03FT029.mail.protection.outlook.com (10.152.20.131) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:40 +0000 Received: ("Tessian outbound fc5cc0046d61:v71"); Wed, 09 Dec 2020 18:47:40 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 3ab17182b1213e9e X-CR-MTA-TID: 64aa7808 Received: from a194c21d3ad9.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8AEF32A0-473F-4FB2-9744-1484831B6E98.1; Wed, 09 Dec 2020 18:47:25 +0000 Received: from EUR04-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a194c21d3ad9.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:25 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=drCdT08e6SyvgChufOKkF0yRfzsv/56R7FkMDrEjs16piRovLVRteQm9gxxwA8M2fDHzT9S866CFJ7F4kDPrCyIeuR0csuGcJv+29Y8eHSKgt47GR9TeVW4bOEsBoj6JV+l6eRjk5lEb1XtZWe+0Rz+Kb5qIosVsxj5Okk4LZOYQkGGzw3ZCAm+BACa1sECF8/ojSx8FUPFrjBa9JdQK6C/vwxnMvKEReSlW6cMFGmwFPqYmSIWlN8t82QzV5M5h+BgNwajNR7UlWPR/F6tap4hW+tccNBD1LAuonYz6Rmr0Pdfkj5JxAWwtiPaLzLeFu0nDNCHDCFwW25kXxcV+BA== 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=yIMm6WF7PO+wbxsLdYZdLCijSqFiDCwC0yU5/mXd5FI=; b=M+8SN3CGX7BeADPwL6PwNDKgRMlamFE2m33WtUZF4Dq9RghM0mB7ZSP2DVFGW2cVJG1GNox9jB/z1xGZWstkRCF0ZhVlzF1QCfyfttiOTpgipMCCJMwFb+E/p9hmK/Th0O5rzPPZ6odTLNeNxtmTo6ZoNzt3poTEaimrMVg/3OGzcSXPpWctMtXocKRwiuQewxtIyXl2qMV+GguBVMC6n+YShlyC+ZX/7uacOlKd8x8IVPkeMsJ7hLJNigWFLXoeoutZ2CtaT6+/lNA+34/0DLk93sFlGzSF0u6olAKSWti7RmWlgkAMFJx38kfU82FLsJIAQramN9xWocu80ohyeA== 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=pass (p=none sp=none pct=100) 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=yIMm6WF7PO+wbxsLdYZdLCijSqFiDCwC0yU5/mXd5FI=; b=pxIX1E4nnHZwFLLrExnNYUefucTmZClwCqrP1JreiQzwMpWDXW5+tSkFsz4AAHHreO6arR7gUGeZiHEeyXo9JFlWq/yCOomI1cVB3it8q30IMgxrIJWw8gusbNsVKZMqLj7+CqHkjhX/veIRwPsFS16SujdgUcYZOPNdmzRshFo= Received: from AM6P194CA0050.EURP194.PROD.OUTLOOK.COM (2603:10a6:209:84::27) by VE1PR08MB5661.eurprd08.prod.outlook.com (2603:10a6:800:1b3::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.17; Wed, 9 Dec 2020 18:47:24 +0000 Received: from AM5EUR03FT041.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:84:cafe::4) by AM6P194CA0050.outlook.office365.com (2603:10a6:209:84::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:24 +0000 X-MS-Exchange-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=pass 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 AM5EUR03FT041.mail.protection.outlook.com (10.152.17.186) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.3654.12 via Frontend Transport; Wed, 9 Dec 2020 18:47:24 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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.2044.4; Wed, 9 Dec 2020 18:47:14 +0000 Received: from E107187.Arm.com (10.57.26.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2044.4 via Frontend Transport; Wed, 9 Dec 2020 18:47:13 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH v1 04/25] StandaloneMmPkg: Fix ECC error 9002 in Core dispatcher Date: Wed, 9 Dec 2020 18:46:49 +0000 Message-ID: <20201209184710.20912-5-sami.mujawar@arm.com> X-Mailer: git-send-email 2.11.0.windows.3 In-Reply-To: <20201209184710.20912-1-sami.mujawar@arm.com> References: <20201209184710.20912-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 4735be54-77a0-4d20-1769-08d89c72e823 X-MS-TrafficTypeDiagnostic: VE1PR08MB5661:|VI1PR0802MB2461: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:8882;OLM:8882; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: eSfZ+ngpeVTjP6DQA5zNrZrIfjM+YgSHhpeMGd/9VAkvvh+TlqgAEi0dg6kG0HhBrxQYDF1GTy8SEtSrC1AWysgC0x3Zz3TjmJ2zAiq9OwkhHp7pYM8dlN/yysbsfwRbphePmYSjOX15JUPqMsXRwQtl1EMuWPX34G+K2vVuLf+VYPGN0CzsCq8Xqe+YCfuGloOrCcViLGSrHM4gyDE7MTUsxm69YYOthlV+55Ke8mIViudOlEBWKw57DieULrvgyhnyP+R3rd+7AfPTTwwF+T6muc1BNOvIjSTof65+4knRWDcNoj4ek0xtofJ0Rn8jBpf/n+dVULHBFwMORt5JZPH2miNSvFePv6RGV7nxHDYK9EkNMIkzNif6GZgEKC13apb+LL0bwJx5NPT3j6D7AQ== 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;SFS:(6029001)(4636009)(136003)(346002)(376002)(46966005)(6666004)(356005)(6916009)(81166007)(5660300002)(36756003)(1076003)(86362001)(47076004)(8676002)(2616005)(2906002)(8936002)(426003)(54906003)(508600001)(7696005)(4326008)(336012)(82310400003)(26005)(44832011)(70206006)(70586007)(83380400001)(186003);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR08MB5661 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 8c2daefb-d557-4261-5f93-08d89c72de3b X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: Pz/y5gzAZzdgc4kZgzdml1UXkysYw2sOBqBqCxtPm1QnuSKEM7KaFv91vJkv92TB0W8StJpEBExh/EJfcyp7ODULDX+m4zOpD+UmHqM8R5JLUpU+Q70paZ8MKRolMRT1gZdyDbUK1UV3ZZedZ/hUnlcaRAl7hiQUju2uv6I8y5BmBPbFN5fa2B/NYwOoui5oGFE6uTqy5VqnTFlpBzUhws2x/IPEe5JudFY0seJibMii/plLdT0/DcAkO035KcxLkpUCcD34qyg4U0b7lVv/MfsT6qKA7mSp6MwriTGNjEbZtkEZITbK75o5seECt4tjMiSlu5WYnNcMAF9MXFskMya1cn+WDZgA/EVcgUjdBSvVWdCI9/Oay//7wwC8bB6TfmvlLwVeo37NFk26p3KQKg== 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;SFS:(6029001)(4636009)(346002)(376002)(136003)(46966005)(508600001)(26005)(70586007)(44832011)(6916009)(81166007)(8936002)(47076004)(70206006)(1076003)(86362001)(82310400003)(336012)(8676002)(6666004)(83380400001)(7696005)(2616005)(54906003)(36756003)(426003)(2906002)(5660300002)(4326008)(186003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:40.7683 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 4735be54-77a0-4d20-1769-08d89c72e823 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-AuthSource: DB5EUR03FT029.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0802MB2461 Content-Type: text/plain Fix the ECC reported error "[9002] The function headers should follow Doxygen special documentation blocks in section 2.3.5 in Comment" Signed-off-by: Sami Mujawar --- StandaloneMmPkg/Core/Dispatcher.c | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/StandaloneMmPkg/Core/Dispatcher.c b/StandaloneMmPkg/Core/Dispatcher.c index 45b17fe3acfec9c056396873006c03f668c1aed6..26e5a6933f8d5b5a33865ff63d3ae4bea9fc8c09 100644 --- a/StandaloneMmPkg/Core/Dispatcher.c +++ b/StandaloneMmPkg/Core/Dispatcher.c @@ -834,18 +834,14 @@ FvIsBeingProcessed ( The Discovered list is never freed and contains booleans that represent the other possible MM driver states. - @param Fv Fv protocol, needed to read Depex info out of - FLASH. - @param FvHandle Handle for Fv, needed in the - EFI_MM_DRIVER_ENTRY so that the PE image can be - read out of the FV at a later time. - @param DriverName Name of driver to add to mDiscoveredList. + @param [in] FwVolHeader Pointer to the formware volume header. + @param [in] Pe32Data Pointer to the PE data. + @param [in] Pe32DataSize Size of the PE data. + @param [in] Depex Pointer to the Depex info. + @param [in] DepexSize Size of the Depex info. + @param [in] DriverName Name of driver to add to mDiscoveredList. @retval EFI_SUCCESS If driver was added to the mDiscoveredList. - @retval EFI_ALREADY_STARTED The driver has already been started. Only one - DriverName may be active in the system at any one - time. - **/ EFI_STATUS MmAddToDriverList ( -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'