From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=rChYZrUg; spf=pass (domain: arm.com, ip: 40.107.3.82, mailfrom: krzysztof.koch@arm.com) Received: from EUR03-AM5-obe.outbound.protection.outlook.com (EUR03-AM5-obe.outbound.protection.outlook.com [40.107.3.82]) by groups.io with SMTP; Fri, 28 Jun 2019 03:24:56 -0700 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=nYFuQjgJ6g4xVFr6SZzrowHZDIUzgbbaAbRdyk3vv1E=; b=rChYZrUgjoOWzMQVy+pZm7MFHiQj6p9eci8LstNFoA5bEWhdTSoFhpCzxJoWb91FO4PeTWoviZDIm/ZHlxA9kXfJF6OEuRsv19mzJVg/cwJ8bDY9/qGwYCuXgZkbmWqL80ZiMKeq8gd8GlO1gyeA8C96SUzKwKNBZ2XjtgwbWEQ= Received: from VI1PR08CA0118.eurprd08.prod.outlook.com (2603:10a6:800:d4::20) by AM6PR08MB3959.eurprd08.prod.outlook.com (2603:10a6:20b:a2::16) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2032.18; Fri, 28 Jun 2019 10:24:52 +0000 Received: from AM5EUR03FT015.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e08::205) by VI1PR08CA0118.outlook.office365.com (2603:10a6:800:d4::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2032.18 via Frontend Transport; Fri, 28 Jun 2019 10:24:52 +0000 Authentication-Results: spf=temperror (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=temperror action=none header.from=arm.com; Received-SPF: TempError (protection.outlook.com: error in processing during lookup of arm.com: DNS Timeout) Received: from nebula.arm.com (40.67.248.234) by AM5EUR03FT015.mail.protection.outlook.com (10.152.16.132) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2032.15 via Frontend Transport; Fri, 28 Jun 2019 10:24:50 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) 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.1415.2; Fri, 28 Jun 2019 10:24:46 +0000 Received: from E119924.Arm.com (10.1.199.124) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Fri, 28 Jun 2019 10:24:46 +0000 From: "Krzysztof Koch" To: CC: , , , , , Subject: [PATCH v1 2/4] ShellPkg: acpiview: Make DBG2 output consistent with other tables Date: Fri, 28 Jun 2019 11:24:36 +0100 Message-ID: <20190628102438.30544-3-krzysztof.koch@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 In-Reply-To: <20190628102438.30544-1-krzysztof.koch@arm.com> References: <20190628102438.30544-1-krzysztof.koch@arm.com> Return-Path: Krzysztof.Koch@arm.com MIME-Version: 1.0 X-EOPAttributedMessage: 0 X-MS-Office365-Filtering-HT: Tenant X-Forefront-Antispam-Report: CIP:40.67.248.234;IPV:NLI;CTRY:IE;EFV:NLI;SFV:NSPM;SFS:(10009020)(4636009)(376002)(346002)(396003)(39860400002)(136003)(2980300002)(189003)(199004)(77096007)(70206006)(70586007)(53936002)(6916009)(26005)(54906003)(50466002)(48376002)(316002)(2351001)(186003)(356004)(6666004)(47776003)(16586007)(5660300002)(966005)(1076003)(72206003)(86362001)(478600001)(76176011)(6306002)(81166006)(81156014)(8676002)(305945005)(8936002)(68736007)(336012)(486006)(51416003)(44832011)(476003)(2616005)(14444005)(2906002)(7696005)(126002)(53416004)(36756003)(4326008)(11346002)(426003)(446003)(63370400001)(50226002)(63350400001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR08MB3959;H:nebula.arm.com;FPR:;SPF:TempError;LANG:en;PTR:InfoDomainNonexistent;MX:1;A:1; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 27ecc6fc-1ad3-4abe-8aa9-08d6fbb2da79 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328);SRVR:AM6PR08MB3959; X-MS-TrafficTypeDiagnostic: AM6PR08MB3959: X-MS-Exchange-PUrlCount: 1 NoDisclaimer: True X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:161; X-Forefront-PRVS: 00826B6158 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: 5GS051YM3JskwsC61Dry26yx83WfZ/6YBzuysfVCUPubkoZVbmOD4V84FGyUK6fuRTiExISQdfqLEuHRQKe2ECzpULr92H/Zdy6lZF1PFKtnYuFaWkYMeaYlbflUlsmOwJCcFzV2avGd249OEwY9WQhF/aKvgGUP7Dgu8boRy+UjEv7uTcafWnssv/ORqnk+q4XpMVGpMZMmYYnwuwAyTCTLKxHohGKbjeLQLCA0Fv7iFnvGL0KhxYNoSEy6Ck4CFarecbs1iKyjQKI6qzR0hwW3dc12AFLoONgzbz9ByY3kWYPssVndamH3nzNTtS+XDNvKCPxOoL8xk/p6qRRCMdMjnu3CCqSdj+3rAbr2k4uzbkQ6nyewyZBSpjym7TITXm+sbAZrodn5VPTOx7lsntlrzZr3n+dlxnlZ+PYEPuE= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Jun 2019 10:24:50.6411 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 27ecc6fc-1ad3-4abe-8aa9-08d6fbb2da79 X-MS-Exchange-CrossTenant-Id: f34e5979-57d9-4aaa-ad4d-b122a662184d X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f34e5979-57d9-4aaa-ad4d-b122a662184d;Ip=[40.67.248.234];Helo=[nebula.arm.com] X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR08MB3959 Content-Type: text/plain Print an extra newline character at the end DBG2 table parsing in order to make the output resemble the one for other ACPI table parsers. With this change, there is now a blank line between the DBG2 table dump and the 'Table Statistics' section. Signed-off-by: Krzysztof Koch --- Changes can be seen at: https://github.com/KrzysztofKoch1/edk2/commit/397c37eb5a73ee0f3bbd363075f97b19c0edaf2e Notes: v1: - Print one more newline character after DBG2 table dump [Krzysztof] ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Dbg2/Dbg2Parser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Dbg2/Dbg2Parser.c b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Dbg2/Dbg2Parser.c index 310d3f18ec24532289c8f6a58cbd117fed0ca071..8de5ebf74775bab8e765849cba6ef4eb6f659a5a 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Dbg2/Dbg2Parser.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Dbg2/Dbg2Parser.c @@ -1,7 +1,7 @@ /** @file DBG2 table parser - Copyright (c) 2016 - 2018, ARM Limited. All rights reserved. + Copyright (c) 2016 - 2019, ARM Limited. All rights reserved. SPDX-License-Identifier: BSD-2-Clause-Patent @par Reference(s): @@ -190,6 +190,7 @@ DumpDbgDeviceInfo ( Print (L"\n%-*s ", OUTPUT_FIELD_COLUMN_WIDTH, L""); } } + Print (L"\n"); *Length = *DbgDevInfoLen; } -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'