From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from EUR02-VE1-obe.outbound.protection.outlook.com (EUR02-VE1-obe.outbound.protection.outlook.com [40.107.2.85]) by mx.groups.io with SMTP id smtpd.web10.1333.1590085017026548321 for ; Thu, 21 May 2020 11:16:57 -0700 Authentication-Results: mx.groups.io; dkim=pass header.i=@armh.onmicrosoft.com header.s=selector2-armh-onmicrosoft-com header.b=ljFjRcXQ; spf=pass (domain: arm.com, ip: 40.107.2.85, mailfrom: tomas.pilar@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=gSBPCu9Yf8as3Ly6daP99iIM+v4m08IzAgjukic69Pc=; b=ljFjRcXQccvuqjIFn39qiDTVQD6Ut1NfiC23bKrCg312B5krfSSlFbnU+6RKHO06koIZk4Dyu9Jl0U6dcRoWqTWSeBkOAaLodR5ejm+Npvo45Av+xHxBnrB/JdagYJALPtYu6vfTv1m8LUbTOUlEH5C3gQZ2c/uSOS/fHneg4G8= Received: from DB6PR0501CA0048.eurprd05.prod.outlook.com (2603:10a6:4:67::34) by DB6PR0801MB1719.eurprd08.prod.outlook.com (2603:10a6:4:3a::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.27; Thu, 21 May 2020 18:16:54 +0000 Received: from DB5EUR03FT064.eop-EUR03.prod.protection.outlook.com (2603:10a6:4:67:cafe::6) by DB6PR0501CA0048.outlook.office365.com (2603:10a6:4:67::34) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23 via Frontend Transport; Thu, 21 May 2020 18:16:54 +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=bestguesspass 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 DB5EUR03FT064.mail.protection.outlook.com (10.152.21.199) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23 via Frontend Transport; Thu, 21 May 2020 18:16:54 +0000 Received: ("Tessian outbound facc38080784:v57"); Thu, 21 May 2020 18:16:54 +0000 X-CheckRecipientChecked: true X-CR-MTA-CID: 112444581ddab345 X-CR-MTA-TID: 64aa7808 Received: from 5d995988851b.1 by 64aa7808-outbound-1.mta.getcheckrecipient.com id 39354344-11ED-4ECC-A174-F3327EB6859B.1; Thu, 21 May 2020 18:16:48 +0000 Received: from EUR01-VE1-obe.outbound.protection.outlook.com by 64aa7808-outbound-1.mta.getcheckrecipient.com with ESMTPS id 5d995988851b.1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384); Thu, 21 May 2020 18:16:48 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Hcem63nhJ3WqghChIENxGSPOkrDSGATQoXeX8heGSdb0sAFJZCggldPwhRzZD4j93fFc+Cxt3mM6pniVhbjep11a2wglPxtLz94Ef4jH+1sWoIew94+yAtewwFHP+0vLoCfEuHGF921tNNNmw2MnDysMbTO1kkpi3GNNME9PmvGhnr3GazzY+b8mLZqgR/xpyde9C/ZJnz3Uu3tfWqSouJi57PpV9DHTUvJIoq0nJlYbC/VKjftkFdWinE1dHFbmL+lzKLFcii+M14+CCsdJP7l2nyLO74oqElqIoMPOWys7Bar1sPdpaOnwuaZws+NsUrAp5iBvQ5iwrWdWQleb/A== 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=gSBPCu9Yf8as3Ly6daP99iIM+v4m08IzAgjukic69Pc=; b=EsJDdt+cCYLdL38df6mUXJ7aXZ51gbwKvebok2/D1rMFS1fXD6eoJwd1LUY9fYlqTrXEWEwBpwTi3oxMxOKlZWweYlTPY1SI7UKz+4LvUNInLtd0APDn4HQL4yM7RD/QWft78ERoge8fAxvCDVyATjl6A0HYSvM/+Q5aLA0Oz51YXS5gqWfb3edSw3Lz9BsqjEJxrxVvGnvU3R1bYhYc+6u/VJTwkUyxeeULsNhcSJ9DERzreaqltcAIaUa1VyUEkqDbYrb7fKztLM5L2vvOx4K0cjEyyl77w+UMMkdIsQ3YCTNGEdO3pg/YR/SgsdRzhgzoY4mhVvcApGq5+o1XsA== 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=bestguesspass 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=gSBPCu9Yf8as3Ly6daP99iIM+v4m08IzAgjukic69Pc=; b=ljFjRcXQccvuqjIFn39qiDTVQD6Ut1NfiC23bKrCg312B5krfSSlFbnU+6RKHO06koIZk4Dyu9Jl0U6dcRoWqTWSeBkOAaLodR5ejm+Npvo45Av+xHxBnrB/JdagYJALPtYu6vfTv1m8LUbTOUlEH5C3gQZ2c/uSOS/fHneg4G8= Received: from AM6P193CA0079.EURP193.PROD.OUTLOOK.COM (2603:10a6:209:88::20) by AM0PR08MB3988.eurprd08.prod.outlook.com (2603:10a6:208:131::24) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3000.20; Thu, 21 May 2020 18:16:47 +0000 Received: from AM5EUR03FT025.eop-EUR03.prod.protection.outlook.com (2603:10a6:209:88:cafe::92) by AM6P193CA0079.outlook.office365.com (2603:10a6:209:88::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3021.23 via Frontend Transport; Thu, 21 May 2020 18:16:47 +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=bestguesspass 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 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.3021.23 via Frontend Transport; Thu, 21 May 2020 18:16:47 +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; Thu, 21 May 2020 18:16:47 +0000 Received: from localhost.localdomain (10.57.25.130) by mail.arm.com (10.251.24.32) with Microsoft SMTP Server id 15.1.1415.2 via Frontend Transport; Thu, 21 May 2020 18:16:46 +0000 From: "Tomas Pilar (tpilar)" To: CC: Ray Ni , Zhichao Gao Subject: [PATCH v1 3/6] ShellPkg/AcpiView: Move table count reset Date: Thu, 21 May 2020 19:16:26 +0100 Message-ID: <20200521181629.79-4-Tomas.Pilar@arm.com> X-Mailer: git-send-email 2.24.1.windows.2 In-Reply-To: <20200521181629.79-1-Tomas.Pilar@arm.com> References: <20200521181629.79-1-Tomas.Pilar@arm.com> MIME-Version: 1.0 X-EOPAttributedMessage: 1 X-MS-Office365-Filtering-HT: Tenant 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;SFTY:;SFS:(4636009)(136003)(396003)(39860400002)(346002)(376002)(46966005)(1076003)(2616005)(186003)(478600001)(6666004)(426003)(2906002)(82740400003)(8676002)(4326008)(336012)(54906003)(36756003)(316002)(86362001)(8936002)(47076004)(26005)(82310400002)(356005)(81166007)(70206006)(70586007)(6916009)(5660300002);DIR:OUT;SFP:1101; X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 16976db3-550d-4ad9-8aec-08d7fdb323f2 X-MS-TrafficTypeDiagnostic: AM0PR08MB3988:|DB6PR0801MB1719: X-Microsoft-Antispam-PRVS: x-checkrecipientrouted: true NoDisclaimer: true X-MS-Oob-TLC-OOBClassifiers: OLM:1107;OLM:8882; X-Forefront-PRVS: 041032FF37 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Untrusted: BCL:0; X-Microsoft-Antispam-Message-Info-Original: NmRg5W76bLfulNAv/24DZsbWQQ2tVbO6fqX6gq52En9+RGMCVap/7wtaFNCJCENJatmIItrD2Av1yG2KMr/CuZvRXiyvfOjg6Gmu3Q9xwkAXGNYSkMw7GFvkKqCw38X8UN9elf6S53Bhj2ldi4YHST1ic7VO7QXzTDcAQaebZ47msEUk1TBM/GNduPgRwfUWZbsG7c5B9cgr+QDU+a6mUya5k2L+RATUp7JUJVrcmnjDSRuh6TirwyE3wwPjTTPKLicdTF6f47ZCwM0WOtEnrydgXl4QEQ1fjbCuaIyoLmB82BT6S4ZvruLCKxEoPh4V/NW+51a3sTQdpomFKGkS3hDzYn/zHjsR99jrzE9NzaXISK1+zB0Tog8rESf7ehtZp8lbqQ6AFggXMMCpDcp0sK+j2uNUmcjaaQ0DZWhadnubHb4bqgiQjp3P9uNvKb819zy32vyFlU+M567IfDeD6YyHtfA8oMYn35quqRl4LuiC6IoxcfaoESsV8T/rW3/lOG8iCUGnG1VAr+ftbJwnnA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR08MB3988 Return-Path: Tomas.Pilar@arm.com X-MS-Exchange-Transport-CrossTenantHeadersStripped: DB5EUR03FT064.eop-EUR03.prod.protection.outlook.com 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;SFTY:;SFS:(4636009)(346002)(376002)(136003)(39860400002)(396003)(46966005)(26005)(186003)(81166007)(82740400003)(47076004)(6916009)(82310400002)(1076003)(8676002)(54906003)(70586007)(316002)(478600001)(6666004)(70206006)(86362001)(5660300002)(4326008)(107886003)(2616005)(426003)(2906002)(36756003)(336012)(8936002);DIR:OUT;SFP:1101; X-MS-Office365-Filtering-Correlation-Id-Prvs: 956c46af-5bd8-44c8-8152-08d7fdb32008 X-Forefront-PRVS: 041032FF37 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: S2nEdVe6+Kl2qGsoimPJDMB0glQiKvXqCZFAAf24iJ3wOBT/ISu9SPHzqbdTdWmWtzmmTDLBP7j2xu/aDi1VZ3KGYTvlZnMbos3IGWwc3PKMZ1r5re2dfOs1dwcq58QgzW2chZpApp8hYnQI0BW5taP21i6bPaRRy15PWKQvJWxq+l28vpPe4PrxLFemcGytyK5MweZhdG/YBwxkdWwEdeNd/2nyL3I1Vt2w8+qfl8QFYPB9kIXdi5riNOAf43rFAhKhHIlANOy4xqosJVSha0TrqIUl0y2FQSEf/RNs4xwNyCwfcdci9BiYslWRtCA1IqPwdAqe9+ec9MrDRvVC3GrOVts9sjANi72JxVmLLV5D6ta36/2veNNNvM4rairYcMWbI2VuVfAcl66ShcbX/cqtFmH7YvbFKZ8AL2rHK9b+dbfPXTAC8riZEfUSVBxW1oyIXJP2wZsAQAIdb6vYcc7YKLgdA6OUJPw4KXmg5bu8Ch+rtJRK6qHj9ELKW7BgUb2mo7WJiGILlfgfB1DIAw== X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 21 May 2020 18:16:54.0225 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: 16976db3-550d-4ad9-8aec-08d7fdb323f2 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-FromEntityHeader: HybridOnPrem X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB6PR0801MB1719 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain The table count module level symbols are now reset when executing the core method, rather than the shell command wrapper. Cc: Ray Ni Cc: Zhichao Gao Signed-off-by: Tomas Pilar --- ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c b/Shel= lPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c index 2f7395c23bce..c9654e52c434 100644 --- a/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c +++ b/ShellPkg/Library/UefiShellAcpiViewCommandLib/AcpiView.c @@ -255,6 +255,10 @@ AcpiView ( EfiConfigurationTable =3D NULL; OriginalAttribute =3D 0; + // Reset Table counts + mTableCount =3D 0; + mBinTableCount =3D 0; + // Reset The error/warning counters ResetErrorCount (); ResetWarningCount (); @@ -390,9 +394,7 @@ ShellCommandRunAcpiView ( CONST CHAR16* MandatoryTableSpecStr; CONST CHAR16 *SelectedTableName; - // Set Defaults - mTableCount =3D 0; - mBinTableCount =3D 0; + // Set configuration defaults AcpiConfigSetDefaults (); ShellStatus =3D SHELL_SUCCESS; -- 2.24.1.windows.2 IMPORTANT NOTICE: The contents of this email and any attachments are confid= ential and may also be privileged. If you are not the intended recipient, p= lease notify the sender immediately and do not disclose the contents to any= other person, use it for any purpose, or store or copy the information in = any medium. Thank you.