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 A7E6E941698 for ; Wed, 20 Dec 2023 09:39:06 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=wT/edFzyAplbHxjVxVZXDgWiavFDLyunaF5HXGkPxUU=; c=relaxed/simple; d=groups.io; h=ARC-Seal:ARC-Message-Signature:ARC-Authentication-Results:Received-SPF:From:To:CC:Subject:Date:Message-ID:In-Reply-To:References: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=1703065145; v=1; b=kgOKD/F8BSaIuB+M5jK7idz1jHG25qQVFicsLCBDOxXdn36qDBsVv//ilvCpAMML4Q2eOVO3 hSYLmToSaLj3tzpc2YJze02VQpLAy2hhzRXX7sLCXvALM/rSBh4juyv3MNIA+PX/0jX49xiwoTj hDQwbkt1j1MB5aehO/VM8NUY= X-Received: by 127.0.0.2 with SMTP id VMeQYY7687511xAbvGnyhoul; Wed, 20 Dec 2023 01:39:05 -0800 X-Received: from NAM04-DM6-obe.outbound.protection.outlook.com (NAM04-DM6-obe.outbound.protection.outlook.com [40.107.102.89]) by mx.groups.io with SMTP id smtpd.web10.18451.1703065144683764056 for ; Wed, 20 Dec 2023 01:39:04 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OPujPoiSG7Iwi47sp5hGmpmiZGzP1+WHvgOfMrHo5hPmT/a+t+rDuhgdbY61BqCwGwrhEkUomEBTl7Uj8pqY7892h9aQEnQee/Oc+5cWlrwaHsdbC5C7uwy+6bK4A98Ey8D+5Fu/iOeHwRUBjozrzcONeWVDa82K+gOi8m/p4KdSsZ3l9XPE5zySHQmWDUdbJsiSXpBbC5dPu/iqVOSM0Auuiipv8LaMLSLBS5suRp9kuxgiSPN6A8EZi6kjpWZHyq4hX3zIlHLUyFiy+rDglF3qeDxuEU6+ZUGq/1JzEXr5xdY9zasWQrn3plflsMNMiYcFSWsmchSyZqPfbNSFDA== 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=X7rLn+dce5q8QqQVI4aPAz3UY21Ary1U67HW/Sc4uu8=; b=dxwByxAXWEaChQgU3tJGCUL9nw0TPN4a305Qd7Kc63dW/E4mCQQU/WQhL0VRkiw21javvXx53giSJwzt28yQ6hwhlGgMXvUn0h3p5UZ0NN8aYDBc9LQ7U11qGvg24VYi8h9z6IZN+TdaZvHhg1i7cwQqbmGofPGY9QDjSElHCDVgRfCIJMkYpXvWndIMxT8p4GVZ4m8MNubem2GlALhEPDXLKNcsJGXXB8UbGWJZcjYhV0R7MhWWyDspE2sq/CiUEGVGz+gcV1IvPo/7J4+okQDPmuIXuvVORWJgnKKdji2G7UxXIbtIacDtYoHv32vR4KzMlyjlqouSjkyahaxJOg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 165.204.84.17) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=amd.com; dmarc=pass (p=quarantine sp=quarantine pct=100) action=none header.from=amd.com; dkim=none (message not signed); arc=none (0) X-Received: from CH5P221CA0004.NAMP221.PROD.OUTLOOK.COM (2603:10b6:610:1f2::20) by IA1PR12MB7758.namprd12.prod.outlook.com (2603:10b6:208:421::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.18; Wed, 20 Dec 2023 09:39:00 +0000 X-Received: from DS1PEPF0001709D.namprd05.prod.outlook.com (2603:10b6:610:1f2:cafe::64) by CH5P221CA0004.outlook.office365.com (2603:10b6:610:1f2::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7113.18 via Frontend Transport; Wed, 20 Dec 2023 09:39:00 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 165.204.84.17) smtp.mailfrom=amd.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=amd.com; Received-SPF: Pass (protection.outlook.com: domain of amd.com designates 165.204.84.17 as permitted sender) receiver=protection.outlook.com; client-ip=165.204.84.17; helo=SATLEXMB03.amd.com; pr=C X-Received: from SATLEXMB03.amd.com (165.204.84.17) by DS1PEPF0001709D.mail.protection.outlook.com (10.167.18.107) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7113.14 via Frontend Transport; Wed, 20 Dec 2023 09:39:00 +0000 X-Received: from SATLEXMB05.amd.com (10.181.40.146) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Wed, 20 Dec 2023 03:39:00 -0600 X-Received: from SATLEXMB04.amd.com (10.181.40.145) by SATLEXMB05.amd.com (10.181.40.146) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Wed, 20 Dec 2023 03:38:59 -0600 X-Received: from BLR-LAB-SFW01.amd.com (10.180.168.240) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server id 15.1.2507.34 via Frontend Transport; Wed, 20 Dec 2023 03:38:58 -0600 From: "Abdul Lateef Attar via groups.io" To: CC: Abdul Lateef Attar , Pierre Gondois , Sami Mujawar Subject: [edk2-devel] [Resend PATCH v5 2/4] DynamicTablesPkg: Corrects AmlCodeGenRdWordBusNumber parameters Date: Wed, 20 Dec 2023 15:08:49 +0530 Message-ID: <2054729cf9d6245646f846b4f19ba6c3e9b80ae6.1703064925.git.AbdulLateef.Attar@amd.com> In-Reply-To: References: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: DS1PEPF0001709D:EE_|IA1PR12MB7758:EE_ X-MS-Office365-Filtering-Correlation-Id: f4be8f00-8861-4ceb-be7b-08dc013f7f0c X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: pRPOlb8zt2rUbtwcLBxMKtgITDfoShJhSvU/p+uJfbigk8kPd4PUiRSG7NKFAfr6ztnkktZAM1lbf7NyNv5enyu2QH4Rq+gA7a0gz45GyREqUYjwTaGEuTmWRHvZ+Mu+2V5eU8zUlDxvvrO3qAAS9qA5pQFtG5RLBM8wIY/WuqmbF0G/NiSldRggs3OnLxbFzIROaspYSedV4CcuNBlg9hNlX1d8h8P2D2fkS7/a+Ep+6tiWNl53syg+sTLqk+eqOBXXTFiIdo337DnquUJ7RI6zFRWjVDhWTQent35yfaaIzldOWDNtpbTZ4VYuWF0AaKeN89qjCpLlcVrLUwXa/j3mmF1ZFPw5RSlwCnpMRpV8TUv79ZWs0+ZiJl/9SU7VXCqlg041BmCTCZ8LPvP+qur1lLqBJ2mxRcX+8Y2Ha6FfQtDeIKCdVg96xCOyco8Obkyh5mvywAYmpJfBhYj9Cs4e6drYctRDlE6LuDfxPiPH7OLjtD6lgUEI1B/7/GP0a/mciSUy9gO1Jd/t2poYasAmt2BCcG9CJqxuXQiAp3G1WybwNr8ojiYltOCw2+dE4dKya2gZC1KR4rvFIYUpWmHgoRRjkSHNl042WLcG0KLn3EPB8KU/hmxFvz3QCzawKqiIjwA4GBUz9tOLs15BeIctQKUMc+zGA189B8R9IsPpQVHoBfA0FlkVus6J46bYpq+Tx7gYbBZreAEnvYwAIy+uSv4K3V+Pb0N2UBg9BMN17/K1bxrUe0Ddedi0D8fk7rpQKLnAFCOUB8jnYCSNYA== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2023 09:39:00.5095 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f4be8f00-8861-4ceb-be7b-08dc013f7f0c X-MS-Exchange-CrossTenant-Id: 3dd8961f-e488-4e60-8e11-a82d994e183d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=3dd8961f-e488-4e60-8e11-a82d994e183d;Ip=[165.204.84.17];Helo=[SATLEXMB03.amd.com] X-MS-Exchange-CrossTenant-AuthSource: DS1PEPF0001709D.namprd05.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: IA1PR12MB7758 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,AbdulLateef.Attar@amd.com List-Unsubscribe-Post: List-Unsubscribe=One-Click List-Unsubscribe: X-Gm-Message-State: nZxlzu95VuO3XhxpulTJxXKjx7686176AA= 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="kgOKD/F8"; 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 From: Abdul Lateef Attar Corrects the parameters of AmlCodeGenRdWordBusNumber() to UINT16 to generate word bus number. Cc: Pierre Gondois Cc: Sami Mujawar Signed-off-by: Abdul Lateef Attar Reviewed-by: Pierre Gondois --- DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h | 10 +++++----- .../Common/AmlLib/CodeGen/AmlResourceDataCodeGen.c | 10 +++++----- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h b/DynamicTabl= esPkg/Include/Library/AmlLib/AmlLib.h index 5e340b94ce..eb8740692f 100644 --- a/DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h +++ b/DynamicTablesPkg/Include/Library/AmlLib/AmlLib.h @@ -714,11 +714,11 @@ AmlCodeGenRdWordBusNumber ( IN BOOLEAN IsMinFixed, IN BOOLEAN IsMaxFixed, IN BOOLEAN IsPosDecode, - IN UINT32 AddressGranularity, - IN UINT32 AddressMinimum, - IN UINT32 AddressMaximum, - IN UINT32 AddressTranslation, - IN UINT32 RangeLength, + IN UINT16 AddressGranularity, + IN UINT16 AddressMinimum, + IN UINT16 AddressMaximum, + IN UINT16 AddressTranslation, + IN UINT16 RangeLength, IN UINT8 ResourceSourceIndex, IN CONST CHAR8 *ResourceSource, IN AML_OBJECT_NODE_HANDLE NameOpNode, OPTIONAL diff --git a/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceData= CodeGen.c b/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataC= odeGen.c index 60fe69ba6d..46243f981c 100644 --- a/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataCodeGen= .c +++ b/DynamicTablesPkg/Library/Common/AmlLib/CodeGen/AmlResourceDataCodeGen= .c @@ -848,11 +848,11 @@ AmlCodeGenRdWordBusNumber ( IN BOOLEAN IsMinFixed, IN BOOLEAN IsMaxFixed, IN BOOLEAN IsPosDecode, - IN UINT32 AddressGranularity, - IN UINT32 AddressMinimum, - IN UINT32 AddressMaximum, - IN UINT32 AddressTranslation, - IN UINT32 RangeLength, + IN UINT16 AddressGranularity, + IN UINT16 AddressMinimum, + IN UINT16 AddressMaximum, + IN UINT16 AddressTranslation, + IN UINT16 RangeLength, IN UINT8 ResourceSourceIndex, IN CONST CHAR8 *ResourceSource, IN AML_OBJECT_NODE_HANDLE NameOpNode, OPTIONAL --=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 (#112755): https://edk2.groups.io/g/devel/message/112755 Mute This Topic: https://groups.io/mt/103278519/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-