From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-DB3-obe.outbound.protection.outlook.com (EUR04-DB3-obe.outbound.protection.outlook.com [40.107.6.40]) by mx.groups.io with SMTP id smtpd.web11.3598.1620769049486027668 for ; Tue, 11 May 2021 14:37:30 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=BwT2Ibez; spf=pass (domain: arm.com, ip: 40.107.6.40, 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=p3Z4ZHQ59yHd91XckrH1ie/t3O4zoi06LFMi+aq8x5E=; b=BwT2Ibez/hNrkrBHeeOxZxSvXJU74Clo84k51eDD0sTbW6ytPnFM/z2vf/Hl3kH9aoK0yHjSmVYZJskQ4G9aBjs1l73tg6nFNWhtLwC3YsHtHWYACYAJeu+4QIMlEy1sFdm/+Su5xvkr6PSdY/V15MGUV/Zagonrkok7pTLidEA= Received: from AM7PR04CA0018.eurprd04.prod.outlook.com (2603:10a6:20b:110::28) by AS8PR08MB6903.eurprd08.prod.outlook.com (2603:10a6:20b:39e::8) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.27; Tue, 11 May 2021 21:37:27 +0000 Received: from AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:110:cafe::b1) by AM7PR04CA0018.outlook.office365.com (2603:10a6:20b:110::28) 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, 11 May 2021 21:37:27 +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 AM5EUR03FT005.mail.protection.outlook.com (10.152.16.146) 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, 11 May 2021 21:37:26 +0000 Received: ("Tessian outbound 6c4b4bc1cefb:v91"); Tue, 11 May 2021 21:37:26 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 5a410be5e236e899 X-CR-MTA-TID: 64aa7808 Received: from a1414ccb589e.3 by 64aa7808-outbound-1.mta.getcheckrecipient.com id E15F0928-F623-4004-861C-442726805852.1; Tue, 11 May 2021 21:37:20 +0000 Received: from EUR05-VI1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id a1414ccb589e.3 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 11 May 2021 21:37:20 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=SAergN6K+Z846eLg4DCH+ZTCTfGqOBmjPMDqQlnZA8OMrvCVQGkKamt/p7xbwKr2nQAeA/b8/5VxQf4N5OB1TqUxgZeg5GuKFX/6lO3BTPrTC3iA2s3ZQCKrWlCTgBiNqppMxj4zlgHlC5rdnlRK7B4LNxX5LArxAkzPX/TS+uy0oAGN/+DUU607GLyuJdya527tCVWy3oVUhVSvlsfUZkefRJ/YxQXYOGeF2lgTb6FibW41p3JJCFN2Q4EzDrHf44NUIA1dXd69TiDsHLBMwt1WBTc+GuNYxVRPPnnPnYaq7dJ9kTKfrkPpiqBoyFX0UpClNbdum1CgopQq600NRg== 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=p3Z4ZHQ59yHd91XckrH1ie/t3O4zoi06LFMi+aq8x5E=; b=ZzaDJNe/zbVuehU1kGycz0mbr4iuDx5QpC0dl9kztSt02OwtyX2VFmK2Z3ffgZmoXIVKT3dTWjnRsJbhMrDmzs0UUL8WnI2prB4uv6eHQ3F/9cV9WkrKsnTKPoyppC28zCBKamAMUROAbsMfufMTQ99A/FyUp9ZAFsQZB9EZKZ2fV7qK4MIBRZW43HMZCJWj8aTo8xIV63dREGTF3x6gIbcnmhhIfJZzdfmZrr447HDf+ZRvtMONxrRLVFWs2RZzCvz9dy+QiqMq+j1WxZVhIx3DEsjpBe6hyIPE744eKlMEq48gUmk5gkCOm4sxGAlQL4JYp6aT+2Lz0NkmPxJcgA== 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=p3Z4ZHQ59yHd91XckrH1ie/t3O4zoi06LFMi+aq8x5E=; b=BwT2Ibez/hNrkrBHeeOxZxSvXJU74Clo84k51eDD0sTbW6ytPnFM/z2vf/Hl3kH9aoK0yHjSmVYZJskQ4G9aBjs1l73tg6nFNWhtLwC3YsHtHWYACYAJeu+4QIMlEy1sFdm/+Su5xvkr6PSdY/V15MGUV/Zagonrkok7pTLidEA= Received: from PAXPR08MB6987.eurprd08.prod.outlook.com (2603:10a6:102:1df::15) by PAXPR08MB6734.eurprd08.prod.outlook.com (2603:10a6:102:13c::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4108.25; Tue, 11 May 2021 21:37:18 +0000 Received: from PAXPR08MB6987.eurprd08.prod.outlook.com ([fe80::7c65:78c4:8d03:62ad]) by PAXPR08MB6987.eurprd08.prod.outlook.com ([fe80::7c65:78c4:8d03:62ad%7]) with mapi id 15.20.4108.031; Tue, 11 May 2021 21:37:18 +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: AQHXPfjedkEtaU3LeECIl1wgYos7lqre35nA Date: Tue, 11 May 2021 21:37:18 +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-originating-ip: [99.132.126.10] x-ms-publictraffictype: Email X-MS-Office365-Filtering-Correlation-Id: 94611f2e-797f-421b-57f9-08d914c4f8ba x-ms-traffictypediagnostic: PAXPR08MB6734:|AS8PR08MB6903: x-ms-exchange-transport-forked: True X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true nodisclaimer: true x-ms-oob-tlc-oobclassifiers: OLM:935;OLM:9508; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: JX0000lz3tuka/JDcX+4XEAv6dIZ4cIpYRkMmQgKV4EqzzPG7QwohFsHOsfe7Wo9T3IaJEKSwt/Pm+OwE4mTlYLOnAxUG8jU9yCiFuOL53JBU2AyNZoBSLpsqO1ih0nvimjoYyvi5paIH5N2hb00LPMj9M6Hc09X63HgDoHJ/N8iHAYQtxAtRLzyuWhSqxvoptvJiJoFKKu0Ep6r4NwkQ59XE2dmmuVAvp2lSdLs9VAh2f2TiP4HjBbubMmiOaUCOEBtZKL+pqMnUJFsqN4TtlnW+h3ROLLPMfq9g+JWZzifjUgjEa6EsLutYYmzwKVSNYEA3G6G4KsyuwtMROF4znGCpRBOtAN70CoPzNzFPHclEQJCc/kz1K9UsX0NHqzvKVZ0Wx/uY4k/gt5xWS9H7UATnwK252uplhYSGvvcZV2k7LQNBTqXzRoS96t2dHYrukW1xhlldRhb1l3SYHSrEihY49Luav3Uy6bBjei9a9mNlrp/+QBngTess+n+ICXDtpaTUpe4tIjn1v2WFJejrHUNxsSOky1Drn4kE8mSVPmrn9EXS7IQD2lSJJk2ZWSmmVha7Fq5WCglPrLTkJJNzMUJX08QGtL/cjIjKyO4slvfIlc+fyvzOzpWh9wbNKrxxP1Iu9sQPtR9wE4H5PRNxDWGiDXE+jAY7os3eAbUVfynwUFPzzPa4rBqcoKt4gfmM+m+8iJTX9HSg9qd1D+0WAKAwSk30C+DlUxXF5AlF4M= 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)(376002)(39850400004)(396003)(366004)(346002)(136003)(52536014)(66446008)(186003)(7696005)(86362001)(5660300002)(316002)(966005)(33656002)(478600001)(71200400001)(54906003)(110136005)(38100700002)(122000001)(8936002)(2906002)(8676002)(9686003)(55016002)(83380400001)(64756008)(6506007)(53546011)(66946007)(66476007)(30864003)(4326008)(66556008)(26005)(76116006)(579004);DIR:OUT;SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?QddnvpW8qTv9fT0+Km7J0ys3bM6ksBAIZTL9aoGIsTEMPhY06MQXzuxfl81l?= =?us-ascii?Q?OVfy13qUsV5XfktNEnjyRsNVLAmH6LMOmTRgpVVBhwEcssk0AKdl+fc4ECeF?= =?us-ascii?Q?UlIDInk2Y051YRTHw4zFqtUdrqmQ6jca3F+BHpk10xa5ookQ9/SVeXLcB7D6?= =?us-ascii?Q?oZNuNgPFQVOfYMH6fvlbIDFsjNDS/hy1XAY3H3OBCSvGgGd382FbdYVJMUaw?= =?us-ascii?Q?1OpPLHOazLNCnkBBP4kRMF4e4kMIX7tbiZdMFj4BV95xyfk6FxvAsnE3W10Q?= =?us-ascii?Q?3xfj/o35wQKJo+bioG+/pAwl67N+jn8K0pdgdbZNQoDLsPd2T58wjk9HwuHx?= =?us-ascii?Q?FxNgoIlalBtT0F5WSvhKrU8S9ksXYt3z8evI66SNyrIiONSxyg8hx//EFwq1?= =?us-ascii?Q?jMAz0UCkhufimSH3AUg6ziiJyAEN0GN9hFasI784RLFaoX90gtuHR3O6GEFV?= =?us-ascii?Q?tXOLdFqpKZgp0nD4biyhQMgkw5VvhddJNuGoUmeTQt5L6Re8cLeJ8WkMgApo?= =?us-ascii?Q?Vh1krlPTs4OrUmVa1u7lYJ4Ul0FWkiMoG5s39YiR0TxwBzpByywAXvCRdFyP?= =?us-ascii?Q?4eamU/or4Jmvp8BhzQgQFlFWcCLB/Taa1usHtg+9+wZ6ibfTg+oXBm3pmici?= =?us-ascii?Q?evu3M6zGXt1hkTmYNFM5atmCmkGSziVxlYrMrY6XHvI1005rXyVSPy/F/HUN?= =?us-ascii?Q?n9KLXuCH/h6+bvqmk1vWXgUmyh5o6mv4BVLxpa/fCynVfZj0bozRdnfsJMdQ?= =?us-ascii?Q?LHO8Vs3cVgM+LciYzYCdlxlKeq9km4VQADMqDlzSqtVkDpcHpdy/iopT3wrl?= =?us-ascii?Q?onO/AlOPGA2qC0kUsQO1GXZ+t8jn73YoelzjRJS+ca1hMGhM5wuKRNqf+nZv?= =?us-ascii?Q?Y3o0ZyzgzDwpFN2utMfLr59jPnNnmr44WVomN5NzxyV68mk28zBjRPcNkZNk?= =?us-ascii?Q?OflLeU2fg1LsLxrxHwHPdIL4IRwe0g0pHeT7DvaeO7L052fsiH/v9FdkqDzF?= =?us-ascii?Q?FREfB/tYTz5SPNbzLW4oFgotaIwmOChkXs8uZK+wkj27SJBy+c5qiBJ7c+bZ?= =?us-ascii?Q?qSAjXe9nEcWdgeUhWVnV+SE6LvN3ZjY0+XyYIPoHKoM4WIrSnlvBrkQSX3ba?= =?us-ascii?Q?p6FlHrqC4lNRicVlEwkLtEj0AjeAdP21yOyqhpSQg/2Awc86bFX4HlP8ISab?= =?us-ascii?Q?OJd+P4MBr9zrsvbrEYFffTiaqmb+2IU/WdDeb7JYF6IdtDT6p9qzugkGPA0S?= =?us-ascii?Q?Y7aZ4+NJ0AqcCs0ZF7KKlyeBLu19v9o1cd67G0OxlVkYd2r7HuGwojzIcnv3?= =?us-ascii?Q?W924ONoPaBZDxPn5oMpVfXuH?= MIME-Version: 1.0 X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6734 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: AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: e503fb40-f287-4d07-8199-08d914c4f3aa X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: plqHCMd/wZ0uSs5cYl0/pGHYZSduBHwnezu9iWtn/GOnd07HsVPQNlFQdC89oD4Ax2eohaaQzyBRxtSHdXNjoJMsf9XNVhy/fwMjE5BJBVR0LLp9APOiC4EIInN8Ps3rsdTLJzE4sW7r1y23Ydae9eF+V6UNjFCJ9yqLUgl5pJaAAbNVFxltR+SPiMpRIeXDP8GZovuHP/WArW3O0GpmUe3DmrBQuOdbuaDHgyAq7qhAY2HDJMj8w5D0lbutizYUY2RKWZYv+aOaA8JdjKRlQ/ln9xxYmVZLMhask0GoB0xKRXTFdj26G1DkMJ5zPMOqxZ6RCmZbjGoeUX4qSB0LbmjVaqmLPIFMQorjZt76jXD0TS4kOoqrd/6DkmTguJZ/np/gI0fSReDbS5WKJh8jkxK5qYup4AJEyN3vJZ/Enp8giTMnfO0eHdtmcXYaZ1nxv2LOyaoJDFN+ejXRmgFZjKFlYdMNhhAuLaaKe4jreVvtgZn/bVLQThPNkkdf3/UHRO/TL8lrgE0IwgbLWr0RCvg+k0v3BFBup3m2ZJKRaM6FlctkAySu+dQXH+29vL8jq5ejpZMupcZQTmniVeqyHDaHU/AsSnSOwFhuI/0ultXfEpdLiC5lkRfHpi/MTygf52tTX8lIP3u9Qomle/CYrHqpgcHCE31joozBE3XP1H3RxjtueHDoYLZRzrGAQgp6r1AFR2EHXk5nVbQsVh1y/leOaOi0nHi4zJRBZLy8L11IEW36/AomtBtAYuoJBEtuzjjMEBk5EhjNsP099t5lzA== 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)(396003)(39850400004)(346002)(136003)(376002)(36840700001)(46966006)(4326008)(9686003)(110136005)(8676002)(83380400001)(30864003)(54906003)(36860700001)(356005)(26005)(186003)(336012)(966005)(478600001)(82310400003)(47076005)(5660300002)(53546011)(86362001)(70586007)(7696005)(316002)(55016002)(82740400003)(52536014)(2906002)(6506007)(70206006)(33656002)(8936002)(81166007);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 11 May 2021 21:37:26.7953 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 94611f2e-797f-421b-57f9-08d914c4f8ba 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: AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6903 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Thanks!! 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/Blac > kBoxTest/MemoryAllocationServicesBBTestFunction.c b/uefi- > sct/SctPkg/TestCase/UEFI/EFI/BootServices/MemoryAllocationServices/Blac > kBoxTest/MemoryAllocationServicesBBTestFunction.c > index bf8cd3b3afa4..e545b3cfc5b8 100644 > --- a/uefi- > sct/SctPkg/TestCase/UEFI/EFI/BootServices/MemoryAllocationServices/Blac > kBoxTest/MemoryAllocationServicesBBTestFunction.c > +++ b/uefi- > sct/SctPkg/TestCase/UEFI/EFI/BootServices/MemoryAllocationSer > +++ vices/BlackBoxTest/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.