From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-HE1-obe.outbound.protection.outlook.com (EUR02-HE1-obe.outbound.protection.outlook.com [40.107.1.80]) by mx.groups.io with SMTP id smtpd.web12.9571.1621349024609912005 for ; Tue, 18 May 2021 07:43:45 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=CL4c27wK; spf=pass (domain: arm.com, ip: 40.107.1.80, 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=VGa7jLjiE/pbwSUPnK3rgSngq3nTCBHArSIaySAOF9Q=; b=CL4c27wKPMzRg9fLU71DacC7y7KcGO1duNwHA/8lIbSoK+rXYP3lC4AHHJd9METARKeelU1xb4lEho22JoPgyBBnGtrOs40JRT4oX3wzYgrvS8Be5HKMAgJuiaQJ6e1XDfPHUrmAmkRZUhn17yuROq6FBvqOQYPJwAopVVCsfr0= Received: from AM6PR04CA0038.eurprd04.prod.outlook.com (2603:10a6:20b:f0::15) by DB7PR08MB3066.eurprd08.prod.outlook.com (2603:10a6:5:1e::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.28; Tue, 18 May 2021 14:43:42 +0000 Received: from VE1EUR03FT039.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:f0:cafe::75) by AM6PR04CA0038.outlook.office365.com (2603:10a6:20b:f0::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.25 via Frontend Transport; Tue, 18 May 2021 14:43:42 +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 VE1EUR03FT039.mail.protection.outlook.com (10.152.19.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.25 via Frontend Transport; Tue, 18 May 2021 14:43:41 +0000 Received: ("Tessian outbound 2cd7db0b285f:v92"); Tue, 18 May 2021 14:43:41 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: f54974deb449ada3 X-CR-MTA-TID: 64aa7808 Received: from dad3e875d9fa.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F842CFF1-F760-45B5-9C9F-3354C8E12112.1; Tue, 18 May 2021 14:43:30 +0000 Received: from EUR04-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id dad3e875d9fa.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 18 May 2021 14:43:30 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CmRhmghW9iysNA5otKSWmlJO8Bau/kDKHYRg70ewqUEwGMK5o/e4zTDyGj+pqgfBCq7Dcfxo3kN7LNE6vDWGPwHxSImuG0hIosllynahOQr1r+nIgAd/Kt+NrnxHpgR+uIyGAnhWswhVZjC7S5XMo19UzZjcmNvCkrMpy3IitRI4z4GjCZsyRbb+xHMKg/F/rsY8QXURdgyet2uKm++3xOW7CSrZH5VwdGwoBwQQOJsJYwmMsF5T7Am+YimXoi/LX5y6yNgKr/0o4Wyj7cr0k6oiPsQW2orlRcT6LRdxmy6RQrP1Fsc8D5sDKu1rUIHL8b/UCdD/iPnHjxSKrdP3bQ== 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=VGa7jLjiE/pbwSUPnK3rgSngq3nTCBHArSIaySAOF9Q=; b=TrHnirTWWv71tna5j8LOTI79wfJicGmWrA0ooGycLmboAHy3ec0SqRJAE/5Ih+JT2awzcgknr8Dm5dnguHam6r8SFT3Urmde2wpYOvLt6HpUNJaNa5qqG3lT5Zdavyf3qSSlyj0xQjWuoNjWGF56o3Msp1N3Twzmuv+TrRDsEZbr5aVdP/3GFxGrYfm19P+Wsvut0PNiyY95wOHyUHfdXfl2CDqUpCOy1peN3iI0FmArL4u1OkUCKQzPU+svovpmWkUQSw2Vd54I1ac4rlQUnmizd5+l3XXqFE+u27BeEeDKv3N4LuDtcTKRlE3Zq57+JjYYxWOSD0rmCkDp+Sg6XA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=arm.com; dmarc=pass action=none header.from=arm.com; dkim=pass header.d=arm.com; 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=VGa7jLjiE/pbwSUPnK3rgSngq3nTCBHArSIaySAOF9Q=; b=CL4c27wKPMzRg9fLU71DacC7y7KcGO1duNwHA/8lIbSoK+rXYP3lC4AHHJd9METARKeelU1xb4lEho22JoPgyBBnGtrOs40JRT4oX3wzYgrvS8Be5HKMAgJuiaQJ6e1XDfPHUrmAmkRZUhn17yuROq6FBvqOQYPJwAopVVCsfr0= Authentication-Results-Original: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; Received: from AS8PR08MB6806.eurprd08.prod.outlook.com (2603:10a6:20b:39b::12) by AS8PR08MB6166.eurprd08.prod.outlook.com (2603:10a6:20b:296::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4129.26; Tue, 18 May 2021 14:43:28 +0000 Received: from AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::80cb:878d:c8f1:2688]) by AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::80cb:878d:c8f1:2688%7]) with mapi id 15.20.4129.031; Tue, 18 May 2021 14:43:28 +0000 Subject: Re: [edk2-platforms][PATCH v2 6/6] Platform/StandaloneMm: build StandaloneMmRpmb for 32bit architectures To: Etienne Carriere , devel@edk2.groups.io Cc: Ard Biesheuvel , Ilias Apalodimas , Leif Lindholm , Sughosh Ganu , Thomas Abraham , nd@arm.com References: <20210517055047.30814-1-etienne.carriere@linaro.org> <20210517055047.30814-6-etienne.carriere@linaro.org> From: "Sami Mujawar" Message-ID: <59f817f1-d322-3559-d79e-80f339262720@arm.com> Date: Tue, 18 May 2021 15:43:27 +0100 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 In-Reply-To: <20210517055047.30814-6-etienne.carriere@linaro.org> X-Originating-IP: [217.140.106.52] X-ClientProxiedBy: LO4P123CA0184.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a4::9) To AS8PR08MB6806.eurprd08.prod.outlook.com (2603:10a6:20b:39b::12) MIME-Version: 1.0 X-MS-Exchange-MessageSentRepresentingType: 1 Received: from [10.1.196.43] (217.140.106.52) by LO4P123CA0184.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:1a4::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25 via Frontend Transport; Tue, 18 May 2021 14:43:28 +0000 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d73d1b27-561e-47fb-cc80-08d91a0b54b5 X-MS-TrafficTypeDiagnostic: AS8PR08MB6166:|DB7PR08MB3066: X-MS-Exchange-Transport-Forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:2150;OLM:2150; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: AkQ62WW7UOKmfLIZ5EVSizH98wzeB6zuH0rGOnm5F0/ZabtrQ4+X8/xw3xChI+l2rdW51EggFXB5gom7kZTeEtrpMk6kNEzIrd5GJD4xZ8sU8wLqOhQIWtMsZs1Nxjt+ZwR1/CoDwti3bQUszzNzYqfaoYzByk/8XmuQWOCsE/7hxH1rhrH6sg+WQ1qjVmO5axU/mN7L8o/BHwB0di+LAT1CYA49/4WGQjNCIhINRklf5qOyfZPCFXY49FP1jViS2o1rBMXIYU2tDbVKRC5dlOvMMmP0txRGw8Af0YE8PbIsiutNBCOexA9VcKfUdr2mwP+5fhKvVGTq/SD+/iJtZwcYStp2njKbRsCmUiy92Kfq2A6h6J5zHQ4fV+aVgGK4Qt64mOkO2K5CRRkdHFjXS2GFqQRIGQ7XwBXPK4dOo+B1YSRsikpMoeWuYSERQ9LWJwfAw3TABqyMn+8NFVJu8uSTXqLbg4A2PCoRvvkOFvvECnBhSctgalkszdwZYR/Iz1PTXjEu51OJdiCoMRkAT8DHHyQowkFFnhs/CCVOVsk0BhP2aZxJFqixyeLO3c06K9StlVTk2C+9UhJtA+SMiqVn/lrIAzCXJBjiImsmk1AL+nj8OvqlxvDQ33DPKcCjYvjb2EutM7Sf4Kc6BF8Y/YeWUegTcY4CvMCJgSglEXIVHmykEjRt/GXNRboz+g+7+iIb6JjCx440rjzymyYfcf0Y0ikYEs8I2ekMRP3/9K4= X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS8PR08MB6806.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(6029001)(4636009)(136003)(39850400004)(396003)(346002)(376002)(366004)(956004)(2616005)(26005)(53546011)(16526019)(186003)(44832011)(4326008)(6486002)(36756003)(38100700002)(5660300002)(83380400001)(31686004)(2906002)(38350700002)(66946007)(8676002)(316002)(16576012)(52116002)(54906003)(66556008)(8936002)(66476007)(31696002)(86362001)(478600001)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-AntiSpam-MessageData: =?utf-8?B?TkIwOThBVFdDUFRNeitOUFlvYjJqc3pVa1hIVFQrMDVpdXlmZ0pKaC9hZmVo?= =?utf-8?B?eVEwbGZsQ1k2NUdCbFRveHBPc1hCUms0UUw0ejhBa2JwUjRoUmpRb3E2KzBE?= =?utf-8?B?Y2lSc1VROXdWVkZXQjJBSURpRVBERUFtanowWGtid3I4UDA2TG11NjlnSE1P?= =?utf-8?B?UnFoYTc5em9nVkhocUxKaHZTNjNXWmVuWkNXWURPUXVNNS9CazZoSnpJcEJp?= =?utf-8?B?Zkhlc1BjVE9QRVJjdXAxZ0ozQU1JdHR1akNQQmhFd2NldElPT0FkWm5jbjMy?= =?utf-8?B?ci9yMEpzUjZXVVVCSzQwTXljNkFESTc0Wmcwc0cvdDBmQ0liYjNzc0xsZWFN?= =?utf-8?B?SVlwVUlxU1BLRHJrWDVRa0xOdndZSTRWTlM0N0RpU1VqT2Z2RHg0anRKK2JN?= =?utf-8?B?NGtJTGVNMml5UWk5MEFROFRHSzdqYWNPZHpEOVN0S1B6Z0EzcUtsMVEwcHZN?= =?utf-8?B?V0tsWWswVXNvcDlVVE0rVVRuaXBXWU1WbVBiSGM3MWlIVkJWVFg5cDNwa25m?= =?utf-8?B?bEw1WEFTMGdhSW1hZm5POWQxSDVwekZxV3MrcTg0d0V3Y0ZCdmgvRGlmREl0?= =?utf-8?B?RE13RFFJOFc4bnBoWU1DZ203NENwTm1PTEFJQkluWGtONzlKM0xWZjFSNTUz?= =?utf-8?B?U0FxMDdmYmw1M3hUYlRYanFmSU1wRnJOTFZreEhFYnh0QzVOOVIrczhLdlR6?= =?utf-8?B?YkJQeGVjMFB2bnY2b3MraGZpbzlNdGxUS1I5N1ZTY1dKa1Nic21CbGs5dEN1?= =?utf-8?B?cGZTSFlXRkR3amZabUFUanEvTXR6U3Q1cmhMdSt6eVBxT1krQ3VJZ0Z6OHFO?= =?utf-8?B?Qk9tc3g5N0JYL0Q2YW5idEN6RzhQUjV6YU9Wb2Q4T1hEeU9JREllc3JTM0xV?= =?utf-8?B?VnpWbWQzTEZwSCtjM2hWSnQ2RkN5WDBRdGhIeVpGQVNSeW85MUcvRE1LYTVB?= =?utf-8?B?eDVma2d0b256Uzl0NFZROXpzNk1pUlNaL0xhMDlweE1NTG5STkZmeUQxL2R5?= =?utf-8?B?T2NoUzNhTFZsUVpHanAzU0ZTYmRJT2E5cFZzZ0pYSzF1MHV5YmhzbVJwSU90?= =?utf-8?B?SU9HaDdhaS9kMTVPQ2NmZVEwdk5OODlGMFdlQitWZkVVVlV0Y3VFSG5hWGk1?= =?utf-8?B?UVNSMjRWQUtkV1loRGZRS0JPc2pFWGdxbHRLNU12MWZNOWdGQTJueTcybVFC?= =?utf-8?B?YXRxZ09rVXV4cms3YzhocnphUTBFUUx2R3BZSUtzQ2VheDJtSnFGVXhkWHRH?= =?utf-8?B?c2JoUll6cld5Y0ZaUzduVFFQVzRyTXpkQndaMFJleXNZWjZTV3Y4SUUwZHdI?= =?utf-8?B?NXJVNkY2cVJGTmxqOGxYSHJXY2ZYNHBhNzlrMG43bnFoOFM1anJBZ1VEa3FY?= =?utf-8?B?U2ZocitjS0tVajVjMVdacVNhVzQ2QVZ1WHJnelpnWXRFTnR3R2ZDRlhBT3lL?= =?utf-8?B?L0NPUGhJQnR5LzZiN3dvTWg3ZnF0blNsZWNsVVNMcTdMYzRPbzl0Qk5hV2F3?= =?utf-8?B?ODFyYjdOTmxPM01zNEZvazVVWnRGVjRJVkxxZUNLOStXKzI2V1RDakoxYXgv?= =?utf-8?B?Sjk3MUhmbVovYUE5S3d4b3hBVGo0QXpqQUVNYWJtNGUxRzY0UXdDVC82UmQz?= =?utf-8?B?NUFqbGFxMDBWVHpTVGNiOFFNdHdBdi8vWlF4dVM5QnNkS3hrT2M4U2NuQjMw?= =?utf-8?B?NHA0WWFkcXhFNHJFMmpVZTFRRy91NFd3RkRNdHdST2dVKzhiMytPdmpIY1R1?= =?utf-8?Q?7kRK+MLz5cCa2txvCemJPiMYXxk/NcItp7Gc4Qv?= X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6166 Original-Authentication-Results: arm.com; dkim=none (message not signed) header.d=none;arm.com; dmarc=none action=none header.from=arm.com; Return-Path: Sami.Mujawar@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: VE1EUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: b436b755-43e7-44f8-94b8-08d91a0b4cc8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: cOMXL1f6ADVcRTLp7e0so+spmb59pykzOySMnpa9SOayg+3hz4qJKZsyiRPi7iMCVGaE3afmOHUowQiH0eXHCimX23YGT9UB1tTg3aeR+g8cYkmSEw0OUcjm1lSD7ZrUr/x9JNWU1SUf8hgejZN2eI2qE6hGj4nQ2p5Z8mK2RyOEycwUn+swnnR7AJZidQjFfHBN2YDz2WcSyDR2UWCo/MQl23aLcBUVXrOs0tfo2z7XTu8nuxtwIusor+xbxhoPCFPPis1pWGfcnoL3U6rmi8m71eJZVtn837qDMWIPxPkigIM0yionV/wtqpkZf+HQbevHEwGCFiQ3soeH6n5Klzu5LnP+BNOnk0IvMdZq+bXDrYXhuoDZAFGiEHeSH0sZhbbrTmcqVWQLGf4KHOoRk7eQvWcmGuYgHaLtvWClxMGwKr4lbfKPm2GBvxtokevUUx3Ui7l4xsRKVvmbenVR8AUg3WlOQVI9VMJShc8oONNXWk9wWYhcsxgu7RBHJrYpM2ITY+7YARrn7UwY27itfMih2xDPuSm/6EUnz+f9rJ5OJ2FGfzK6f4P2HzKTDNmL21AH1MtwDo1A3/1Tqk0T3McRL8B5NeezQtWlvSWTjRBbB9V4WvxdToE8SCGMZi9lMnbgIK0IYTLznTCPxE9Y78qQOGFU5DUgWeFE5g2Wv/7GvG+SsMPaLPRV/qwrnx3f 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)(396003)(39850400004)(136003)(376002)(346002)(46966006)(36840700001)(82740400003)(53546011)(478600001)(86362001)(2906002)(6486002)(8936002)(70586007)(81166007)(70206006)(16576012)(54906003)(316002)(44832011)(26005)(31696002)(5660300002)(47076005)(83380400001)(336012)(2616005)(16526019)(36860700001)(82310400003)(956004)(31686004)(8676002)(186003)(356005)(4326008)(36756003)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 May 2021 14:43:41.6126 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d73d1b27-561e-47fb-cc80-08d91a0b54b5 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: VE1EUR03FT039.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB7PR08MB3066 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-GB Hi Etienn, This patch looks good to me. Reviewed-by: Sami Mujawar Regards, Sami Mujawar On 17/05/2021 06:50 AM, Etienne Carriere wrote: > Build PlatformStandaloneMmRpmb for ARM architecture (32bit arm machine). > The generated image targets an execution environment similar to AArch64 > StMM secure partition in OP-TEE but in 32bit mode. > > GCC flag -fno-stack-protector > added. The stack protection code bring > GOT dependencies we prefer avoid when StMM runs in OP-TEE. > > Cc: Ard Biesheuvel > Cc: Ilias Apalodimas > Cc: Leif Lindholm > Cc: Sami Mujawar > Signed-off-by: Etienne Carriere > --- > Changes since v1: > - Remove useless duplication of ArmSvcLib loading. > - Move BaseStackCheckLib to generic library classes instead of ARM only. > - include MdePkg/MdeLibs.dsc.inc > instead of loading > RegisterFilterLibNull.inf for ARM architecture. > --- > Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc | 12 +++++++++++- > 1 file changed, 11 insertions(+), 1 deletion(-) > > diff --git a/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc b/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc > index cb3f1ddf52..33364deb1e 100644 > --- a/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc > +++ b/Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.dsc > @@ -16,12 +16,14 @@ > PLATFORM_VERSION = 1.0 > DSC_SPECIFICATION = 0x0001001C > OUTPUT_DIRECTORY = Build/$(PLATFORM_NAME) > - SUPPORTED_ARCHITECTURES = AARCH64 > + SUPPORTED_ARCHITECTURES = ARM|AARCH64 > BUILD_TARGETS = DEBUG|RELEASE|NOOPT > SKUID_IDENTIFIER = DEFAULT > FLASH_DEFINITION = Platform/StandaloneMm/PlatformStandaloneMmPkg/PlatformStandaloneMmRpmb.fdf > DEFINE DEBUG_MESSAGE = TRUE > > +!include MdePkg/MdeLibs.dsc.inc > + > ################################################################################ > # > # Library Class section - list of all Library Classes needed by this Platform. > @@ -39,6 +41,7 @@ > FvLib|StandaloneMmPkg/Library/FvLib/FvLib.inf > HobLib|StandaloneMmPkg/Library/StandaloneMmCoreHobLib/StandaloneMmCoreHobLib.inf > IoLib|MdePkg/Library/BaseIoLibIntrinsic/BaseIoLibIntrinsic.inf > + NULL|MdePkg/Library/BaseStackCheckLib/BaseStackCheckLib.inf > MemLib|StandaloneMmPkg/Library/StandaloneMmMemLib/StandaloneMmMemLib.inf > MemoryAllocationLib|StandaloneMmPkg/Library/StandaloneMmCoreMemoryAllocationLib/StandaloneMmCoreMemoryAllocationLib.inf > PcdLib|MdePkg/Library/BasePcdLibNull/BasePcdLibNull.inf > @@ -68,6 +71,9 @@ > # > NULL|ArmPkg/Library/CompilerIntrinsicsLib/CompilerIntrinsicsLib.inf > > +[LibraryClasses.ARM] > + ArmSoftFloatLib|ArmPkg/Library/ArmSoftFloatLib/ArmSoftFloatLib.inf > + > [LibraryClasses.common.MM_STANDALONE] > HobLib|StandaloneMmPkg/Library/StandaloneMmHobLib/StandaloneMmHobLib.inf > MmServicesTableLib|MdePkg/Library/StandaloneMmServicesTableLib/StandaloneMmServicesTableLib.inf > @@ -160,3 +166,7 @@ > [BuildOptions.AARCH64] > GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 -march=armv8-a+nofp > GCC:*_*_*_CC_FLAGS = -mstrict-align > + > +[BuildOptions.ARM] > +GCC:*_*_*_DLINK_FLAGS = -z common-page-size=0x1000 -march=armv7-a > +GCC:*_*_*_CC_FLAGS = -fno-stack-protector