From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-DB8-obe.outbound.protection.outlook.com (EUR05-DB8-obe.outbound.protection.outlook.com [40.107.20.83]) by mx.groups.io with SMTP id smtpd.web11.345.1643830898874655808 for ; Wed, 02 Feb 2022 11:41:39 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=doT/Mvkj; spf=pass (domain: arm.com, ip: 40.107.20.83, 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=bV4XdrR3NBH9DmfKYNJAmN6FW+sRmy3PJOSP3h17Ebo=; b=doT/MvkjIolKm7UCWX9mNompHkgPkVYs+4XASne1R0Js4CjPiJBsae2q3l7bVQu/10D8oP4KNlg0k3W+hnylrTEVxqy5+ZkVMdNa5vFy1YI7KWwUcEfFzerQHI7dPNatNYaf/KoETdHjrEn8HkQOk6B8xj/cz913LtuPifkvBfQ= Received: from AM5PR0301CA0016.eurprd03.prod.outlook.com (2603:10a6:206:14::29) by AM4PR0802MB2193.eurprd08.prod.outlook.com (2603:10a6:200:5b::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12; Wed, 2 Feb 2022 19:41:36 +0000 Received: from AM5EUR03FT048.eop-EUR03.prod.protection.outlook.com (2603:10a6:206:14:cafe::f0) by AM5PR0301CA0016.outlook.office365.com (2603:10a6:206:14::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12 via Frontend Transport; Wed, 2 Feb 2022 19:41:36 +0000 X-MS-Exchange-Authentication-Results: spf=temperror (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;dmarc=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT048.mail.protection.outlook.com (10.152.17.177) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.12 via Frontend Transport; Wed, 2 Feb 2022 19:41:35 +0000 Received: ("Tessian outbound 18e50a6f0513:v113"); Wed, 02 Feb 2022 19:41:34 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: d15bd2be9d28e710 X-CR-MTA-TID: 64aa7808 Received: from 1a92dd0ff37b.2 by 64aa7808-outbound-1.mta.getcheckrecipient.com id EAED6CD7-D3D1-4F0A-A12A-700638D87974.1; Wed, 02 Feb 2022 19:41:28 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 1a92dd0ff37b.2 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 02 Feb 2022 19:41:28 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VW2YuzWTXwOT0xOFR7+m9D1jAfVOnQ0ydDNP95IfZZ+B609yA2SgGid78mmkjfdq9WYIh+ixUk0XilEVqTj+Eev+jKRspKQ2bLsws+g8WPgEtiTOa1vb6pngFaBLIzfFnW8YZ/pJeEbcCGaCLsQFGksuPIB+CIsA8b+9riAe8iTj181vuZ4gjbPu6fWA9ObmUMr4mIlq+DC8sBYn++In2F/xOjKuIkb1xbN59A3y+QjdU8iMXf+6TkoMb2xK67sJJVjo96iW/Mjn2zvXWw7r7Gejdm2uh1f/aTJXIL9UfXx52NRj3XcTaXXgFbA4jJRte28FYfdatDwuuBFAHziKHQ== 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=bV4XdrR3NBH9DmfKYNJAmN6FW+sRmy3PJOSP3h17Ebo=; b=ea7sE1/FbBuoxX+FhLL50zbARywqwCQKxPPRPZk/mFi1PmOsFIPHFpM2zfH5bTfyhO9e95LPhweKN5fUol4NKvBaWhp+7SXS9VGMaYMuAPDxjlSTLRU9PQ6OK/DLLAwkQNY3TKQ4Xp4/VonlHU1ujsX37qU0TwKen+lHDf4kllCyAHP3xpc88DpVgU/Ffcm4FctWeQ9cClUNowLcX0RL1I73h2zOmWoaFNCPpGprgW+oL5tgFjdXTny/WotF0N7QOOF6+kdFVHlL9j8KNVaIRSob8wOhoKVKQu6vLQkTQM8lL+Rsl78QUUtubeC6QwRIPiS2V3Y464zeNomrvScu9g== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=bV4XdrR3NBH9DmfKYNJAmN6FW+sRmy3PJOSP3h17Ebo=; b=doT/MvkjIolKm7UCWX9mNompHkgPkVYs+4XASne1R0Js4CjPiJBsae2q3l7bVQu/10D8oP4KNlg0k3W+hnylrTEVxqy5+ZkVMdNa5vFy1YI7KWwUcEfFzerQHI7dPNatNYaf/KoETdHjrEn8HkQOk6B8xj/cz913LtuPifkvBfQ= Authentication-Results-Original: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=arm.com; Received: from AS8PR08MB6806.eurprd08.prod.outlook.com (2603:10a6:20b:39b::12) by AM9PR08MB6276.eurprd08.prod.outlook.com (2603:10a6:20b:2d4::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.11; Wed, 2 Feb 2022 19:41:27 +0000 Received: from AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::34b6:4579:9e43:6b95]) by AS8PR08MB6806.eurprd08.prod.outlook.com ([fe80::34b6:4579:9e43:6b95%8]) with mapi id 15.20.4909.019; Wed, 2 Feb 2022 19:41:27 +0000 Subject: Re: [PATCH v3 0/3] Add Memory32Fixed and AmlCodeGenMethodRetInteger functions To: Rebecca Cran , devel@edk2.groups.io, PierreGondois , Alexei Fedorov , Leif Lindholm , nd References: <20220113164052.20841-1-quic_rcran@quicinc.com> From: "Sami Mujawar" Message-ID: <6ea80555-ae09-42d5-32be-7b23eaa541d9@arm.com> Date: Wed, 2 Feb 2022 19:41:28 +0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.0.1 In-Reply-To: <20220113164052.20841-1-quic_rcran@quicinc.com> X-ClientProxiedBy: LO4P123CA0429.GBRP123.PROD.OUTLOOK.COM (2603:10a6:600:18b::20) To AS8PR08MB6806.eurprd08.prod.outlook.com (2603:10a6:20b:39b::12) MIME-Version: 1.0 X-MS-Office365-Filtering-Correlation-Id: a702d420-24f4-47e3-af85-08d9e6840577 X-MS-TrafficTypeDiagnostic: AM9PR08MB6276:EE_|AM5EUR03FT048:EE_|AM4PR0802MB2193:EE_ X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:6430;OLM:10000; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: x1RB1wcCMqU1oqOLAI6906EDW7E/ymDhuO+PGwi1nt50Q3oIGQmZQPdrwihcQ1w5+xEcQSNf2EWKmovCRMBFizmVTAetBETwGUPOv17ko/fm5dRiWtlBKRL25Ie70+ECenBHFDofyQ6pDFwqEJ/sa8+qtE2mEKQGhZUXKTrvhOFhQcrbLM9HYcghfY/WathPJB72CW+w7jcYjzgi0/TssqaNoMTDbWwTdRVo/DPjlUhlrNnOqbQ0AC8C7IGiaaePKNdaqX1jvVzythX+28LGMDKvMLm26f2KZDF9i0YtR0yc7Tmkap9s08PKuo8lsGmNKZWAWWlOSeom/ui0VKJYWdWtNQi05FVOQ6OKNsKJtyjq/p5Y2CYtsNvlOwE1GawPC1a3wzCyVBbl7uYDxFcM919JJswvYtH4YHm91C52gz2Siz4spnBPx19YVbNynQxdOBTNuniEDoUO0LBn7w5ytEVRXXd1fPh/KFfhN+m1WB9rphHl52qNEm/k962nn56uhidNViOa9Zk6gEmY/h+7S7IZyqhVbZk53bHma18mAqPPHS0uNgeD55hTxKGpFMrCWUw7rDIXRsYjL8Mcr0/BKdyW37hVM6t1gsN82XnXdGOWX+ml0AB3MhSbekEB8+uYFyZrzntefs5NgA0P31fEgFetW/sYZnlTozhQNxRywP6726lu2xPy3zhV4FoIdGog/mFEzFnuYr3rLvDqEGWs7c6UWwflRrSkOuliVw8XSBV8dy7Nn2L1Wtk2ckTV3TYWA1YyQwedNTUFuPuI1KxsKJfhFOEreki8C6OHJL+x24c= 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:(13230001)(4636009)(366004)(31686004)(83380400001)(6486002)(186003)(36756003)(26005)(110136005)(38350700002)(38100700002)(316002)(19627235002)(6636002)(5660300002)(66946007)(44832011)(6512007)(8936002)(2616005)(66556008)(31696002)(2906002)(66476007)(8676002)(86362001)(508600001)(52116002)(6506007)(53546011)(213903007)(43740500002)(45980500001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6276 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: AM5EUR03FT048.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 78357d75-9e32-47e3-65f5-08d9e684009e X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: KIgkNvIm9fKX5b1P/rwZto+3tQGVEzaqUxjZohr4ATBLaGN6HzjPrQwy3iAGOOQNWjkmx+nCiz0wmCvlJIKZ57RIhJ1bB1mGYp7xP/aQl5XKTf++Rdw3doi94uacPvgRRAYa31UNoLmd4/wxhrcmEnpj6Rw+uRI6F3WiUi9SuyKANgTCOU8n+c1IAKP6tWq20zcBd3+3uJBE7DtmmNtrn1mMpg2h3dnbY5RERo/8oH9R4goS0e7bcplt/wi0lAzRtLgy0c3hHh+e3Wi9btknz+Bu44hCAICPxX4+OcbeI65n/UygKP7OXR3TiB6jchbozjeGW+zD6yh4swm0+UZqbcnCKWam0ZxJmyb/16vhIXTEa2HY41i3kIjID3pAG1ZeVwZ0vhw44DROQ9fHjuMQnQINndiGWAIM8yMbM1Rcsyl/uVibhEXg2U1wSVwqpJ8E9Hmn8K7MK6EiHCpbPa/Z5JR5hRCVf4CnfSyBnpyN9wLImnwBDoKApHTITM2+5f8Wb9RDXs77yHllZgpTFf0j8+OOvO71db5oQa6XfIyc+VfAuoIxYNhG9wJVD7dtSXCdSgYnUj9xgpfSxLHchf+FgHKUu49wTtQkyTXLtLI8nenmwLOUws441NZ0tjfviaRGSzAC9ThYDMYCxQMyeOBlLfPz4TbXx73KDExrdYbXOhVuxgtVpUSjYNp+0n7NzDJ65W3srMZMJFwdNk9ahz//+XjBTT2NmA1nm25BIouN2rX0xqjfOt8ZwdhA05vimPS2ibZqIxaizP5t6xGucGSHDQ== 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:(13230001)(4636009)(46966006)(40470700004)(36840700001)(40460700003)(186003)(5660300002)(26005)(31686004)(2616005)(47076005)(316002)(53546011)(336012)(44832011)(6486002)(63350400001)(6506007)(63370400001)(356005)(82310400004)(6512007)(70206006)(8676002)(8936002)(81166007)(83380400001)(2906002)(6636002)(110136005)(36756003)(70586007)(508600001)(36860700001)(19627235002)(31696002)(86362001)(213903007)(45980500001)(43740500002);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 02 Feb 2022 19:41:35.0812 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: a702d420-24f4-47e3-af85-08d9e6840577 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: AM5EUR03FT048.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM4PR0802MB2193 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-Language: en-GB For this series, Reviewed-by: Sami Mujawar Merged as 017564d637e9..33189f052783 Regards, Sami Mujawar On 13/01/2022 04:40 PM, Rebecca Cran wrote: > Add functions to generate code for the Memory32Fixed ASL macro and a > method returning an Integer. > > Remove a redundant cast from AmlCodeGenReturn. > > > Changes from v2 to v3: > > o Rename function to AmlCodeGenRdMemory32Fixed. > o Use define ACPI_32_BIT_FIXED_MEMORY_RANGE_DESCRIPTOR. > > Rebecca Cran (3): > DynamicTablesPkg: Add Memory32Fixed function > DynamicTablesPkg: Remove redundant cast in AmlCodeGenReturn > DynamicTablesPkg: Add AmlCodeGenMethodRetInteger function > > DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h = | 80 ++++++++++ > DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlCodeGen.c = | 158 +++++++++++++++++++- > DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataCodeGen.c= | 57 +++++++ > 3 files changed, 294 insertions(+), 1 deletion(-) > 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.