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.83]) by mx.groups.io with SMTP id smtpd.web10.451.1607539665555883933 for ; Wed, 09 Dec 2020 10:47:46 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=Axr/nKV9; spf=pass (domain: arm.com, ip: 40.107.5.83, 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=ROwr97iPlBC2vldsJCrLCvdXuDcOcTtLA2lvP1/uxrM=; b=Axr/nKV9fZrNLLCPMgY4vxgitxmWv652DSE/tOi5JKOOMvuMSoQc7S7n/nm9dmgugXhQuUAq6PSfcySnM6NUskFYIAFlfHY1jvq16eVs9xVSsA6bTgDhtPlDLYJ7ERj6qXN2raVIHrKIA237CdAZWbx5TIDQ26GkvRVGWzg9dKI= Received: from DB3PR08CA0014.eurprd08.prod.outlook.com (2603:10a6:8::27) by AM7PR08MB5463.eurprd08.prod.outlook.com (2603:10a6:20b:106::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.12; Wed, 9 Dec 2020 18:47:41 +0000 Received: from DB5EUR03FT027.eop-EUR03.prod.protection.outlook.com (2603:10a6:8:0:cafe::6c) by DB3PR08CA0014.outlook.office365.com (2603:10a6:8::27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3632.18 via Frontend Transport; Wed, 9 Dec 2020 18:47:41 +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 DB5EUR03FT027.mail.protection.outlook.com (10.152.20.121) 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:41 +0000 Received: ("Tessian outbound 76bd5a04122f:v71"); Wed, 09 Dec 2020 18:47:41 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d1fe9f0ae9380945 X-CR-MTA-TID: 64aa7808 Received: from 09f6f5cd0dbd.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 3BA824EE-53EC-4567-96FF-E2D2639182D3.1; Wed, 09 Dec 2020 18:47:26 +0000 Received: from EUR01-DB5-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 09f6f5cd0dbd.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 09 Dec 2020 18:47:26 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=RafLTrhuBBz/MxrCbli4wHPJhFiHr/RXN3clhXw5qC5peqCk0bohva2lrXHoGVriPCDDyEno2ZLP0dOXRsiL1aZ2GuhoxRNU5BAILwUmecLp1AMdEzYF51ix67HzXvQtuApaK/ToZ3/9oizhCdPjwfkRVDHAS7SQpSzl5p3aGrL4TlbxkPKL/58zfw/MKyHde9r/DiZ8UXgO/duDdX5eeb9X4Eu7PPae8XI8MIhmx2EI7b31KFjV0E8RE+FwFyzaCTLnHZ4cJnjhI91TaHJ+oVqC2QuQx8Ips5wiWrTnudwqcotoPPYjFPez7ON8MJ7pCpSfxAqUkfSuN73ZMZ+4tA== 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=ROwr97iPlBC2vldsJCrLCvdXuDcOcTtLA2lvP1/uxrM=; b=W6aXhWeCr417hTmtXpthS62Ce/hJEXgSvdIXFvcUp5blYAfthvw/xYu4CX3ztbiOs53HGS2E+/X2/cBJ8gihdnDzpGoGXP4QAk60kO1DwMDPAHVCO0Z1IcCebE9AK5QOYleQFUJhWkcVD7VlYZq+T5HLe3o1aJ8L+3awhqfqwLx2WTfpqmN2BNeMeyLhTyU0Dunda9upYs/LXyM60rlvUrlYAoirAX8dASvQE5tkytgQZXXtCrdCjWIPNK29SCyIKT7BsLcNY16IRoQYaoUU1dMe4TzjccoFVeSRCdE5xommLV2epCzb0laZOkaGpL6lX63Bza3yQ/X4wtviZ1nfZA== 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=ROwr97iPlBC2vldsJCrLCvdXuDcOcTtLA2lvP1/uxrM=; b=Axr/nKV9fZrNLLCPMgY4vxgitxmWv652DSE/tOi5JKOOMvuMSoQc7S7n/nm9dmgugXhQuUAq6PSfcySnM6NUskFYIAFlfHY1jvq16eVs9xVSsA6bTgDhtPlDLYJ7ERj6qXN2raVIHrKIA237CdAZWbx5TIDQ26GkvRVGWzg9dKI= Received: from DB7PR02CA0035.eurprd02.prod.outlook.com (2603:10a6:10:52::48) by DB8PR08MB4186.eurprd08.prod.outlook.com (2603:10a6:10:b1::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3654.13; Wed, 9 Dec 2020 18:47:23 +0000 Received: from DB5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:52:cafe::f8) by DB7PR02CA0035.outlook.office365.com (2603:10a6:10:52::48) 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:23 +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 DB5EUR03FT005.mail.protection.outlook.com (10.152.20.122) 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:23 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) 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:18 +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:18 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH v1 12/25] StandaloneMmPkg: Fix ECC error 4002 and 9002 in StandaloneMmCore Date: Wed, 9 Dec 2020 18:46:57 +0000 Message-ID: <20201209184710.20912-13-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: 19c0a832-ef4a-448f-fdfb-08d89c72e895 X-MS-TrafficTypeDiagnostic: DB8PR08MB4186:|AM7PR08MB5463: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:9508;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: ijC6+mNWUTvjqLOl4syhCtadr5cjhxEpJOUtOax2tURgbcwbtyQD29dhHHPrLtCBCufIdEjbA4KTcDD7eojEbinl6RnNJMUMOS5OKgm1rRLZUAU610/AT9nnV6S1krW4RMvbmUDnRbmhgLtyEZBi/HxpWzZ2uO6H9Nb+O3oizc7rbe7U98w62/SX/ELECBICic/HrkChaHE9cvCwtRgPmUfhFYbM1LLwCBc3Ffashtuf7+skjy2HGk1LIOLUKqlT60gU41ngSCBCHqNWpeBbxZQSbITZZrC6elWzsds8z4P1XKDhxDCGq4/dFA0bbrX2CsR3Pi1N4/AWDcoDezVMMNmG01vyB+B1RYCiFMs+pj5k9nzz9gd/K3MOWvQ9Ynwr7Q4pyc9wu5mcqUf8Oiegbw== 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)(346002)(376002)(136003)(46966005)(86362001)(44832011)(5660300002)(83380400001)(6916009)(54906003)(6666004)(36756003)(4326008)(8676002)(186003)(2906002)(81166007)(356005)(1076003)(7696005)(82310400003)(47076004)(2616005)(70206006)(8936002)(426003)(336012)(70586007)(508600001)(26005);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB8PR08MB4186 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT027.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 12580952-0c99-4ea7-fa3d-08d89c72ddb5 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: aSFf+fgztZvWbZdHftksdJzMXBq3RtI+mXMaOzDsDiLwz3/EelF/vHjjUVePVDw+9WR12SePb4POCjawPqtX98NMlU5FFZqMC0pydwB0P52Xxoup3YUsnOADwf/8rDM3XkPk2WTCJMxWB/s24b9nvtPKkjOH/DvPtr5NVYtEGG1IDMUw0gu6rcd6uCwAOR24V7rw84+IfyFipp7uSAOiqM2ndu2aDhM0aiylykNeW4+JFp1SbJHT0dBegOW/PGc67MwIvKxM1gMInq5tpf2wLKWp3urApNcX2MZf8Ih9vTTj0o/QCV3IlcJk98KzPCTYHfsviiCvYCeWQDYd+PY4T/oGPBUqgSNERrLrww8KvHmAIjHbRR4TaFbBvRbc3rCA5fhMKVeZcuqQ00XpbjNSlQ== 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)(39860400002)(136003)(346002)(396003)(376002)(46966005)(8936002)(186003)(8676002)(336012)(426003)(4326008)(6916009)(2616005)(54906003)(316002)(7696005)(2906002)(81166007)(82740400003)(478600001)(83380400001)(47076004)(44832011)(26005)(36756003)(1076003)(5660300002)(82310400003)(70206006)(70586007)(86362001)(6666004);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 09 Dec 2020 18:47:41.5204 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 19c0a832-ef4a-448f-fdfb-08d89c72e895 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: DB5EUR03FT027.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM7PR08MB5463 Content-Type: text/plain Add doxygen style function documentation headers to fix the ECC reported errors: - [4002] Function header doesn't exist. - [9002] The function headers should follow Doxygen special documentation blocks in section 2.3.5. Signed-off-by: Sami Mujawar --- StandaloneMmPkg/Core/StandaloneMmCore.c | 23 +++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/StandaloneMmPkg/Core/StandaloneMmCore.c b/StandaloneMmPkg/Core/StandaloneMmCore.c index 803d7605ece7f6a3400866a04e39acf74cda8144..b04a9f985c6ecc601a6d7caf8fd433a1d4cf73c4 100644 --- a/StandaloneMmPkg/Core/StandaloneMmCore.c +++ b/StandaloneMmPkg/Core/StandaloneMmCore.c @@ -414,6 +414,15 @@ MmEntryPoint ( DEBUG ((DEBUG_INFO, "MmEntryPoint Done\n")); } +/** Register the MM Entry Point provided by the MM Core with the + MM Configuration protocol. + + @param [in] Protocol Pointer to the protocol. + @param [in] Interface Pointer to the MM Configuration protocol. + @param [in] Handle Handle. + + @retval EFI_SUCCESS Success. +**/ EFI_STATUS EFIAPI MmConfigurationMmNotify ( @@ -448,6 +457,12 @@ MmConfigurationMmNotify ( return EFI_SUCCESS; } +/** Returns the HOB list size. + + @param [in] HobStart Pointer to the start of the HOB list. + + @retval Size of the HOB list. +**/ UINTN GetHobListSize ( IN VOID *HobStart @@ -475,12 +490,10 @@ GetHobListSize ( Note: This function is called for both DXE invocation and MMRAM invocation. - @param ImageHandle The firmware allocated handle for the EFI image. - @param SystemTable A pointer to the EFI System Table. - - @retval EFI_SUCCESS The entry point is executed successfully. - @retval Other Some error occurred when executing this entry point. + @param HobStart Pointer to the start of the HOB list. + @retval EFI_SUCCESS Success. + @retval EFI_UNSUPPORTED Unsupported operation. **/ EFI_STATUS EFIAPI -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'