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 7C7AC78003C for ; Wed, 29 Nov 2023 16:06:20 +0000 (UTC) DKIM-Signature: a=rsa-sha256; bh=XXXxsJRKtbM9IMxEjVDrDuwrMnAYD7f4LFbn07CqhhI=; 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=1701273979; v=1; b=Jh5pUX46lfZrmoIXZgR0EuuorMXLF+WUdWYiWSlKVg1YFdcyd7lMn2o3LKNd0+CaUnkLFqj1 MNiwg0XkEsjOvoDxJFr8S0f5HBv1mpwFmsPpzGJW1Naz/vq4Zfh1zuiVkgibnjD8q60FE86YqHC 8TtjkRysmjguGtplepndbHO4= X-Received: by 127.0.0.2 with SMTP id ZlCTYY7687511x1xnJ06Xk9K; Wed, 29 Nov 2023 08:06:19 -0800 X-Received: from NAM11-DM6-obe.outbound.protection.outlook.com (NAM11-DM6-obe.outbound.protection.outlook.com [40.107.223.63]) by mx.groups.io with SMTP id smtpd.web11.40796.1701273978575449525 for ; Wed, 29 Nov 2023 08:06:18 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=VWNx6K4A7/j+1ILLHOz1IJMxcL5Tnq1hvp2aFACJlO48jyKothw/hTdRBKloagzEuunphbLdW6pQoMwsuQiOO7KiAUux5R4LsNz6oLykaRwK0CXyDVkttqLz35e33VqpwfOxSy6xOokDVJJHYlt3ZDHVpklCgwDZby3E3B3i+b8lrH8ulFNWNBruH289mUufNYuRpgyS3WOIME7U2G8I30F7xPy/KJoZy+wJFzmMZy/vNed9ty/c4KyMIt1qOP4EMRnGBoiF2oqUKiQ7CTMsCdnB6HrROQ4Lqf7lmt+H099pTtKBkgvMibuAQ+4XSVY4AdAuGZLvXsroaebJIhAz2w== 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=8rZvZrC4OAWuxkFxomnUGToeeQbzm09Z5qQAyYU7UWg=; b=GRK266quvtEk8+D+sxdWQd/QnAtgCsdVhVdig7eKigAFdtD6hXhv/t+vKY8MA3dKtSbkzZ/iZnOnJqZANQGjDTRZRxV4Bk5xWpbLRgN9phL8ZGC0DJI3K2vbpvlkyZd0xAqlBEYdjxc/HsmyyiFI0czupaLbCALafOVT9y+2iZwWUERMAUOQFB5k6Kw70XoDA3dtevqm9QeDduo2uVp8kIFeEw62fRCDOjze++Nx7kwb/b/pYNO27+uU0JSzzXf91KntDzyiJOYu09mpiGxkTOSI3/ySb6vRQqfkc+onU0kxj4T1Mhum/BlAgUPykSPFkiOuE+LHe3rEbRCGxL/dvg== 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 SN7PR04CA0077.namprd04.prod.outlook.com (2603:10b6:806:121::22) by BY5PR12MB4195.namprd12.prod.outlook.com (2603:10b6:a03:200::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.23; Wed, 29 Nov 2023 16:06:16 +0000 X-Received: from SN1PEPF0002636A.namprd02.prod.outlook.com (2603:10b6:806:121:cafe::60) by SN7PR04CA0077.outlook.office365.com (2603:10b6:806:121::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7046.22 via Frontend Transport; Wed, 29 Nov 2023 16:06:16 +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=SATLEXMB04.amd.com; pr=C X-Received: from SATLEXMB04.amd.com (165.204.84.17) by SN1PEPF0002636A.mail.protection.outlook.com (10.167.241.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.7046.17 via Frontend Transport; Wed, 29 Nov 2023 16:06:16 +0000 X-Received: from SATLEXMB03.amd.com (10.181.40.144) by SATLEXMB04.amd.com (10.181.40.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Wed, 29 Nov 2023 10:06:15 -0600 X-Received: from BLR-LAB-SFW01.amd.com (10.180.168.240) by SATLEXMB03.amd.com (10.181.40.144) with Microsoft SMTP Server id 15.1.2507.34 via Frontend Transport; Wed, 29 Nov 2023 10:06:14 -0600 From: "Abdul Lateef Attar via groups.io" To: CC: Abdul Lateef Attar , Pierre Gondois , Sami Mujawar Subject: [edk2-devel] [PATCH v1 2/3] DynamicTablesPkg: Corrects AmlCodeGenRdWordBusNumber parameters Date: Wed, 29 Nov 2023 21:36:01 +0530 Message-ID: <32e2e56459b96c6d871b4387466f15ac45eee33e.1701268006.git.AbdulLateef.Attar@amd.com> In-Reply-To: References: MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: SN1PEPF0002636A:EE_|BY5PR12MB4195:EE_ X-MS-Office365-Filtering-Correlation-Id: 517987f3-b096-429c-4f9e-08dbf0f51dd9 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Message-Info: Cl6yC7LbL0TrzVFK0X4tG2sy9ri+GgnFbE42tyYEps3T1E5l4brK46xPjKVPwb1wrJDVv1vROKhHvEX1FfkcwGWQasw0sXKDkByLBgCyJ4WnTjksfw1KrU05ASuZBP8EamGL53tejpJ+Y31U9rUUQMU0dOD2hE7mUoZOPxgb1sUoQWOO2mXvqJoo7bjpebycMobp4UuMq+PlNolyZU/npaXzTgJpJUXwEFUySNu+1MKC3LTwWWByi4RhUol78cgobXXkBBk4RfLzQxE1zZoF2X/9U9BeraSLexzC5rpbkpu7sD8tYz3PeSi4CtoV4G9fzosfepYWvQ2Ni+AuoI8t9RlC09aeZNJfSTENyeBMIflFV4Jio7tZDr1RRkJpEM4R62/96Af7mi21vaen7NdbStseAiqaeH44bx6U9IZd6uz+GNmI4v47jAMQwot9YobH4IqL9oFrhNVVQqJtYA6HId+TwSc6TcyYHEeeI9BNsyQLTqJqT6wQqe3zvnVL05JXVNDSelGT7m/vyR+fopYi8Aba96Udcc/TQ03Wxw433z1D+ZNEkOLoWwfrKk9CBLpTWGXFMaw0qL92MNtuHxOpjs9udmihQoRvLE6REOonm22yUnt0bnTrg1iqkGjdfSycui6T+q/ubuM0nt/ITyZ/Cjm1PF8ZjbDemKxoYuWFN8E6p3NOi+hogfhMGzgGjBqCdVUV3lHAsmH1xsahRCzyGsI/BJcUKxqyTyozbwEK5ihqlJtL5zb/zdwxzIeoLwPQbWlVeOowffXgq0C/zEybKg== X-OriginatorOrg: amd.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 29 Nov 2023 16:06:16.0866 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 517987f3-b096-429c-4f9e-08dbf0f51dd9 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=[SATLEXMB04.amd.com] X-MS-Exchange-CrossTenant-AuthSource: SN1PEPF0002636A.namprd02.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY5PR12MB4195 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: GKu93lHPGwTAkA4US1WZf4Dhx7686176AA= 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=Jh5pUX46; arc=reject ("signature check failed: fail, {[1] = sig:microsoft.com:reject}"); 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 --- 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 (#111849): https://edk2.groups.io/g/devel/message/111849 Mute This Topic: https://groups.io/mt/102874539/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-