From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-AM6-obe.outbound.protection.outlook.com (EUR05-AM6-obe.outbound.protection.outlook.com [40.107.22.53]) by mx.groups.io with SMTP id smtpd.web12.7459.1628005128199592796 for ; Tue, 03 Aug 2021 08:38:48 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=VNWoilH9; spf=pass (domain: arm.com, ip: 40.107.22.53, mailfrom: samer.el-haj-mahmoud@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=ClxOL6qlUOp+cMDFKccdYcy1KbwFhxg40PcF6EiK6s8=; b=VNWoilH9S/rfaBCAQ7SRisOurLfRpg0lMfdUWy5EqHCceXLTCnls3rMU694NWEizK35KtLZPg16HOIy0DZgWagve0ZWsswRIQzucAY8t8tLWqyiuFM+Ah0rjzNOkEY1pKage3hZTXsm+5/72ShSjLvadXOUUWtyzFZZ3S2hyaJE= Received: from AM5PR0602CA0010.eurprd06.prod.outlook.com (2603:10a6:203:a3::20) by DBBPR08MB6313.eurprd08.prod.outlook.com (2603:10a6:10:202::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.21; Tue, 3 Aug 2021 15:38:39 +0000 Received: from AM5EUR03FT004.eop-EUR03.prod.protection.outlook.com (2603:10a6:203:a3:cafe::fd) by AM5PR0602CA0010.outlook.office365.com (2603:10a6:203:a3::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4394.15 via Frontend Transport; Tue, 3 Aug 2021 15:38:39 +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 AM5EUR03FT004.mail.protection.outlook.com (10.152.16.163) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18 via Frontend Transport; Tue, 3 Aug 2021 15:38:38 +0000 Received: ("Tessian outbound ab45ca2b67bc:v101"); Tue, 03 Aug 2021 15:38:38 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 9c95d6c69ce78d6c X-CR-MTA-TID: 64aa7808 Received: from f9af7628e8ac.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 8484C42F-FFAE-4D7F-B5DA-556DC78579A8.1; Tue, 03 Aug 2021 15:38:32 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id f9af7628e8ac.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 03 Aug 2021 15:38:32 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=DLHc0QqgPKF2x7U0dpYpzB7z4KtQlv4TfI6jEcsj9zh0W8Q3U8PLgSkqJOyBeLE7Qb0BdbMCDZkPnqzNDStMJHXxRWgTttb/7/Kyrsn2/+ynaGYP2dcYHhcKfbA98vMjpku4wBoM8YLyTvtZJTyAYtiTgAF1ZSPf3L7oh/uiUGX8fWxF1F5UI2phVDFLIHHhXGl+TnUVUWGwXATJGtM8J9Kd0AZs6ZbuHxrako6se2XG6Cbl2qhZVergRlLtSvvBQSyl2pscOvPJrfP+GNZLRRqpH50KZymb4ArYpMlPgAUin0rQKgdkgOezStKD1JX0OyqNepbSM0mOjcvytt6U7w== 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=ClxOL6qlUOp+cMDFKccdYcy1KbwFhxg40PcF6EiK6s8=; b=cGK+Q/Q9iQ1NNCgc7TXQfWyvtud2upfkt/MqY7Wa8pWbiljAZNB/qQvtk1JzKeylJaynql9n3gN+ciDg08aMz2NVYb6pdUewCTi5+oIMMad8/Imhn5aVQ4NkCECAPERRUD8diLitLqjqqqKedXAuN9y2T+41LOC9x7q5irHI4RU0GNM6d+ayP4bkTlBrLb8sU34zaXLHUSSH9E9gAY008Ol5wMhF+R5aUpGC/HqD2AaMtd9SXECfmIPnrdmEZcyGUZ4v6HDIGiUhtxn8Anq0jwzXYnvQAWVXTxaeUHNLwx0j85oeWzbU6cyb5kiQQmPoq4IaPjmkXjsrvjtbCbeenw== 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=ClxOL6qlUOp+cMDFKccdYcy1KbwFhxg40PcF6EiK6s8=; b=VNWoilH9S/rfaBCAQ7SRisOurLfRpg0lMfdUWy5EqHCceXLTCnls3rMU694NWEizK35KtLZPg16HOIy0DZgWagve0ZWsswRIQzucAY8t8tLWqyiuFM+Ah0rjzNOkEY1pKage3hZTXsm+5/72ShSjLvadXOUUWtyzFZZ3S2hyaJE= Received: from PAXPR08MB6987.eurprd08.prod.outlook.com (2603:10a6:102:1df::15) by PR3PR08MB5866.eurprd08.prod.outlook.com (2603:10a6:102:85::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4373.18; Tue, 3 Aug 2021 15:38:30 +0000 Received: from PAXPR08MB6987.eurprd08.prod.outlook.com ([fe80::cdae:9f67:6693:49d4]) by PAXPR08MB6987.eurprd08.prod.outlook.com ([fe80::cdae:9f67:6693:49d4%8]) with mapi id 15.20.4373.026; Tue, 3 Aug 2021 15:38:30 +0000 From: "Samer El-Haj-Mahmoud" To: "devel@edk2.groups.io" , "xypron.glpk@gmx.de" CC: Eric Jin , G Edhaya Chandran , Barton Gao , Arvin Chen , Samer El-Haj-Mahmoud Subject: Re: [edk2-devel] [PATCH edk2-test 1/1] uefi-sct/SctPkg: correct print code for EFI_MEMORY_TYPE Thread-Topic: [edk2-devel] [PATCH edk2-test 1/1] uefi-sct/SctPkg: correct print code for EFI_MEMORY_TYPE Thread-Index: AQHXPfjedkEtaU3LeECIl1wgYos7lqtifzHw Date: Tue, 3 Aug 2021 15:38:30 +0000 Message-ID: References: <20210430194023.27008-1-xypron.glpk@gmx.de> In-Reply-To: <20210430194023.27008-1-xypron.glpk@gmx.de> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: Authentication-Results-Original: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 535bf927-cff9-4911-1be1-08d95694c3d6 x-ms-traffictypediagnostic: PR3PR08MB5866:|DBBPR08MB6313: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:561;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: E+Bg2JplYyrEY37Pm/z8mn1NHK8w9gxvWe0pmX/9WJC6om6xbo2X+8hUDFtV+HuU75niaSniaOUq7XIuMNT76Kn/wozaLrg8eOiqXULv81Jfsxas1+qwqHZCkS71VXJvn0uYW0l1OEOoScFGzR8xDXUVBw6he7dpBJQ+XnR34Ute63MtOWjaUrKKmcZZFhwa3CyC+kvDHaeGjgclfxv5tAQAW51ciEzLqlsTUqTy7Zfv1fiJTSWVIcr0E5pXAeuzmf8kNnp0EfNdhqaGeBrdVqwJ5WreCxgbgOsGEarsrZiQ5urx3MIdLcZ0pHiPJXwf2YgQlvjXOGLhczoG1Y2hEHJJQKxuavfkE41q+WVpW/f9nPxpconhx5zrTwPwhOrgRk6V/AxaQKD1Q74+G7XRh2+TIaHzF3O9X5C6cHxaJB1hqny0dLdFIzw2G4o4T4g5fxrv4TnCiSFPgH6pfpQD+oawlw7hyxLPAbRUaXY4FIR5cDA6G0YS4qpc2/zJiVb0zfGxyuyvTSPC5Yvl1qOHyuUxVjFRb7+C6OqfHGQKTrNUVadzMV//woc1QU7pre2nElsomPFcwDJTw9Zgx1hHv/gwnewGhzNDFJFfxEbDEX3f1es5JDV2+M/zl2KHNcyRbjRBgLv8IwziVSN/je7l6oq2wsoQVdFa2vdXWmrCeg8lTHA57pJXeh9lRapB9UQXN1O9c1osiJ4MkFlvkhekaHDiAVSNg/yI8o1VshHKzD9lMJOUwgfjsl+/EVoLtjF28aCqjrziXTJ4fa8mThEKTwJAfHLyhZB0GgIIISZNPuieQjuFjzaxPUWLjwatiZHrOu7NWl4cknf58QO1V/tZkg== X-Forefront-Antispam-Report-Untrusted: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:PAXPR08MB6987.eurprd08.prod.outlook.com;PTR:;CAT:NONE;SFS:(4636009)(366004)(376002)(39860400002)(396003)(346002)(136003)(7696005)(76116006)(55016002)(966005)(54906003)(122000001)(2906002)(478600001)(9686003)(38070700005)(110136005)(38100700002)(71200400001)(5660300002)(316002)(86362001)(33656002)(186003)(66476007)(66556008)(64756008)(66446008)(8676002)(53546011)(8936002)(30864003)(4326008)(66946007)(26005)(52536014)(83380400001)(6506007)(579004);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?hwbdarcVm8Jhx61BHYYtuMmcAG2PhYRhy3aChifRX/TvFOXTxTrKbAIfPCJq?= =?us-ascii?Q?Oi1UfxXdBY7u9dsndqBm4XXf5FV6qy47pkmVtFuTB9sIM8faol00oNnznjhI?= =?us-ascii?Q?8S4JB56VGukVNjhuGoeXOIklH/6p3YGVQRiYuskLLlrUvPUZoLYtpxQRQfyJ?= =?us-ascii?Q?pg9BnverP4beA2h2Xcep5gwkLTzWwvC49SwjWZPuOxvtKr6vNcPWyBfg1cBE?= =?us-ascii?Q?eSHBRq/LsN1MXvpXuwfF79MWDjFAPQlK94YvIg3Su7kEHgc1T8xPbTjP6RP4?= =?us-ascii?Q?YFXoMzXI2IwPAuurinEmDXP2USgbLlla7gr3w2k0MEWIwgx+jhLyQDQjvsV1?= =?us-ascii?Q?FsiPfRKwae2P6ysDNTnHsNTHy04Gg/qDeen+s5Jdr0/vRCP0W5zj6IBkXGie?= =?us-ascii?Q?cId3gXNqB5McO3Xijj4oCPUs3RjZ+qkPJZNsi3ewRIUX1H8YMW0tGGGk8eJA?= =?us-ascii?Q?UvjwyIaf1EIqWRg/EGz7gNDClMjrs3JuOlWhUvEncbPW+ZGqaoyIhcPV9nFr?= =?us-ascii?Q?hDOGcLML4rj83EEJCx38QbZ2kyW+TzKK3dSFmzNCCyqww7ZBwWxQPEBv20eV?= =?us-ascii?Q?Tj6ySh/K7jWYaHs/NKImdlwwgdJK5C6qJ9haY6whgiQaPRl8GQfF1Eoe1M2k?= =?us-ascii?Q?oQiCEBx7E3HPkB3jh84+YlcG01rcexIazKguo0gABDgKnQShRGw4yiAOKts+?= =?us-ascii?Q?GrxI9hOQbMQTSUFFYlCbyCx1kI7rML7ujL0T7F8QlXsMGy4rQ2/eU+C4FdpP?= =?us-ascii?Q?wef2G1AieQrmchT+lOQdmKzIVpI4x+Zni+Qt1+xj83+BA12Z9SpWZmvX3CD2?= =?us-ascii?Q?sU9S7N1jvZqdULES+3+BnM5LU7OmKJvnxHzPGyZg9EDJ7GaB+EF+TUqxtapM?= =?us-ascii?Q?gnBdjKLEuROyLsNfjwzZelEGcfDVbdFqxzPKQwhaKtWxHYgNYN0y3Klbi1yV?= =?us-ascii?Q?Is8w/pjJsvjJQQGCgXso8sEBefcpICbgj28C3dr3MRKjyVYx96YtS798ro/y?= =?us-ascii?Q?kTiKEmmVIGeKZNLujw5w8hC7Q5gVYjHVY/UNAEYeidQ+e4UrnmYoZKsBK3AZ?= =?us-ascii?Q?DZ/KRecUcYryNLvu+AH1kYGIR/gQ0Yb6/QFNiFBtxFHhJ/zyGYMr/3gZcQtL?= =?us-ascii?Q?F/fmIdqpO9vry8D31ljef5K9rRt528u0Gmg0q0Z6qyraSgsqhjVTOosqEOgm?= =?us-ascii?Q?++wK5aOY1I7kRL+ah8cMHFVQC0dCHYlSt82IJOD/aDU2OfGXZYf9parB4v/y?= =?us-ascii?Q?9kYCfuWInFvZKZwyX+gy8hlrl3sYKCOLuJmGFdbnLEIiSpQm/NpOwo+pL7VV?= =?us-ascii?Q?FWVjOrJFe06mHn1th6el2JnN?= MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PR3PR08MB5866 Original-Authentication-Results: edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; dmarc=none action=none header.from=arm.com; Return-Path: Samer.El-Haj-Mahmoud@arm.com X-EOPAttributedMessage: 0 X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT004.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 83cbe5db-bc86-442a-d1bc-08d95694bea8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: MtbVFMkIddHmT/eeG0RImj5eLzZMBi4p2TFuu/iD2J2JVSViRWOFTaqV7FX/AdH9gQ5YMQO1N8ZHdo6wE4Groo4Tj34679Rjj1YHFmX7BSnBevyfqeU7uU6sC1UqD4w5ebhamJaMJ7PDTAYXErJboI8LeycJ7eQtF4Grc/MDsRTVK8nSIxalPm+M+YihS02DcEfosj8PDw5VY3EzuA5ksdCxUpdfD+QQGMtuSUhgi1qOrcoUCa8KyntinO7+drr1NxN10mcEh0tNsuNvcLp6H5gphaYxB91i8xoaTgteH2+WpBPWAqU6nxpAzNzunx2WalvREYSZ+4i8c/QeIRv4FQf0/enyYweMSJ0mG3uKMS6m9w7tIzjJZtBJtMGACt65vb7XZa2JIX2kY/q3RaBxJEZRjlS/BUWhraBC2SuVxDx3SYW1hJNFuiaY/D1K7ZJHbsGDBaynmiNGvrGxi0DFowSM47azM0dDQNHLZINp7lulceJOFEDjz3TXfWzXXcIuy+2hzHrT3PGnXoUs/cG8y6Nj/95qfyeWuWcUE9j13vpuX4irWChhPhBBTpfXnqXfxpAmLIk3uwtHgcF2KSETRKiWbQTBDcg+c/XgWup5aDvhXK2gGJWIwE4MI9ZY/zsjdLVQGoawEonxHsZchYSFPX/bn1Dpw8RuecToqc4ztQXElPK83JxLqbXCcALTBE00/tLsYcNN6YVFO+YfibHRmXcuKrbg72Rg0+dCRoS1QYBcZ+1Fr7nyHOFmdJljt943xWw7FBQbXRzubHs5zndv76QMHp3MiRwf8FVtJaydlXR5z5FnVuZvig9Gr4/vtjsXgHU6rxm0OGq+5N68Sdns/w== 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:(4636009)(46966006)(36840700001)(2906002)(8676002)(8936002)(55016002)(52536014)(30864003)(508600001)(9686003)(316002)(36860700001)(47076005)(110136005)(54906003)(7696005)(26005)(82310400003)(33656002)(83380400001)(86362001)(356005)(81166007)(53546011)(6506007)(70586007)(70206006)(966005)(4326008)(5660300002)(186003)(336012);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Aug 2021 15:38:38.9623 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 535bf927-cff9-4911-1be1-08d95694c3d6 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: AM5EUR03FT004.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR08MB6313 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Samer El-Haj-Mahmoud > -----Original Message----- > From: devel@edk2.groups.io On Behalf Of Heinrich > Schuchardt via groups.io > Sent: Friday, April 30, 2021 3:40 PM > To: EDK II Development > Cc: Eric Jin ; G Edhaya Chandran > ; Barton Gao ; Arvin > Chen ; Samer El-Haj-Mahmoud Mahmoud@arm.com>; Heinrich Schuchardt > Subject: [edk2-devel] [PATCH edk2-test 1/1] uefi-sct/SctPkg: correct prin= t code > for EFI_MEMORY_TYPE > > REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D2284 > > EFI_MEMORY_TYPE is an enum. SctPrint expects an UINTN when printing with > %d. Add missing conversions in MemoryAllocationServicesBBTestFunction. > > Signed-off-by: Heinrich Schuchardt > --- > .../MemoryAllocationServicesBBTestFunction.c | 98 +++++++++---------- > 1 file changed, 49 insertions(+), 49 deletions(-) > > diff --git a/uefi- > sct/SctPkg/TestCase/UEFI/EFI/BootServices/MemoryAllocationServices/BlackB > oxTest/MemoryAllocationServicesBBTestFunction.c b/uefi- > sct/SctPkg/TestCase/UEFI/EFI/BootServices/MemoryAllocationServices/BlackB > oxTest/MemoryAllocationServicesBBTestFunction.c > index bf8cd3b3afa4..e545b3cfc5b8 100644 > --- a/uefi- > sct/SctPkg/TestCase/UEFI/EFI/BootServices/MemoryAllocationServices/BlackB > oxTest/MemoryAllocationServicesBBTestFunction.c > +++ b/uefi- > sct/SctPkg/TestCase/UEFI/EFI/BootServices/MemoryAllocationServices/BlackB > oxTest/MemoryAllocationServicesBBTestFunction.c > @@ -417,7 +417,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (!(Memory & EFI_PAGE_MASK)) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -437,7 +437,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory !=3D 0) { > Status =3D gtBS->FreePages ( > @@ -455,7 +455,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } > } > @@ -478,7 +478,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } else { > PageNum =3D (UINTN)Descriptor.NumberOfPages; > @@ -512,7 +512,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (!(Memory & EFI_PAGE_MASK)) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -532,7 +532,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory <=3D Descriptor.PhysicalStart + > SctLShiftU64 (Descriptor.NumberOfPages, EFI_PAGE_SHIFT) - > @@ -554,7 +554,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex], > + (UINTN)AllocatePagesMemoryType[TypeIndex], > Descriptor.PhysicalStart, > Descriptor.NumberOfPages, > Memory > @@ -589,7 +589,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (!(Memory2 & EFI_PAGE_MASK)) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -609,7 +609,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if ( Memory2 <=3D Descriptor.PhysicalStart + > SctLShiftU64 (Descriptor.NumberOfPages, EFI_PAGE_SHIFT) - > @@ -631,7 +631,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex], > + (UINTN)AllocatePagesMemoryType[TypeIndex], > Memory2 > ); > if (Memory !=3D 0) { > @@ -650,7 +650,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } > } > @@ -670,7 +670,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } > } > @@ -694,7 +694,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } else { > PageNum =3D (UINTN)Descriptor.NumberOfPages; > @@ -739,7 +739,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (!(Memory & EFI_PAGE_MASK)) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -759,7 +759,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory =3D=3D Start) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -779,7 +779,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory !=3D 0) { > Status =3D gtBS->FreePages ( > @@ -797,7 +797,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } > } > @@ -824,7 +824,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } else { > PageNum =3D (UINTN)Descriptor.NumberOfPages; > @@ -869,7 +869,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (!(Memory & EFI_PAGE_MASK)) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -889,7 +889,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory =3D=3D Start) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -909,7 +909,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory !=3D 0) { > Status =3D gtBS->FreePages ( > @@ -927,7 +927,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } > } > @@ -947,7 +947,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } else { > PageNum =3D (UINTN)Descriptor.NumberOfPages; > @@ -992,7 +992,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (!(Memory & EFI_PAGE_MASK)) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -1012,7 +1012,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory =3D=3D Start + (SctLShiftU64 (PageNum/3, EFI_PAGE_SHI= FT) & > 0xFFFFFFFFFFFF0000)) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -1032,7 +1032,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory !=3D 0) { > Status =3D gtBS->FreePages ( > @@ -1050,7 +1050,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } > } > @@ -1070,7 +1070,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } else { > PageNum =3D (UINTN)Descriptor.NumberOfPages; > @@ -1115,7 +1115,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (!(Memory & EFI_PAGE_MASK)) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -1135,7 +1135,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory =3D=3D Start + (SctLShiftU64 (PageNum * 2 / 3, EFI_PA= GE_SHIFT) & > 0xFFFFFFFFFFFF0000)) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -1155,7 +1155,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory !=3D 0) { > Status =3D gtBS->FreePages ( > @@ -1173,7 +1173,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } > } > @@ -1200,7 +1200,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } else { > PageNum =3D (UINTN)Descriptor.NumberOfPages; > @@ -1245,7 +1245,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (!(Memory & EFI_PAGE_MASK)) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -1265,7 +1265,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory =3D=3D Start) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -1285,7 +1285,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory !=3D 0) { > Status =3D gtBS->FreePages ( > @@ -1303,7 +1303,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } > } > @@ -1323,7 +1323,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } else { > PageNum =3D (UINTN)Descriptor.NumberOfPages; > @@ -1377,7 +1377,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (!(Memory & EFI_PAGE_MASK)) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -1397,7 +1397,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory =3D=3D Start) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -1417,7 +1417,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory !=3D 0) { > if (PageNum !=3D 1) { > @@ -1442,7 +1442,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } > } > @@ -1462,7 +1462,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } else { > PageNum =3D (UINTN)Descriptor.NumberOfPages; > @@ -1507,7 +1507,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (!(Memory & EFI_PAGE_MASK)) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -1527,7 +1527,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory =3D=3D Start) { > AssertionType =3D EFI_TEST_ASSERTION_PASSED; > @@ -1547,7 +1547,7 @@ BBTestAllocatePagesInterfaceTest ( > __FILE__, > (UINTN)__LINE__, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > if (Memory !=3D 0) { > Status =3D gtBS->FreePages ( > @@ -1565,7 +1565,7 @@ BBTestAllocatePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } > } > @@ -1656,7 +1656,7 @@ BBTestFreePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > continue; > } > @@ -1685,7 +1685,7 @@ BBTestFreePagesInterfaceTest ( > (UINTN)__LINE__, > Status, > TplArray[Index], > - AllocatePagesMemoryType[TypeIndex] > + (UINTN)AllocatePagesMemoryType[TypeIndex] > ); > } > > -- > 2.30.2 > > > > -=3D-=3D-=3D-=3D-=3D-=3D > Groups.io Links: You receive all messages sent to this group. > View/Reply Online (#74678): https://edk2.groups.io/g/devel/message/74678 > Mute This Topic: https://groups.io/mt/82490304/1945644 > Group Owner: devel+owner@edk2.groups.io > Unsubscribe: https://edk2.groups.io/g/devel/unsub [samer.el-haj- > mahmoud@arm.com] > -=3D-=3D-=3D-=3D-=3D-=3D > IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.