From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail02.groups.io (mail02.groups.io [66.175.222.108]) by spool.mail.gandi.net (Postfix) with ESMTPS id 03F1374003A for ; Thu, 28 Dec 2023 20:47:25 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=mPBO8gYRXl2LiW3XayHxXr71re5IGMhxHbrjChsv2Mc=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF:From:To:CC:Subject:Date:Message-ID:MIME-Version:Precedence:List-Subscribe:List-Help:Sender:List-Id:Mailing-List:Delivered-To:Reply-To:List-Unsubscribe-Post:List-Unsubscribe:Content-Transfer-Encoding:Content-Type; s=20140610; t=1703796444; v=1; b=laABIpyhYQblPuRdckiofj/84Nh5neIMH/sSAC/ETEIXj0ZbrfHYvE9UQ0VzvP19euDOTHSD ObcpooaKMtX0xa9djQkuR/WqOikiTxY+JnTqFs13AUQikWgSVOU9ecV2syIWeTgrvdNWQHdAKDg c2G9fEhExRzgsepFjA641lCc= X-Received: by 127.0.0.2 with SMTP id aQqyYY7687511xvokZZNxA1I; Thu, 28 Dec 2023 12:47:24 -0800 X-Received: from NAM11-CO1-obe.outbound.protection.outlook.com (NAM11-CO1-obe.outbound.protection.outlook.com [40.107.220.82]) by mx.groups.io with SMTP id smtpd.web10.131897.1703796443987184637 for ; Thu, 28 Dec 2023 12:47:24 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FVr9cd3mxUOAocx4Txwlv9qqFZ8x79TF2QbD50UIL8vFmt74fgVG81oiewGzW8mr+6k411Ug/hQ52jwHIZDjK0DNKC+Ze5agecfMkl6udMJThU8qVGnwLUAGu5ERIft4HVAO4KHufEEnSUTkK0r4W8F9MtPPKtS3AETieYDT8ZXJ/ry9R6wcm9aiHqL1tBYzTXfzesMbebR1NI7y2+uUL/iqpfSbDxadRDnj76jZfY6uzLEAh+VMeDYcvqJoeSXBpE/5dzbV7qkprxxezANBBE5VNvqksHsvXmtvA1ZObHtrYXWLieVxriWdbyLphOw6SeqOYYcMtOavPRYqTeeLyw== 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=GhDe492z+zMLQJPRt7UhHbvsTJKZH/Xqmxq903qj2rA=; b=KoRTEznxdXkpxob85YkQ5RBAjkhYwzna1apBKN/ylF6OdP3YzcLzORBPCiN1qyTEEBQyRMuAmAj1o/KQIZF9on1IqJRmRityn6ecXgCsV7gBIh1s8St+ZSvPUcMVsCcMUFSAYYcgGmfRjWBJ1Lj6Pjz3pd3m4lQUe1M7ij0ep84BFH/Ubn8c6hlb0wRl/Pn74phoxNJQYTQJu1SVTGemPjDruabKM8jvbYSh6ReakjzrvoDz+TS97fqP8ZbdQqgZHyC7ddGndSdYUPZ7RHn4Y8aUmUIuk41R8LX32vdP+lNOhMhe5awukrglPFvO/CQzqg12fKTr82xpVWgHT2HrkQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 216.228.117.161) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=nvidia.com; dmarc=pass (p=reject sp=reject pct=100) action=none header.from=nvidia.com; dkim=none (message not signed); arc=none (0) X-Received: from DM6PR01CA0026.prod.exchangelabs.com (2603:10b6:5:296::31) by DS0PR12MB8414.namprd12.prod.outlook.com (2603:10b6:8:fb::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.27; Thu, 28 Dec 2023 20:47:21 +0000 X-Received: from DS3PEPF000099DE.namprd04.prod.outlook.com (2603:10b6:5:296:cafe::c1) by DM6PR01CA0026.outlook.office365.com (2603:10b6:5:296::31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.27 via Frontend Transport; Thu, 28 Dec 2023 20:47:21 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 216.228.117.161) smtp.mailfrom=nvidia.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=nvidia.com; Received-SPF: Pass (protection.outlook.com: domain of nvidia.com designates 216.228.117.161 as permitted sender) receiver=protection.outlook.com; client-ip=216.228.117.161; helo=mail.nvidia.com; pr=C X-Received: from mail.nvidia.com (216.228.117.161) by DS3PEPF000099DE.mail.protection.outlook.com (10.167.17.200) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7135.14 via Frontend Transport; Thu, 28 Dec 2023 20:47:21 +0000 X-Received: from rnnvmail203.nvidia.com (10.129.68.9) by mail.nvidia.com (10.129.200.67) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Thu, 28 Dec 2023 12:47:12 -0800 X-Received: from rnnvmail201.nvidia.com (10.129.68.8) by rnnvmail203.nvidia.com (10.129.68.9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.2.986.41; Thu, 28 Dec 2023 12:47:11 -0800 X-Received: from cad98f4d2e3d.nvidia.com (10.127.8.13) by mail.nvidia.com (10.129.68.8) with Microsoft SMTP Server id 15.2.986.41 via Frontend Transport; Thu, 28 Dec 2023 12:47:11 -0800 From: "Jeff Brasen via groups.io" To: CC: , , , Jeff Brasen Subject: [edk2-devel] [PATCH v2 0/3] EmbeddedPkg ReallocatePool and Mock changes Date: Thu, 28 Dec 2023 12:47:05 -0800 Message-ID: MIME-Version: 1.0 X-NVConfidentiality: public X-NV-OnPremToCloud: ExternallySecured X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS3PEPF000099DE:EE_|DS0PR12MB8414:EE_ X-MS-Office365-Filtering-Correlation-Id: 7d847973-8b0f-441c-3762-08dc07e6305f X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: F0W+/EjYwR/k9BmYM/b5X7SbHGKe+cZH7Sw/I/YDW/OD9hE/bcxA9Pa13CdGN83RiSZWBucIP/TtNwxhRRDwNifXchqadyvtxGIYcWJdaBSexMS4v2uCgj8EoUpSc5/ylStPNJRRSYvDltd87OdFn8Qjmix0lXds9UkEJAXGuXDZNgpEkuhF9Njw0jBp4WfFeAiqxxugyKx8ZvPfEsn+FD9PUUFKKK1l1cuvVZ5EeGYvlRGsPa6Tc7n8AhhIAY0qy/Nh69sbGFl6IZmtJAdGeF2rsUZ7fxjt64Y4VWeVlUpdrp9QDgZG+TkdfZjMbu8frsJ59Molt2g+coOsm+fSTzli66MtuAQgzx8hrXYKbsZw/m4Lx9Iu05Kducij8ZJ8FEDmYvNqCvpsk+vxYggSrJOVFA/reNMrC6RRdnpHQk0yKAnPbJ+TrVmj0T2JF+P5blRf+1TN7eAOlITLWxxqCT0hK0fIJ6E/Ljzq9jpiIKOHk4JphK6/V/3Cvwt9iJZ2MIQp4hHmTPpgKUnVD19VeTI656moqAzTKP44HTFgdmmZYUQjxJ2FFTP+91VHHxmB5oEUFOKABjxLcc8F1HSFjjR8xoU2m6zFACvTOxGAncHZmUqvx87KbQcgDAEjLNepNr6Q3sRDL/foG59kYzuCW0kWCL0igaxfdwBZcpyGjDKssr6dD2cW6Lqdx2pgYwbq+c/co5CocaMgYP2KO1J6iIeyBFg1WcGtiBKQbnoNL0T1ynguW4h9BNb+ZbCHW354311HqGqVb8T0CTxqssNen0jyowSybSkri61x8uH711o= X-OriginatorOrg: Nvidia.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2023 20:47:21.3780 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 7d847973-8b0f-441c-3762-08dc07e6305f X-MS-Exchange-CrossTenant-Id: 43083d15-7273-40c1-b7db-39efd9ccc17a X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=43083d15-7273-40c1-b7db-39efd9ccc17a;Ip=[216.228.117.161];Helo=[mail.nvidia.com] X-MS-Exchange-CrossTenant-AuthSource: DS3PEPF000099DE.namprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DS0PR12MB8414 Precedence: Bulk List-Subscribe: List-Help: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,jbrasen@nvidia.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: KzKCzw5jdmrzE4vzuQ4yjd31x7686176AA= Content-Transfer-Encoding: quoted-printable Content-Type: text/plain X-GND-Status: LEGIT Authentication-Results: spool.mail.gandi.net; dkim=pass header.d=groups.io header.s=20140610 header.b=laABIpyh; dmarc=none; spf=pass (spool.mail.gandi.net: domain of bounce@groups.io designates 66.175.222.108 as permitted sender) smtp.mailfrom=bounce@groups.io; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}") Adding Mock support for DtPlatformLoaderLib and changing ci.yaml to support= this Adding ReallocatePool support to PrePi Library. Passing CI in https://github.com/tianocore/edk2/pull/5197 Change log v2 - Fix uncrustify errors Fix ci allowed packages entries Fix cast on 32-bit systems Jeff Brasen (3): EmbeddedPkg/PrePiMemoryAllocationLib: Add ReallocatePool EmbeddedPkg: Add host based dependency to ci EmbeddedPkg: Add DtPlatformLoaderLib gmock support EmbeddedPkg/EmbeddedPkg.dec | 1 + .../MockDtPlatformDtbLoaderLib.inf | 29 ++++++++++ .../Library/MockDtPlatformDtbLoaderLib.h | 31 ++++++++++ .../MemoryAllocationLib.c | 57 +++++++++++++++++++ EmbeddedPkg/EmbeddedPkg.ci.yaml | 4 +- .../MockDtPlatformDtbLoaderLib.cpp | 13 +++++ 6 files changed, 134 insertions(+), 1 deletion(-) create mode 100644 EmbeddedPkg/Test/Mock/Library/GoogleTest/MockDtPlatform= DtbLoaderLib/MockDtPlatformDtbLoaderLib.inf create mode 100644 EmbeddedPkg/Test/Mock/Include/GoogleTest/Library/MockDt= PlatformDtbLoaderLib.h create mode 100644 EmbeddedPkg/Test/Mock/Library/GoogleTest/MockDtPlatform= DtbLoaderLib/MockDtPlatformDtbLoaderLib.cpp --=20 2.34.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#112989): https://edk2.groups.io/g/devel/message/112989 Mute This Topic: https://groups.io/mt/103407482/7686176 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [rebecca@openfw.io] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-