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.75]) by mx.groups.io with SMTP id smtpd.web10.9854.1657636317707913365 for ; Tue, 12 Jul 2022 07:31:58 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=auxuB7br; spf=pass (domain: arm.com, ip: 40.107.7.75, mailfrom: sami.mujawar@arm.com) ARC-Seal: i=2; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=pass; b=ct1Q0ITkU2hUZmbF5a0+HAgIjfo+bBAFqq9B74C9DT0WUSqOyX8Y8cWyf8tLyWywQ8AgASErnHiMkVw47+fF7GNeHD1xs6eNHdfrcmMCeMhWeSajpRGJHR1/L/METIFB0DbfbYpoR2k1nTtl42+NZkI/GlTt9ynxF0S9SOWC+r8s3G967Kwc0e3ih2Ukgei1MYXLTTCt4N+zeSKh5pNPeZz3sl1nzg2pMcCvkSp7NQLhAoDCBiz6iqhHLnE18fNOpDQ5EaILO+aoLNWEF8QcnW5iq/9hLQuwxKH7bpxFGTYk/0wGNrqkhypXRbj4A2FrmamEtT/jXA0aE5njGufGrw== 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=41mSk1y2fDyKWtE/dkm62ZO6YTpCkTfjovdGJQPjX5U=; b=BUsgaJbYEaOqqkZvyMrich/nl7LFdWq34jL8EGSEH2hC0W14i/tizDtVuU1CLdfg5+Tv/fnIqI+byi+XYxF7FdjW9NzGhumZRyiVF0JDXTdrGSrJvIn05/ReqgKpuCna8KHdRs460Zh2JAMDA4Kq/4vkES1IrkMafzEpgPkbF/LHCVZNqw9kJ/sZVWuartWImLTeL3CY3vWT/1INJwGffLb1wZW5glp8hvfu9wI1D+xevnhUP49QFNbYRosnMWkKUX7M+GVWq1jiEVPHmekH4crqq8HuqpMb4q8kEnJBiME4Ce1/Sb/dxhrQy88/CsAbAkAXlwc078U01zCAD7s4Eg== 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=41mSk1y2fDyKWtE/dkm62ZO6YTpCkTfjovdGJQPjX5U=; b=auxuB7brrIq93/O4cvWennAm9ATyfNB2PzMEvP0w2CIeKLXPiqbC6xs7ZWxcYV1B8QKurSgGcl2vhMOkrNQJCUJ7zocngsMwUQHjZwgildkGyp1XAnZYIn6hDPbaO4pUwO16BmV8Mipyzhjy4y0GXvhkGvxdjmUVQr0uHoyCKic= Received: from DBBPR09CA0021.eurprd09.prod.outlook.com (2603:10a6:10:c0::33) by PAXPR08MB6751.eurprd08.prod.outlook.com (2603:10a6:102:136::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Tue, 12 Jul 2022 14:31:54 +0000 Received: from DBAEUR03FT062.eop-EUR03.prod.protection.outlook.com (2603:10a6:10:c0:cafe::77) by DBBPR09CA0021.outlook.office365.com (2603:10a6:10:c0::33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15 via Frontend Transport; Tue, 12 Jul 2022 14:31:54 +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 DBAEUR03FT062.mail.protection.outlook.com (100.127.142.64) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.15 via Frontend Transport; Tue, 12 Jul 2022 14:31:54 +0000 Received: ("Tessian outbound 190453a6d737:v122"); Tue, 12 Jul 2022 14:31:54 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 22c17958c0b258b0 X-CR-MTA-TID: 64aa7808 Received: from aa8c60fbf9ac.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 24F3A227-6BFF-42EE-8589-DF3C9CAF3179.1; Tue, 12 Jul 2022 14:31:46 +0000 Received: from EUR02-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id aa8c60fbf9ac.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Tue, 12 Jul 2022 14:31:46 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Z1b/8/cSMYGRd+FkuEynQ9MY4ln24CuEYEFwshWxHTJ5hv95T1rTC0chp//U8vwFDFVL3CelLxla4rgDJ420LmRtMA0UFtOS1rLVPofKOqoPDXsSEabWIU85xJdSg5u5D0KmHQHfKIgDI8ipk49VFIKb3HhPykBNUQbegzzcml4mEO5GgWTFyF2iFUSFH9aWzkOa2s6b+dYXQDQ8GyL0yKFDYsuGzjSRki9R4iqOwWZbeHtz3YYvIORo7xkVT8STA2ynAsPdx97RRmhZoHz74cRg6g3LbGm1bQsE5v7wc4L8h3rPfkR6jktWQTAfhWYMrqa5yQRky67Q+PDbWibzIQ== 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=41mSk1y2fDyKWtE/dkm62ZO6YTpCkTfjovdGJQPjX5U=; b=cKh2ksb+ZOpNVSP9HVtFG1KC+VTfqPModT3u+Yb0PQ1odz2m6LnT/kV1vrUlx5sFbqOpfrQDyywnO0918RSgD0tWlbM1nBRbUDBrnQ1Gl8vgaFTPxdyTElWyQ7ff69+2ZCr/G34Pw02oifd9s+fQ/UvF6anJDSi9PhywOsvppsk0hgTvRMDpq1lBD61CrBSODvuPhIZUdoWC6tbJ2n8aw0+rCpDM4SAzl41MsuK1l5tmixGuGwTEgp7pyY4jHcbksul90V1oIywQzFA9rGleqtAe0qnPrxFTTUPxECrOdqsN0cy7oS8cqfQPloE5t4IbR1egfs1nbchqWn4mskULpg== 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=41mSk1y2fDyKWtE/dkm62ZO6YTpCkTfjovdGJQPjX5U=; b=auxuB7brrIq93/O4cvWennAm9ATyfNB2PzMEvP0w2CIeKLXPiqbC6xs7ZWxcYV1B8QKurSgGcl2vhMOkrNQJCUJ7zocngsMwUQHjZwgildkGyp1XAnZYIn6hDPbaO4pUwO16BmV8Mipyzhjy4y0GXvhkGvxdjmUVQr0uHoyCKic= Received: from AS9PR06CA0414.eurprd06.prod.outlook.com (2603:10a6:20b:461::26) by AS8PR08MB6945.eurprd08.prod.outlook.com (2603:10a6:20b:344::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16; Tue, 12 Jul 2022 14:31:45 +0000 Received: from AM5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2603:10a6:20b:461:cafe::e9) by AS9PR06CA0414.outlook.office365.com (2603:10a6:20b:461::26) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5417.16 via Frontend Transport; Tue, 12 Jul 2022 14:31:45 +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 AM5EUR03FT025.mail.protection.outlook.com (10.152.16.157) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.20.5417.15 via Frontend Transport; Tue, 12 Jul 2022 14:31:45 +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; Tue, 12 Jul 2022 14:31:43 +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; Tue, 12 Jul 2022 14:31:42 +0000 From: "Sami Mujawar" To: CC: Sami Mujawar , , , , , , , , Subject: [PATCH v5 1/8] ShellPkg: Acpiview: Abbreviate field names to preserve alignment Date: Tue, 12 Jul 2022 15:31:34 +0100 Message-ID: <20220712143141.18516-2-sami.mujawar@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20220712143141.18516-1-sami.mujawar@arm.com> References: <20220712143141.18516-1-sami.mujawar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-Correlation-Id: 6f7fed53-2983-44fa-5e83-08da64134468 X-MS-TrafficTypeDiagnostic: AS8PR08MB6945:EE_|DBAEUR03FT062:EE_|PAXPR08MB6751: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: DT03ausbF7/c6DeDd7txR40tRN5+XaoJ3mGml2iLVUCn+IhlHhZWk5rI5UyypAYzK7+rCuhqbe3ZP48qmc84LXqLRFKq6nMSJ2vjSFmsMDRG2qtVFFUV2DvYxY4yGFmWbN/s8KWm0LklImABbmYlG7Ejg5Nos2ihrDT3cBBVr6N+HbTi4BIjsCk0JMZ0n8IdYjb9p63rinws8TWImneHzd7FPY/LsxDLzO24aoDFxN4b1cH7DQGslTOUO7Pt9GSKNwxgfNAyCTAG5F5OjTQj/19cPNGuuutbP3bV4MuDAM6pD/Am1hrwKAS3tLsj1w3hSERHNiOjn5kwLJrsIRPY1uhm2ZtxB9CHeWyLBTYNoqAr2IP6SKpUCHaG/X99Xi9DRZ8lPHuaxf/eRUKj/wWQo4NpQOv7xQzUadnWNLDWV5KubKg3MPav7oWSfwn3oJR+q1OQgRtHuXYA3pGWC26pzJOiPgXzAfysP0iJnXItgOSrgBTpnjYfpMhgwOn9jduSHowLXtBeuP+mxe49ZoUMpEfHv2JlSwAhn0UkhNwz/QO6Owi8fj3Y8/TxrntWQQDjy1YLohBxugw+zBYKPgtwaP8ZhphqKlnGDRxbj0S7MDfGjZP+aZe8pycb5xJjL7618ZshooK3PcA62e0HX8d232lkRdNqQihcRUSyHm/6ZLXnxdQnbdrWWPmRcw1nMgVFMAuLMXSlKD2fOJDN8KzQ0isdAjTT1Ua50z8cgdPnmsV3ap6mwaBFhSLfzgcjVCGgeqL03j992GtAmhxzZLEH+rREe8jMRJquOlbCFDLmveQMhWzTB6YqM6hYbK6LYb76oHhyCggf3twZ5HLMDiAzA23+wRNzeUjlrKsfpy9LJkvVh1itbUamo5sPtaRhBb8R 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)(396003)(136003)(39860400002)(346002)(376002)(40470700004)(36840700001)(46966006)(356005)(82740400003)(36860700001)(36756003)(86362001)(336012)(83380400001)(81166007)(186003)(47076005)(2616005)(26005)(426003)(40460700003)(54906003)(966005)(478600001)(2906002)(6916009)(316002)(41300700001)(1076003)(6666004)(40480700001)(7696005)(82310400005)(5660300002)(8936002)(44832011)(70586007)(70206006)(4326008)(8676002)(36900700001);DIR:OUT;SFP:1101; X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR08MB6945 Return-Path: Sami.Mujawar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DBAEUR03FT062.eop-EUR03.prod.protection.outlook.com X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id-Prvs: 652864aa-1030-4a5b-f2ad-08da64133f03 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: YVKcNr/jCbsKk6laBigdO1EA90Y3RM5v8I6+VpZ7y0CGMkCwFemn35jjqf4ocyL53qX1VO6gAmH5mKZdNSn9Y3PKnjELw4tQfnY477l71QXy6eKPUqLWSVjjmuxmxdzFkg7BhmMTbFbSIUWuuA8aCbaiJFfiTzHldXBulerIa7bt7x+2XA51oC+IgrkiB06Gdt+P5yRsFj13EiZbXr4F3bhmzsCoRQgy4v1XTtm5LJPRHbH4ahVY+/sQkaM089DM94GLAul2N9Y/cJpwK21YqVX3MruUZzUZnOyK4eG+5MEqASA7gOSAmr4REAxy7d515c+4jdsk/kfZFIlg64rZN95KYArbKg7rt5Y8CRgBlqnMhFXnJ6cRXHP1oOZVQ8vgI5IdG+wUSsfCNOp6opyjSi65gjrTPnvM1RYM5n2qf5mmsMOrekHmV8bu18/v6fo/gP/MvUc/EsH0z/0BGrcvn7uadUI53NTb640IuaZLCrWMAcjO5S+obxhnodxG00ouCa8sNR/hfdyMts9jvQlPk5uxYu3fBtWlItghWvIMJmCbu17SIPsuAIcyljBBwgkICYKlRgiC4NneQCOyI5cjPsfWi+M6a128wNU+2P242ra6nlbaDR/edaoYa1Lo147Vo3QSjisIolamFtAATx5+b6Sgxq4j2yl7fOlNFVbi+Wea4VHSR4MroG1+ODHFdXTcVvy35qOethln1UXwtvdSTCx45KlCRJjQd3Ai7YYYkTZLEfe0OnS2AytrJaUYT28cUqgpOavYu1D0ns4AI844kTzwDdhMCQW1vCyKA/Nzxp76PzzqBxK10ree6DbekC8FUQXjUtc0X0GaD9zBYxu4NDwcweURxuS+HFuWdcpSkMY= 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)(346002)(396003)(136003)(46966006)(40470700004)(36840700001)(70586007)(8676002)(2616005)(426003)(4326008)(186003)(1076003)(86362001)(83380400001)(966005)(70206006)(336012)(2906002)(40480700001)(47076005)(40460700003)(82740400003)(81166007)(8936002)(44832011)(6916009)(5660300002)(316002)(54906003)(6666004)(7696005)(82310400005)(36756003)(478600001)(36860700001)(26005)(41300700001);DIR:OUT;SFP:1101; X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 12 Jul 2022 14:31:54.1193 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 6f7fed53-2983-44fa-5e83-08da64134468 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: DBAEUR03FT062.eop-EUR03.prod.protection.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Anonymous X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR08MB6751 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: 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)'