From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR05-VI1-obe.outbound.protection.outlook.com (EUR05-VI1-obe.outbound.protection.outlook.com [40.107.21.76]) by mx.groups.io with SMTP id smtpd.web09.4381.1657101435055153250 for ; Wed, 06 Jul 2022 02:57:15 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=pvZ5fddk; spf=pass (domain: arm.com, ip: 40.107.21.76, mailfrom: sami.mujawar@arm.com) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=FjWoBIuZS4kuRccZ2u8OiWu1xAaTDdZfKe6UxU+rcTktl2bg9dnTvDbKIp4dRyc8sLfDGdfSUG94hnX6CpEhgtNhlSUQapPjk8ewIVEd6Dy1dzk2wsHuHE0TUrvmlTq5TgdAtQkdo4wP+GRQVwqJb15c4QwcYjWgXSNxQTVO/qfWT+P5r0VyPS4KTo20535wEAW4iIlc58jyogLGwQPdK+0P9NDCWb4P+XM1v+s30ZUpdnnNF4K/poKP5JkwipSAkf4astwEtY/tripsh5wmWvVtsB/Glm4BN9kODFrIzG+UzrXGzHEKxRUpLCvZp4yE75BQ1BZ+mjvPGd/46MG4oA== 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=l9SnFcIe2StKn/e8VEDzjohwryGK4QLlHLGsG1vJ+0Y=; b=LEyWI7jJ50FrEdx76Ue7ec3GoRkRd0H/fRrZt8Ah0At5jx0nfgKxK1+eQ/NmYYsgbpfZ91EQZcUXFQO5oJbNAhkVfzQ5NzWSnA1D9TSpmm3ZMhp2jtJRu47jeAE1jgDvn09G/QO1TungIZGy4n+DJP3cj5QmoR4kBTkf/nTM+WkeGmuM5E7Mcl2I/hcGPoX9W8IHgRkszueyDXTYE4KmuXvdA194q4sBFTgV0wv7fhRbNU9N0BkFIjDwEPyg7sYWR/Rx3aavDM/05xv9IIwXFwZp62tnWfoJO18SwsnwUVRkjsUP7bUN5cR7NNg4uNE5hOYvMI5GuhXRO3G1wL5/wg== 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=l9SnFcIe2StKn/e8VEDzjohwryGK4QLlHLGsG1vJ+0Y=; b=pvZ5fddk2gjF8bWEdxXHfnahrg6qRZIJj6Y2Pvow0/g98CdS8bP3gbdoBNPho6m6+nxOEw5ljLnWIS6qVgyUmQMi/fhnTFlDzhu0It8fA10g94hgWrnKesvSSF8Go00OxQecQMTrQ2f2een+PdmaOyBqVVkTAlFgHhcgt6sR3ro= Received: from AS9PR05CA0011.eurprd05.prod.outlook.com (2603:10a6:20b:488::19) by DB9PR08MB6810.eurprd08.prod.outlook.com (2603:10a6:10:2ad::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5395.15; Wed, 6 Jul 2022 09:57:11 +0000 Received: from AM5EUR03FT050.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:488:cafe::8b) by AS9PR05CA0011.outlook.office365.com (2603:10a6:20b:488::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16 via Frontend Transport; Wed, 6 Jul 2022 09:57:11 +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 AM5EUR03FT050.mail.protection.outlook.com (10.152.17.47) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15 via Frontend Transport; Wed, 6 Jul 2022 09:57:11 +0000 Received: ("Tessian outbound 13cb25bfb745:v122"); Wed, 06 Jul 2022 09:57:11 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: db76c3b77f25da42 X-CR-MTA-TID: 64aa7808 Received: from 59b73a68b3c0.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id F374F859-70F0-46A5-99D6-DAA29DECB7D1.1; Wed, 06 Jul 2022 09:57:04 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 59b73a68b3c0.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Wed, 06 Jul 2022 09:57:04 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=OI8zGe8s/IiIskxILdOr5ClxQyRtPfpp7ls+ykpBuB/KrXjYAZuWiIPfQ0XQbeItgaj+Lwf2dg6rEW60zPz6EJxWkJZ1ukyNS1Ay3mjfBT2tP+/4wJD3FBxrBLE5gFUAbWymEA/xJy/k73irwEovaKgsfiOwTh764nodRZDRft+V0vGplh32cbuk6fOmcwfVqhz22ayF1eFdmuMrX0c+N3LduHVtM18wPK1a6funzgVE7Wr5Jzii246njLsxlMPwsglhAthYYa5Bq1uo9aS2vN9CZ430Zi4bjzTewSFsf42awNnVmfHL6iSPEt8hzrjhBouBNsI1HGYcFHrCOu/BKA== 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=l9SnFcIe2StKn/e8VEDzjohwryGK4QLlHLGsG1vJ+0Y=; b=h4358JkoDd3SHycLm7R0g+lcohcLZOplDxjdejqQ0RUJMyAJErgItCocUxii3FklSWpIrU+TzarNj5ccboHGwND1xtCRfpdfM/dhP9PZgUj8Gwp8qhRGAnAtk71xGORFhrkuRVsvkzrITkr8RYLqKjAFeC7D08TzJqlReKz/DMw/OMy1HwLYfGFfAUDvWdB1HZ6tBWaZcC4vnQK6B1fjLTzGqTqfDNgqYTzy8wHOyluaC3q3wNdyvf0RoecT0xx8JCElICsj6yC1vpCApdJ9uPzwxtggFWiRdLQ7HfGebvPkF8oqbJNjsO9RpevbFhNAMOe5IjzEz4069GvX8Vn+2g== 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=l9SnFcIe2StKn/e8VEDzjohwryGK4QLlHLGsG1vJ+0Y=; b=pvZ5fddk2gjF8bWEdxXHfnahrg6qRZIJj6Y2Pvow0/g98CdS8bP3gbdoBNPho6m6+nxOEw5ljLnWIS6qVgyUmQMi/fhnTFlDzhu0It8fA10g94hgWrnKesvSSF8Go00OxQecQMTrQ2f2een+PdmaOyBqVVkTAlFgHhcgt6sR3ro= Received: from DU2PR04CA0189.eurprd04.prod.outlook.com (2603:10a6:10:28d::14) by VI1PR0801MB2013.eurprd08.prod.outlook.com (2603:10a6:800:8a::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Wed, 6 Jul 2022 09:57:02 +0000 Received: from DBAEUR03FT013.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:28d:cafe::59) by DU2PR04CA0189.outlook.office365.com (2603:10a6:10:28d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16 via Frontend Transport; Wed, 6 Jul 2022 09:57:02 +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 DBAEUR03FT013.mail.protection.outlook.com (100.127.142.222) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5417.15 via Frontend Transport; Wed, 6 Jul 2022 09:57:02 +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; Wed, 6 Jul 2022 09:56:33 +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; Wed, 6 Jul 2022 09:56:33 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH v4 2/8] ShellPkg: Acpiview: Abbreviate field names to preserve alignment Date: Wed, 6 Jul 2022 10:56:25 +0100 Message-ID: <20220706095631.27196-3-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20220706095631.27196-1-sami.mujawar@arm.com> References: <20220706095631.27196-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: fce0094d-e131-4493-60d7-08da5f35e574 X-MS-TrafficTypeDiagnostic: VI1PR0801MB2013:EE_|AM5EUR03FT050:EE_|DB9PR08MB6810: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: EKLGWkIdub4ZtOtWPxdnJ/4CkUHhjW/4NWnUrq/r28rkwgjyMxDiARWQ4eQTEcNJ0RedLvMPYK+KVLa7VNfrywOqeRwM1sjaSq6BjOXP1Ja4pf0xObMFXiLni/2eq0X4jxRkyNu7iDiNKJwpBk8GZbrI9H/nIBJ4lT39CZwfMoIdPqRC1tTt9VaH5Gu1TuQD4TKHQbG2h/RlVQN4zzSUzgnSWgPpPCTrjbQZuvAM8r2CIfxU/iEv+HeXfEay1MYbdm/JrTbuvAfsM7DBlaOKr/MQbU9IVyKxS0SKFknb/wJUZNfM6nqCARiRyTLzj8gySna34jA+HNVhTOOvEKrFePIG+XB8ZUekRsIlCy8mr12xBPpWt4ClRIGLqoYQ5CMSxfR5n29t3UxZgsSHzTkU4u2Uixr+w2A6nRfJKd7mN5vWTY6G/YWsdDS67agBRYnsfu8wuugLusfgbQ0wPubDIYAlL6CeJDLceDdBnETBIcnNSfB7ueaYxFgBjTmS/Q9xbkICkx6rv933cow20gxpwZBbl8MV64B/DEfDFnj7QgNw7zpNQxJ5FNB1nlbd5DBsUuPd6F7jdP7tT/D7IIqOu/Ts9ennOfMGKdu6wyDyRaq2JO7rtg7nv0t0ZsjnltuS9AU7Yajdb/YiXcIPD2loDfeDhu8tzvUpduIvk63/RqOtkPcm6JiGnWSWOFY7BN6ppCr2mAAxYlXjf+Op0bqTk7a6eLh7JVp8xBesAwqgaFbgogqTBgSZVDTYRNzeUOJnzpec0V0s/EOKcUahbV5Znrd9B1Pq2Pjsd180rSYIDo1ixoAVmYVoWaZTWwVLB6qIVXR2aii/+JM2pxK0ktzd11r/c6GSW39K7LoTIXAoxX1D/qdysG3dyBrj7F50YMtg 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)(376002)(396003)(136003)(39860400002)(346002)(46966006)(36840700001)(40470700004)(5660300002)(6666004)(82740400003)(356005)(41300700001)(81166007)(4326008)(8676002)(70206006)(70586007)(36860700001)(82310400005)(186003)(7696005)(478600001)(316002)(2906002)(966005)(8936002)(44832011)(1076003)(2616005)(86362001)(40480700001)(40460700003)(26005)(83380400001)(47076005)(36756003)(6916009)(426003)(336012)(54906003)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR0801MB2013 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT050.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: eb286ce3-adb2-4a4b-1f5d-08da5f35e037 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: 1Bk0v0KiKSuMWElxDWozhQ1P2TzYzwHlxbAPctVfwhXp8jzE6gEQ7XbOZC46UFlXO8Gz6zZJHsUK99wwnRqiOJwcUB9nqqpZiIYhvN1jvc5fsIE0hkDQAcu/YBKf5EiVpBQtNkhDGBAPbva/NPabgOpg3vaiiUAk2fOu/ilw4aVPkTWDYeBOvQtpP7JHREoC9+rCOHvyk9Bc9VshuNXoeREqsudCqZhmguLktFRe3LJXfCImx/GDrddnitV8ZEWqPATCV469/r8mE0g3cuAmTzqBGnUOJBmBS0krkPX/pgPtJjz8biWsxHiyh15dauOkaiLiMnqq2uUTIuAqYc6IVFJXplWCW4sGGo4LQmFWHZShn3cy1GQ7+7dln50dN4bu3ZrOSR6NPKlYwFaiPRHJLcabJ/1cOhChKzugIKtVWjN7w4eqniwBh52wjmAQc6hhsxXoxiWy6iH7NqrZuVSH+tG65Q2dc7dNPkbCymNg4WKbqvD47vZQJPovoyfqy2Obg7z/LfvA42yyZ+fzsypAgRJkv2Z3tsF7r15MtxM9WD8FGH6hEhxmBE76tPGKuNirORcWFCZLDSZc14f56PZ+NxbJ3f7fuOGq9KMaMyDVxsbj4Au7A5qlPNfi9IV0etZS3PojBoX4WsLxHovzK7nxpBJfXcasniVg02cKr6zi9c4AOfzPRyst3uUoFGHTd3vBvte3yaIJAe3/GkuIZwOFFdbmLZ5YAnqAP+KLUksdVh/W++hBGZycb7kHJ7VesYaM0BVBxA5+p/1/vOVV27Yhhg4wCHIWCnpRXCJs/c6aTozHcDxnvEbVYzZrp6VkV4IhTczjGk2mT5LxZaVuVzGEWI1JNMMXPs2N7ZO4jNUHZp0= 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)(136003)(346002)(396003)(39860400002)(376002)(40470700004)(46966006)(36840700001)(81166007)(70206006)(70586007)(86362001)(82740400003)(36860700001)(54906003)(44832011)(316002)(966005)(478600001)(40460700003)(5660300002)(8936002)(8676002)(4326008)(82310400005)(83380400001)(41300700001)(40480700001)(1076003)(7696005)(2616005)(6666004)(47076005)(186003)(336012)(426003)(36756003)(26005)(2906002)(6916009);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 06 Jul 2022 09:57:11.3236 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: fce0094d-e131-4493-60d7-08da5f35e574 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: AM5EUR03FT050.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB9PR08MB6810 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: 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)'