From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR03-AM5-obe.outbound.protection.outlook.com (EUR03-AM5-obe.outbound.protection.outlook.com [40.107.3.88]) by mx.groups.io with SMTP id smtpd.web10.9994.1657817453765146107 for ; Thu, 14 Jul 2022 09:50:54 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=F0wX8JxQ; spf=pass (domain: arm.com, ip: 40.107.3.88, mailfrom: sami.mujawar@arm.com) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=SuI6TtSqcyc3GnlPVYtRndd5bOhNVljkAcevCPI/y3s8zVa4sKNDQjRdRGSgrAcDCsFrY4yMSvx03zTOGcZtn34R2L8whcGYRZgSxd7480GvjM9tyhLutljxoub4GPa+1+U0XxKvZRldDKgNiixexBoBsgTnyXhTemAJJj70xWq+RBAtTp9+t3/o77jbntesv4U6z30dMbwG9jYDDkkr3A19Lv4weA8WtzlrHqBG6DbxD9cMH3bodf+ZFCXfbiNvy3QicGO7CqjszRe5XxN6bH6ttNL8ogGY8Zqfv10PBaSAeFO0yUWLkYRYdRSPclt16ktKRelwMhpNEzbdH4V9Bg== ARC-Message-Signature: i=2; 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=Wr5Hqebondqbk7iJxtEwam6MA9zcuSUQMuiz8SYCVBo=; b=JCDxUUC1zLWkDql8kWCqrg8YrklUGK9YYT7b469KcOgqKgP7YZPk9PgBuo6e14f6au5ffjmJPZ0giPYG3OxPoekM+SRTiUjLH22O85UBB1q4fRKKmO1ODdRJSmmXOga4w1yDzA9EPFJeE1jzuSDoukPMU9lVf/fMOe7ZHA6GFUnqYV+QAZKshBBZDZV58Z4ts3cn9uNSkoSE96h8AGwRf/zB2aYO/o6qtH37lmKVUSW87nuMMEwvwetv7NhSCnOD+GbxR+2MIn8AabZ6GPLnx28W3B9Pc4iIRc92OITg/vUIha56SIlzcq6ij6vwaI/YF8ZoY04OO88vsKrVWhXzsQ== ARC-Authentication-Results: i=2; mx.microsoft.com 1; spf=pass (sender ip is 63.35.35.123) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com; arc=pass (0 oda=1 ltdi=1 spf=[1,1,smtp.mailfrom=arm.com] dmarc=[1,1,header.from=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=Wr5Hqebondqbk7iJxtEwam6MA9zcuSUQMuiz8SYCVBo=; b=F0wX8JxQ21pkPPJm70MZZBhgFp52WB7FM7lSeJv4obF+i+qsqKp+QTRCGprtaiM7T7Y2XQtm+qGnvJhEPA76qvRlH5tprKAlB2Qf9uoazTFZ6tQ17aKwskI1P4KT/Hu0MyvLtb+E8ZDl0n1izM3Uh3i1eMI64B6NHgwJOlwnxdo= Received: from AS8P251CA0030.EURP251.PROD.OUTLOOK.COM (2603:10a6:20b:2f2::19) by AS8PR08MB8014.eurprd08.prod.outlook.com (2603:10a6:20b:573::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.12; Thu, 14 Jul 2022 16:50:49 +0000 Received: from AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:2f2:cafe::3d) by AS8P251CA0030.outlook.office365.com (2603:10a6:20b:2f2::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.17 via Frontend Transport; Thu, 14 Jul 2022 16:50:49 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;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; pr=C 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.5417.15 via Frontend Transport; Thu, 14 Jul 2022 16:50:49 +0000 Received: ("Tessian outbound 8e3d5168572a:v122"); Thu, 14 Jul 2022 16:50:49 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 1ddc79cff058b45e X-CR-MTA-TID: 64aa7808 Received: from e28f40d20fdf.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F0B8E34B-C159-40EB-B18F-E723AB19DE9E.1; Thu, 14 Jul 2022 16:50:42 +0000 Received: from EUR02-HE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id e28f40d20fdf.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 14 Jul 2022 16:50:42 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=FSDK5VaH8GWC1xVI2jTPjzeCWproj9WUgHPgrm7wajl/QQVq5W5msRncfX0E3RZtu0DKNiGocEO1hASAqwY/b/yfiUJagNVHCVC0KwCsziBnTqIte2hO0HOsLB7SXx2JUYr/JaWQ1Gh3JmgwZl8TZ4itbvLsO0uUNZV+r+ejeIz1+oFrm5o0c9WnYt815ZKU1ilJ8gZ28TOF3TkbvvyQOJPdCWMKrBbTYVqqG3hc+7IniYrhnsvSUIxoaNIVApxThGxdNZi4qS4DkAY9ErRc2svK3x5A5pt4hFndecCSkbbGinTDtqVeOiacBa0KhmRcV8CF8LjYlyQa0g+Mnu/NMw== 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=Wr5Hqebondqbk7iJxtEwam6MA9zcuSUQMuiz8SYCVBo=; b=naP+d6aqJCChBTTzeVSaIpRYFH8CRGeY83nDg3H++m4LjwEq6BLD2TZ+TYaf7meVwkFibhTi55m5D6f8m+qIwOGWH1FAOjwHzJIdbgkrDgnIF75Hs9JCr30XOrczYaZZOupfBrGbz3yjDhLgaf0AKeTG2UHynqUSd0HQXjbrDJfvkTijBsGUoytUx7MYUDtlITsNXqI+FIQ85adfJK1SUZCuS7JUGV5jpPKD83WF8B3BcLHhurWo6fn0M2fonyxD97YEKvEsLt898JkCd728cPxWTqZ4kBfwAiWzMd+rk2sQHauTpNP3xMY5NgsBn25NhyoArwAh0bqQ+qz+u2nFAg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com; dmarc=pass (p=none sp=none pct=100) action=none header.from=arm.com; dkim=none (message not signed); 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=Wr5Hqebondqbk7iJxtEwam6MA9zcuSUQMuiz8SYCVBo=; b=F0wX8JxQ21pkPPJm70MZZBhgFp52WB7FM7lSeJv4obF+i+qsqKp+QTRCGprtaiM7T7Y2XQtm+qGnvJhEPA76qvRlH5tprKAlB2Qf9uoazTFZ6tQ17aKwskI1P4KT/Hu0MyvLtb+E8ZDl0n1izM3Uh3i1eMI64B6NHgwJOlwnxdo= Received: from AS9PR04CA0108.eurprd04.prod.outlook.com (2603:10a6:20b:50e::25) by AM0PR08MB4323.eurprd08.prod.outlook.com (2603:10a6:208:13d::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.20; Thu, 14 Jul 2022 16:50:39 +0000 Received: from AM5EUR03FT024.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:50e:cafe::b4) by AS9PR04CA0108.outlook.office365.com (2603:10a6:20b:50e::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5438.17 via Frontend Transport; Thu, 14 Jul 2022 16:50:39 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; dkim=none (message not signed) header.d=none;dmarc=pass action=none header.from=arm.com; Received-SPF: Pass (protection.outlook.com: domain of arm.com designates 40.67.248.234 as permitted sender) receiver=protection.outlook.com; client-ip=40.67.248.234; helo=nebula.arm.com; pr=C Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT024.mail.protection.outlook.com (10.152.16.175) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5417.16 via Frontend Transport; Thu, 14 Jul 2022 16:50:39 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.9; Thu, 14 Jul 2022 16:50:38 +0000 Received: from E114225.Arm.com (10.1.196.36) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.2507.9 via Frontend Transport; Thu, 14 Jul 2022 16:50:38 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH v6 1/8] ShellPkg: Acpiview: Abbreviate field names to preserve alignment Date: Thu, 14 Jul 2022 17:50:24 +0100 Message-ID: <20220714165031.42640-2-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20220714165031.42640-1-sami.mujawar@arm.com> References: <20220714165031.42640-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: f9bcf43b-8428-474e-f705-08da65b9016c X-MS-TrafficTypeDiagnostic: AM0PR08MB4323:EE_|AM5EUR03FT005:EE_|AS8PR08MB8014:EE_ x-checkrecipientrouted: true NoDisclaimer: true X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: 1hg568pAWGPqIhsLM2CRKh0wo0jKVp7l7TdvXZdB77kWSdb4Pn6Pm1dviYX/RMm8AF5C2oMYvd0mqUnkeTTBGSUHuSgPi+R6lGbU2lCx+HbPySbf0iQdM5QaitAjOBrvRv82yhic1V7rfUsXbFgRAE8q3d6H3gC3x+6GP4h7ul4vhf+vmpys9EfT374Iuwq9pKQhp2cK+0Tyt2S9euIdXZ2eAACGxV2/HKQGgAkQSggjX+v620zVaF3QVSllMaYGu2AtpPPLW8L8JJRATbXPM+hF9zFvSi6d0OacN0pGF40eraHhv07tYtHmlUd/70QGmcfESgMlqdOegDfZJylt9c98ul0WWhA0FdYkQoxnAejGTtCiwKHYbXdP8GZ4vBWfjkmz++gyry+rGzJZSAfxoq9+B2vmlkpwGUJT1MUYOcMpQCI7GxFitKixSkPf+SRwUBHOsc2DePSQb3LBCfBmgmG/RoBugGvM4y2ock/vJmVYgkAIx4sEEio9FMCM2n5ms0OVllvhlxZ9j0TrMZZqyp+6M7o4Q6RkndB2nAvw8FJmZDeSvJpUwa+sehCGmRYrs4Bl/Vj0t9ssEiZ1BueLZSUqVgipveDWPAi+KXA/HWZznHd5vA4B7nfGeBog4IjRJlMrk883ORqWJsqXQskOhz1GaHbm9c7lPCEWSanqu6p0hduwTq8pO6lACTjEmtB73H48Tf/JlcgiNSn2xeRVgZBXe1qxnq3qZ6obthTeS5vwfga8h0gDmZiUvtNpnLYdzNTE0rIodqj29a8w5RcXS5juRfsrDt+UesgCjiax9cGS5s7AJ3sXHSkJauyMYx6T3AksaoOaVPxBt7fv+I08iaDVH6hZqesBAXIIfkMqwCY4e9Y45rgpr/l/REXj+5MC X-Forefront-Antispam-Report-Untrusted: CIP:40.67.248.234;CTRY:IE;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:nebula.arm.com;PTR:InfoDomainNonexistent;CAT:NONE;SFS:(13230016)(4636009)(346002)(136003)(39860400002)(376002)(396003)(46966006)(40470700004)(36840700001)(356005)(36756003)(81166007)(478600001)(966005)(82740400003)(6666004)(7696005)(2616005)(41300700001)(47076005)(316002)(186003)(6916009)(70586007)(54906003)(70206006)(1076003)(336012)(26005)(8676002)(82310400005)(4326008)(426003)(40460700003)(40480700001)(5660300002)(2906002)(8936002)(44832011)(86362001)(36860700001)(83380400001)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB4323 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT005.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 8e98c439-2683-42d8-d755-08da65b8fba8 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: CL7uoXDkpOuBVA5oRRvHeBuzAS38+KecfvI7MoyKBsxwOUvuOHnihV9pB3qY6pqwRKHlmnYpOIJJWsnvqk7inh8wwfBNqeuxHBGVqNdzoI+lkBwZSSp3quHTXiNCdUxJP1FEd9ld2PhSyTxygv6xixugRTlBHdJp81EiwIN6bnHqsRLiTtFPh2gts4CJJ/b8wyOG7xHD8xMOFNODX3hnhYdYiHcLoV4jTulQQmpwp0J8YO7vFISgjZm/1SI+L36m53nU7fgNg0ZQG+POdQVe2VU7X79pOdV0GXfjVkT0iFjQ+OC1SOJLvXXP4U4l5nKOHB/2sVDwvCGqwMkkHg3vT0zOY9aD5ww+eUaQsktSKSZ+8rBF1B+Bo6Hm/o0viebIgbRvqm8H4Zg387bZTGYYSL2esI15EJtb6nxlBxwVjsNVhBdjPvsKQBATaYbHYeJBrfVTQO/EA+BLZf9yL+wGHdOqzJ5PAJKwrAOSFN5UqAb4JGrLirNPjvVpb1YUmrh4UN5LT8p+eag3sMPUTahaIgMdx2uupdr2/eFRogstQRiqIbQ/AtrVSj51W5b0Nhooh3RpEL/RgtqO3TcB/rXsEq1IWTCpjIgS6r9Lzac35AQ+HI90MSgFLp0IO+gGe9XflFgolVVkONl2jnnN4cA6maMBAFGzOWY+i//5k0TM8bgzYfeu/kHqTgxDMCT6nfgL/5aaXI7LcVSS1YEy7FuVc/DeKqOJmgZiQzVbDFTeNpVtYVSezYT/++/vbrQP62gMzw8AzQZxgNBuR9ptm1W4vpZLWYCtvK7PPp/kC5IMZJg5J3IVyQMWrBQtqcL7RTmhuL/lMslbETnxFvkRDDlcCwe+zSZ08rkfYnATng6qCd8= 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:(13230016)(4636009)(376002)(39860400002)(136003)(396003)(346002)(36840700001)(46966006)(40470700004)(1076003)(316002)(81166007)(44832011)(5660300002)(26005)(2906002)(6916009)(70586007)(54906003)(2616005)(7696005)(86362001)(82740400003)(8676002)(70206006)(8936002)(4326008)(966005)(478600001)(82310400005)(47076005)(41300700001)(36860700001)(336012)(83380400001)(426003)(6666004)(40460700003)(36756003)(186003)(40480700001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 14 Jul 2022 16:50:49.3151 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: f9bcf43b-8428-474e-f705-08da65b9016c 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: AS8PR08MB8014 Content-Type: text/plain Some field names in the IORT table parser were longer than the OUTPUT_FIELD_COLUMN_WIDTH plus indentation, resulting in loss of the output print alignment. Therefore, abbreviate the field names. Signed-off-by: Sami Mujawar Reviewed-by: Zhichao Gao Reviewed-by: Pierre Gondois --- Notes: v6: - No code change since v1. Including r-b and resending [SAMI] with v6 series. v5: - No code change since v1. Including r-b and resending [SAMI] with v5 series. v4: - No code change since v1. Including r-b and resending [SAMI] with v4 series. v3: - No code change since v1. Include r-b received [SAMI] from v2 series. Ref: https://edk2.groups.io/g/devel/topic/83600717#7665 v2: - No code change since v1. Re-sending with v2 series. [SAMI] ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Iort/IortParser.c | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Iort/IortParser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Iort/IortParser.c index 81bfacd83added87a867cf365a56d4b7a1410ef2..44d633c5282463078a4cc990bb24ca1992f95634 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Iort/IortParser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Iort/IortParser.c @@ -1,11 +1,14 @@ /** @file IORT table parser - Copyright (c) 2016 - 2020, ARM Limited. All rights reserved. + Copyright (c) 2016 - 2021, Arm Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent @par Reference(s): - - IO Remapping Table, Platform Design Document, Revision D, March 2018 + - IO Remapping Table, Platform Design Document, Revision D, March 2018 + + @par Glossary: + - Ref - Reference **/ #include @@ -144,15 +147,15 @@ STATIC CONST ACPI_PARSER IortNodeSmmuV1V2Parser[] = { { L"Span", 8, 24, L"0x%lx", NULL, NULL, NULL, NULL }, { L"Model", 4, 32, L"%d", NULL, NULL, NULL, NULL }, { L"Flags", 4, 36, L"0x%x", NULL, NULL, NULL, NULL }, - { L"Reference to Global Interrupt Array",4, 40, L"0x%x", NULL, NULL, NULL, + { L"Global Interrupt Array Ref", 4, 40, L"0x%x", NULL, NULL, NULL, NULL }, { L"Number of context interrupts", 4, 44, L"%d", NULL, (VOID **)&InterruptContextCount, NULL, NULL }, - { L"Reference to Context Interrupt Array",4, 48, L"0x%x", NULL, + { L"Context Interrupt Array Ref", 4, 48, L"0x%x", NULL, (VOID **)&InterruptContextOffset, NULL, NULL }, { L"Number of PMU Interrupts", 4, 52, L"%d", NULL, (VOID **)&PmuInterruptCount, NULL, NULL }, - { L"Reference to PMU Interrupt Array",4, 56, L"0x%x", NULL, + { L"PMU Interrupt Array Ref", 4, 56, L"0x%x", NULL, (VOID **)&PmuInterruptOffset, NULL, NULL }, // Interrupt Array -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'