From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR04-HE1-obe.outbound.protection.outlook.com (EUR04-HE1-obe.outbound.protection.outlook.com [40.107.7.72]) by mx.groups.io with SMTP id smtpd.web12.5526.1623923754790292309 for ; Thu, 17 Jun 2021 02:55:55 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=pkG+EK+a; spf=pass (domain: arm.com, ip: 40.107.7.72, 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=0LmHuFCkGB6tsquJyXEpAC+8WLORR5Id/e2hDTCWOR4=; b=pkG+EK+aDF1gnyYb0D48yPH+v3SWMtpHMdxlT40mgHEwuyI7afwIHjoBknR/LC4+h8KDewrf9m00Q/9+CwMiCdKjyQh1he3g/2vbFImcUa28t6mPvHvduFi6bH54X1cqJtnF7xWuhFIa37HsT/FLYY3Z/VWvi/h7PgB4nwHvuc0= Received: from AM6P193CA0107.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:88::48) by AM9PR08MB6756.eurprd08.prod.outlook.com (2603:10a6:20b:30d::15) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.22; Thu, 17 Jun 2021 09:55:51 +0000 Received: from AM5EUR03FT059.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:88:cafe::85) by AM6P193CA0107.outlook.office365.com (2603:10a6:209:88::48) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.18 via Frontend Transport; Thu, 17 Jun 2021 09:55:51 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 63.35.35.123) smtp.mailfrom=arm.com; edk2.groups.io; dkim=pass (signature was verified) header.d=armh.onmicrosoft.com;edk2.groups.io; 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; Received: from 64aa7808-outbound-1.mta.getcheckrecipient.com (63.35.35.123) by AM5EUR03FT059.mail.protection.outlook.com (10.152.17.193) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.16 via Frontend Transport; Thu, 17 Jun 2021 09:55:51 +0000 Received: ("Tessian outbound 94919dbe50f5:v93"); Thu, 17 Jun 2021 09:55:50 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 140a86991df35b61 X-CR-MTA-TID: 64aa7808 Received: from 49a42f60dc55.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 930F9E8E-8C85-46FE-B640-6929D81EC274.1; Thu, 17 Jun 2021 09:55:44 +0000 Received: from EUR05-DB8-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 49a42f60dc55.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 17 Jun 2021 09:55:44 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MV/u+7KXKHl3LfPMZu9Cr9pTCqMHflX2xLPQsiEyRYMTUOepO9Vqy4LHa29FB7KGsI/Hhgl09d+Vwams5qeXWWE+pXPkRPQKvsjnyY4WYlHue7Q7HHbiQ5v+ryqAf5ikaU5x+Hi4AdfSJllsoU+G1Ybx+jTe60QQ9pQsT1vT5SpnlDfBioGCP2mwK5SO7b6mtFOaeqzi7RiYijU4GGc8VgMzazbHY2slv781bT5S3UvXlEO0RDu8oxPUETlX7oqvMKzyQH1kjNJkwU3NSTVwwjRciBFFQ8ZfkZsq8A7OLJWRSq/VVP4w8c0SJn2FiydIoSY7r0ye8j3zWa+wet2xkw== 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-SenderADCheck; bh=0LmHuFCkGB6tsquJyXEpAC+8WLORR5Id/e2hDTCWOR4=; b=GR6njdC68tzQh+8aAb8t5FZKfGyQhzAJzVWoX4kTIpsTbnctZyZgqTolVINjhKjkRFtrCKMLSAcF6KsEFcgPJY+bJ/m/SeQcrTF0/UoV8F+pkm8FH7I5rNf8EY/jcwZwkMislqzXNjGzh3D5ytLNp2yP9DT0YB0YYGttNNrb/ikQEN6kjQLS6/tEUy53f8/R9JO/w+9HBHB+Wvz7N18zxfCK8lE+F2UvnYvdjyY1sEEf6ELA1pbyyzs/F7nions5c9UETD3aRTPA/KstG1zDGzqmwiUf+S45j4ziFMzfiFdTTs8rlXY0aXFMDLIaH3kdO11uZahrJPQWsY6uZVuXQg== 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=0LmHuFCkGB6tsquJyXEpAC+8WLORR5Id/e2hDTCWOR4=; b=pkG+EK+aDF1gnyYb0D48yPH+v3SWMtpHMdxlT40mgHEwuyI7afwIHjoBknR/LC4+h8KDewrf9m00Q/9+CwMiCdKjyQh1he3g/2vbFImcUa28t6mPvHvduFi6bH54X1cqJtnF7xWuhFIa37HsT/FLYY3Z/VWvi/h7PgB4nwHvuc0= Received: from AM6PR08CA0041.eurprd08.prod.outlook.com (2603:10a6:20b:c0::29) by AS8PR08MB7126.eurprd08.prod.outlook.com (2603:10a6:20b:401::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.19; Thu, 17 Jun 2021 09:55:43 +0000 Received: from VE1EUR03FT055.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:c0:cafe::66) by AM6PR08CA0041.outlook.office365.com (2603:10a6:20b:c0::29) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.18 via Frontend Transport; Thu, 17 Jun 2021 09:55:43 +0000 X-MS-Exchange-Authentication-Results: spf=pass (sender IP is 40.67.248.234) smtp.mailfrom=arm.com; edk2.groups.io; dkim=none (message not signed) header.d=none;edk2.groups.io; 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; Received: from nebula.arm.com (40.67.248.234) by VE1EUR03FT055.mail.protection.outlook.com (10.152.19.158) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.4242.16 via Frontend Transport; Thu, 17 Jun 2021 09:55:43 +0000 Received: from AZ-NEU-EX03.Arm.com (10.251.24.31) by AZ-NEU-EX03.Arm.com (10.251.24.31) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.14; Thu, 17 Jun 2021 09:55:41 +0000 Received: from E114225.Arm.com (10.1.196.43) by mail.arm.com (10.251.24.31) with Microsoft SMTP Server id 15.1.2176.14 via Frontend Transport; Thu, 17 Jun 2021 09:55:40 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , Subject: [PATCH v2 3/8] ShellPkg: Acpiview: Abbreviate field names to preserve alignment Date: Thu, 17 Jun 2021 10:55:32 +0100 Message-ID: <20210617095538.93280-4-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20210617095538.93280-1-sami.mujawar@arm.com> References: <20210617095538.93280-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: d7edcb55-e175-4c79-db7d-08d93176171f X-MS-TrafficTypeDiagnostic: AS8PR08MB7126:|AM9PR08MB6756: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:5236;OLM:5236; X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: CQqBO1CEUMhjGeSaenTZ170IPvdUVb18m1/kVfCnHEJ7z486YCuXLCgbFfdnj9pouVlzOdlHM/FmUzlIcV3NoUW9G91WXc8aV8QZ7jQx5IpPTiuk2GmGGFAlrVxvKgVahm2gc1xTymR5qgYtj1SPyQh54EEFxARuSJZIniXQQ3O+CN6CTIg3T6YY4DASs3zAZvdpTrWkJnH5dt1IVGI2WXzC5KnmCeTGwtQtQWcJyS7eLkCLbYB9QEiwOWZVirCOZSppmSf1Lpbx6+c+8qCGoWCWPa2R5NVfCjL1skKqxAEQMaBNFgz+tfPMtN9Bg7OKY8KwIYdXl/kiogHmhOrECvIrdrlG7xMKqLb+fLOnTYygltnTT71iu5EZo8IVHGBbpkBOFdmt9m9cs+PavroS6ivur9+naMQDtLheqpdnAOZcOSaR7qWJqTlJbPAQmaJ7oXN509PVMjKNct6YZNiD0nscrH39i+d72sN7gWhrhV1VsiveRsyoDm1Yc+4tcZUNm+gpsnLlR/6JnqA6nMdu9Kn2wvHpA2dfv96Yt3W3fUsxC151mCIX7/vNmOcCoibeF2p596s7NckZco8WPrk2ic0nppyi8d0VRGNtvCH1g1jCJxtLmiqKmyuWYvzBcgjPtLckd2DiOxeHNsLmEoOLkc+nKW4/3Y1bVvBCxwE2DpFArw9rNG8EpvyF1idmvrwe 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:(4636009)(346002)(39850400004)(136003)(396003)(376002)(36840700001)(46966006)(47076005)(54906003)(82740400003)(186003)(44832011)(2906002)(26005)(81166007)(336012)(356005)(316002)(36756003)(7696005)(83380400001)(70206006)(4326008)(70586007)(426003)(6916009)(8936002)(5660300002)(8676002)(6666004)(1076003)(478600001)(2616005)(36860700001)(82310400003)(86362001)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB7126 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: AM5EUR03FT059.eop-EUR03.prod.protection.outlook.com X-MS-Office365-Filtering-Correlation-Id-Prvs: 74cf3d29-ebd9-4afa-3052-08d93176123f X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: bo7BUg/RWrJfnszkGk/f2v/SDFK/rZe2eQyRNEdwoaqgPLbCQAznoxlKhSGsle8kE9IuNIGc4EZFuf+UtPlr95FD1RUxrhMFUy/Hf9VPKjChZtvuXsTe438D8Pmhc8h8zIhdi5mo+/RTt0YtuqRVKFtB4qn1UfkPOvm59GuzPvAm3SiIz2LwDDXQetLBGAFr6y8izulf8x7wwwXLN/PRiYEoGfighAO0OiKJzINz5H6tQMuY9NHu3bXDKCfM8NBc+jmuTVy+WzkuZMFCKzAkZ37vtJliXf9a82nm1Lg2TbdTzs9j6NxbGOgA2IgyJQ6KsVeQjoaWLbDGQ6QMmRAleKamjmqkZd7h922qEKOreLV1iSYxf4sogsqqYzgaoo6p/bzUux48DYhdtQwimUPROCBjrDQrTnV8zGBnUgacd5fBIYPcIwnzOgtX4NGXKzEsanuCfn5giLAwN7OPWTiKu+ibM/K16N7W2QUp2KgPP9ZHcCUJbjmnXlA5DrUof7m1zTsp2CMPuH982WKLSKXBku0cVy8fNL6zqoDeomFPpuy81ilPT/c/6CCs+nszU/+muMehFbiPXzaLTz46xLySOt0yhX+QNDcyfLHLj2U4wJjAzIqxKX3pxVYdgfZ39ern2w3gIELjXZjwrdnlRCR51IbugHVFJ8MaQd+eWnsqMZo= 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:(4636009)(346002)(396003)(39850400004)(136003)(376002)(36840700001)(46966006)(5660300002)(316002)(70206006)(44832011)(7696005)(6916009)(36860700001)(54906003)(47076005)(82740400003)(70586007)(2616005)(426003)(36756003)(81166007)(6666004)(1076003)(26005)(2906002)(336012)(4326008)(82310400003)(8676002)(8936002)(186003)(83380400001)(478600001)(86362001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Jun 2021 09:55:51.2871 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: d7edcb55-e175-4c79-db7d-08d93176171f 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: AM5EUR03FT059.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM9PR08MB6756 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 --- Notes: 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 f7447947b2308d35d4d2890373778f0fd2f97f9e..fcecaff5134256497bda87241f339076897c3ece 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)'