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.59]) by mx.groups.io with SMTP id smtpd.web11.43761.1676989328935827580 for ; Tue, 21 Feb 2023 06:22:09 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=WLWprgJ7; spf=pass (domain: arm.com, ip: 40.107.7.59, 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=77eyK3UNuvR9Wtzjfqw+Y19lCVGUeqdAHylOXTekUXk=; b=WLWprgJ7N0BCNHpgbVTIa4TOLjXE+mXxYikB9v/T/Zm85g6sTnzvxrpNy1NIpKsw2dF8jkd1nqw1cctwdWel5vd8cxh5D2carknlAUoWZkSghtWEHSi08XepDqDXo4o4rD84wartEkiyglXHv+aj3T5Yv3GofBxYjhBBOQP2ueU= Received: from AS8PR04CA0034.eurprd04.prod.outlook.com (2603:10a6:20b:312::9) by PAVPR08MB8944.eurprd08.prod.outlook.com (2603:10a6:102:32f::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.21; Tue, 21 Feb 2023 14:22:04 +0000 Received: from AM7EUR03FT020.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:312:cafe::99) by AS8PR04CA0034.outlook.office365.com (2603:10a6:20b:312::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.21 via Frontend Transport; Tue, 21 Feb 2023 14:22:04 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;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; pr=C Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM7EUR03FT020.mail.protection.outlook.com (100.127.140.196) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6134.17 via Frontend Transport; Tue, 21 Feb 2023 14:22:04 +0000 Received: ("Tessian outbound 43b0faad5a68:v132"); Tue, 21 Feb 2023 14:22:04 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5c58d989285652f6 X-CR-MTA-TID: 64aa7808 Received: from 9f317507b494.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id C753D58C-2E54-4049-B310-D3D4037F57CB.1; Tue, 21 Feb 2023 14:21:58 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 9f317507b494.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 21 Feb 2023 14:21:58 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=hirDZtak2mPN1J92ZCZnEN61VTFlMWIAikI/T/s3r9N1kJCwd40wDf9lQDpUTsvT9H5p3qfP7Hi+Xuhi96Ljbl9+pcZ1Bms/giayCqiaXvPu5lIFX8ZvXUMBYScYWxFKbMmW1j3E0ZVZJnTf0hWJwKQ8HmmsdNboDCcv/AAGmHEty3qiPYhSd2UtVPRp/5v+7w3ZDKAp7U3kYHRg4/ivUbjk2TxR/o7ttgzNdTinhtTEY6tRy+YgWgGQcne7wCt1biduDifw7yOj0mbkddwUEBlLOJWy0UPigoHo0343b/AR9pR9btY//+kFop412c+7hNPeQw0PSh/w0GCCFo6fAA== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=77eyK3UNuvR9Wtzjfqw+Y19lCVGUeqdAHylOXTekUXk=; b=CaymDLAOJPLGiS39R3fKSpkwzmuRJPrmHEynLBMl41Sz3QD9k/nz8VpysZww0KBzjwE1dPGVP9Oi3EHM7swk6i51MKSCud0Tz6ozUysPeBeEFcwoSPSkGYY6YIB8Tj3FoIyqmFcjalGtywoIx7zXLejNP2iPZFwXw6OincPj623rYYla/mf01qCXNcpJVVlHxWjIjHpSGt8GvRAIyMYvul0ax/+ft35HoR8bufMVA9N2osGc3jcR8suqU9Lno58JAiwtiTmyjBEV+nJkEN3yNPAiMdFw+lCXfUbOCxG2zUcd3cdc7HKlNX/yIjH6ir5cGBgyzTZBVTvImCY9q1Je0A== 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=77eyK3UNuvR9Wtzjfqw+Y19lCVGUeqdAHylOXTekUXk=; b=WLWprgJ7N0BCNHpgbVTIa4TOLjXE+mXxYikB9v/T/Zm85g6sTnzvxrpNy1NIpKsw2dF8jkd1nqw1cctwdWel5vd8cxh5D2carknlAUoWZkSghtWEHSi08XepDqDXo4o4rD84wartEkiyglXHv+aj3T5Yv3GofBxYjhBBOQP2ueU= Received: from AS8PR08MB6806.eurprd08.prod.outlook.com (2603:10a6:20b:39b::12) by DU0PR08MB9608.eurprd08.prod.outlook.com (2603:10a6:10:448::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6111.19; Tue, 21 Feb 2023 14:21:54 +0000 Received: from AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::22bf:7afd:6f9a:9066]) by AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::22bf:7afd:6f9a:9066%5]) with mapi id 15.20.6111.021; Tue, 21 Feb 2023 14:21:54 +0000 From: "Sami Mujawar" To: Gerd Hoffmann , "devel@edk2.groups.io" CC: Oliver Steffen , Leif Lindholm , Ard Biesheuvel , Pawel Polawski , Jeremy Boone , nd Subject: Re: [PATCH 1/1] ArmPkg/SemihostFs: replace SetMem with ZeroMem Thread-Topic: [PATCH 1/1] ArmPkg/SemihostFs: replace SetMem with ZeroMem Thread-Index: AQHZQUsQXZ/B1ZyZBEiTwty0MUeaJ67ZfRqA Date: Tue, 21 Feb 2023 14:21:53 +0000 Message-ID: <8EC3B428-8C8F-42F8-8D7D-BE319511462E@arm.com> References: <20230215143732.676580-1-kraxel@redhat.com> In-Reply-To: <20230215143732.676580-1-kraxel@redhat.com> Accept-Language: en-GB, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Microsoft-MacOutlook/16.70.23021201 Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; x-ms-traffictypediagnostic: AS8PR08MB6806:EE_|DU0PR08MB9608:EE_|AM7EUR03FT020:EE_|PAVPR08MB8944:EE_ X-MS-Office365-Filtering-Correlation-Id: baf875ca-80e2-4ba2-f4c6-08db1417019c x-checkrecipientrouted: true nodisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: YiPoaxoVC4EM/zoBAODNIQtfVSYwH1pfGdY4OfxID55PZlz/1+7VaenTITId7VEZNC43VIKoB7FPbrVTn//2QHDZyPQJkgyIct7lRP1FFLrMutua/XHy10IWlgPM3BmOjx4VJ60n/Z5sI97Hh5gBTtT8vQCqEMVcu7mjKHZxOAQev9qfKKOpY96k/iUiGHKM8FhX6kE/Rfm2dmq3C4BlzQjSVfl9dOeyECQiDOfdwpMEGFVF1r7T3IT+m5ZZObb18DG121NUa5sYZSD8I6ZnG42TN4Ppss6DlLqixTftbx3M7dNiq6UBPgkkzHprytJmZW4rsTTrXI4SynROdqA1r+66SPbARrnTfZ0I93uxQCo5jX31svaZ64hrkpi5z7ol8Rr1AYURjQtZpm8+PG+KdEsznpVETzEfkeiR3662ljKVVtETGZzgrhKNuPpU8Q0r3jv4j/JhBzdaLIVwKHaJQe7RlaTto6I2mtdVXKdePz5s5aduaB9NgGxEAx24C2T9/qCoEn2KWP3WMhYaXUUn/208ZZ36023G7vhEOynHM8qq3m9OQeZUPRvf2jgy1+TCLDb8w8882ssLRsbjzAxVPmureaQ/3334aA4/VxYRyZgdITUhKamQM14mBaYqE+ZVaHB5tymVWzfvlkGPAhNzeHUPHr0AyCTptOA5s9WTQR9am+E41iW3NiQKnqnS9kBDVp+GEBsMoKDv2jkVma2bZcsRqZgsAzlR6BAnwI7+z7g= 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:(13230025)(4636009)(376002)(136003)(39860400002)(346002)(366004)(396003)(451199018)(6486002)(66946007)(54906003)(91956017)(76116006)(316002)(66476007)(8936002)(64756008)(66556008)(66446008)(41300700001)(83380400001)(2616005)(4326008)(6506007)(110136005)(8676002)(6512007)(26005)(186003)(478600001)(966005)(71200400001)(38070700005)(36756003)(86362001)(2906002)(5660300002)(4744005)(38100700002)(122000001)(33656002)(45980500001);DIR:OUT;SFP:1101; MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DU0PR08MB9608 Original-Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Return-Path: Sami.Mujawar@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM7EUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: da38ccc7-eaf2-4009-4219-08db1416fb49 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: WAFimFDAJy9IQ3cZW7nz6I98Hc6Aix4pcG+0lfxXvQMj19c6jwYKnBhKbxoYIUIW4Ra+Kwa5e9Q+SzhevDyVjd2QVHDVO2FDZrFsHxOJkkE57dQ7T0cquVvruDiHGPdd3MZdVF+KLIVOSahlXQPn6tbCeUNqbkPXnpRv891iWUcgGpaLy+DzWYk8I2+gu5QlWKHIGdDsIgL35p+PjBXKu2pPbGD+HJTywX7TYQGWFP3ElMc3bmye7J1TkuecRWg60PnEZr/py0W6RkRPV+PlcUa29O+iEIL1U97c7aPdWXe9mDmG8k7OnHpPEBhu1kv181dAKbCZjJV2v0mYuMIh+8WjOJS/vxp5EciQcQ6q9vqJaJXuuHaX31I8NesoJgPZhCS9jwT2SxrKWPLjX3USiyhEmB0zEOAQS5Ihlko/qu9x7zXeFIjVREGns6Ci1/nOttCUumH3sN2TpjcjivtkeLLSBqYbLz9XBfAgnsMyC4e3dakV8brSQ8nzbvGboWVgB5kJI0+O8B3yOpYD43PQvisFN93dhdTKcLitLM0IMK/KyWN1yKq0RRgdl40M88g+85cMuu4x7Obv2YaaluWhOPHANtXPHJRQXNakUeYIBrpGo1D/Kg9szWMkvRZQVZ9IDmxOw4Iw7fZ9xeKCr2WKv3HEGL2boumPoH5XEdz7TNCQBGfdjVkD3QMkqg3+FvSz 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:(13230025)(4636009)(136003)(346002)(396003)(376002)(39860400002)(451199018)(40470700004)(46966006)(36840700001)(81166007)(36860700001)(82740400003)(2616005)(2906002)(8936002)(5660300002)(82310400005)(54906003)(33656002)(26005)(6512007)(186003)(83380400001)(41300700001)(336012)(356005)(36756003)(70586007)(47076005)(8676002)(70206006)(4326008)(86362001)(478600001)(40480700001)(966005)(6486002)(6506007)(110136005)(316002)(40460700003);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 Feb 2023 14:22:04.6299 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: baf875ca-80e2-4ba2-f4c6-08db1417019c 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: AM7EUR03FT020.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAVPR08MB8944 Content-Language: en-GB Content-Type: text/plain; charset="utf-8" Content-ID: <3FB9FAF2A05C77459943B665C06262FE@eurprd08.prod.outlook.com> Content-Transfer-Encoding: base64 SGkgR2VyZCwNCg0KVGhhbmsgeW91IGZvciB0aGlzIHBhdGNoLg0KDQpSZXZpZXdlZC1ieTogU2Ft aSBNdWphd2FyIDxzYW1pLm11amF3YXJAYXJtLmNvbT4NCg0KUmVnYXJkcywNCg0KU2FtaSBNdWph d2FyDQoNCu+7v09uIDE1LzAyLzIwMjMsIDE0OjM3LCAiR2VyZCBIb2ZmbWFubiIgPGtyYXhlbEBy ZWRoYXQuY29tIDxtYWlsdG86a3JheGVsQHJlZG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