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=PuixsyBz; spf=pass (domain: arm.com, ip: 40.107.5.52, mailfrom: krzysztof.koch@arm.com) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (EUR03-VE1-obe.outbound.protection.outlook.com [40.107.5.52]) by groups.io with SMTP; Thu, 18 Jul 2019 03:05:43 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ccNfczdpQPHUsCMUWSzx/h0B1YWfsRbmK1i1ttp/71XvVFXlg27C/+6q/tyjMIVtKLC7s8K0aUHrex58mJ7F9xVRJa+mbVkbzI6gm9lS/NC+TQ5vdiNJBlnBs1rZ9ZkaDMt5r1IuMp/oetY2Us3J0QyPeMksqLAvjicLcL/4P9syZZ014tfFWMJWt7caSUUPlaQOiXoZ/VNKW8p0aeGtegpHqMPUI4vKcVWxnPafJQCDjJBzj6Z2fqNZ0WJ9sHRbXAGgbDnSVKGE33up3C9dAGh240gy8ZSMg5rWBT/6QL7lyNQZLRhqMcK/+ln+LRP8McLq6MTtFVvDHWhPiFtsRA== 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=KGzyAFEEXvuAuSn+KFSaMEt8XoICCCdqjjjyVbbTXts=; b=QZjpzjm0cwWqm/VECd6SKdwGDosGCbpcLiHc0QsTtix6LNocb8X2tCLEUX2qJMx51Z78FOC+ZQ5sqAn5Px4DXt2Wj0mZLmWDI5wZl9zv/DMxO/dniYsv7377EEdXGgx2gZxK5OGStPVrWLULLhWDY2laYB4FfsmOst1qmjntPVX/P/Ly/USnm266TkzubaAjBufvWHZ4orubqd3DNdGpwMWxAPDkHjBC9CBqHNbnib4HjUCIadu/tEJ4+GtSWCLc7HgFNoBmk67bHOvPcpLssIskDUwVilrd740VOx0ug2v4Bzeunjd6+87BXKIkHjlAtyT82cAcGhEhLxpMhrjDfQ== ARC-Authentication-Results: i=1; mx.microsoft.com 1;spf=temperror (sender ip is 40.67.248.234) smtp.rcpttodomain=edk2.groups.io smtp.mailfrom=arm.com;dmarc=temperror 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=KGzyAFEEXvuAuSn+KFSaMEt8XoICCCdqjjjyVbbTXts=; b=PuixsyBzUeBSpbBPCQ9qEuPjdJvWyezCEP2JCWwWum5fkFZ8KhjhcwlBCrUTAjRz82CRqWucNZVo5sXQCshu5UGAmtbMVtvETkPeAJoac8HRPt2NHp1r0ZFQSBj8VnavZE/BmTWI5+CxPSl1epu3T8z/0BasOYZs7qelPmyW6uc= Received: from VI1PR08CA0257.eurprd08.prod.outlook.com (2603:10a6:803:dc::30) by AM6PR08MB4951.eurprd08.prod.outlook.com (2603:10a6:20b:e1::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2094.12; Thu, 18 Jul 2019 10:05:38 +0000 Received: from DB5EUR03FT004.eop-EUR03.prod.protection.outlook.com (2a01:111:f400:7e0a::204) by VI1PR08CA0257.outlook.office365.com (2603:10a6:803:dc::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384) id 15.20.2094.11 via Frontend Transport; Thu, 18 Jul 2019 10:05:38 +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 DB5EUR03FT004.mail.protection.outlook.com (10.152.20.128) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.20.2052.18 via Frontend Transport; Thu, 18 Jul 2019 10:05:37 +0000 Received: from AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) by AZ-NEU-EX04.Arm.com (10.251.24.32) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256) id 15.1.1415.2; Thu, 18 Jul 2019 10:05:12 +0000 Received: from AZ-NEU-EX04.Arm.com (10.251.24.32) by AZ-NEU-EX01.Emea.Arm.com (10.251.26.4) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1415.2; Thu, 18 Jul 2019 10:05:11 +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; Thu, 18 Jul 2019 10:05:11 +0000 From: "Krzysztof Koch" To: CC: , , , , , Subject: [PATCH v1 0/8] Remove redundant forward declarations in acpiview Date: Thu, 18 Jul 2019 11:04:54 +0100 Message-ID: <20190718100502.24688-1-krzysztof.koch@arm.com> X-Mailer: git-send-email 2.16.2.windows.1 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)(39860400002)(346002)(136003)(396003)(2980300002)(189003)(199004)(1076003)(47776003)(486006)(68736007)(48376002)(4326008)(70206006)(44832011)(305945005)(36756003)(70586007)(6916009)(6306002)(53936002)(5660300002)(53416004)(6666004)(356004)(81166006)(81156014)(16586007)(2351001)(336012)(86362001)(8936002)(51416003)(186003)(26005)(63350400001)(54906003)(63370400001)(50226002)(7696005)(426003)(50466002)(2906002)(126002)(476003)(2616005)(8676002)(966005)(316002)(478600001);DIR:OUT;SFP:1101;SCL:1;SRVR:AM6PR08MB4951;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: b1ebd9a2-3434-4e49-d28b-08d70b677b28 X-Microsoft-Antispam: BCL:0;PCL:0;RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600148)(711020)(4605104)(1401327)(2017052603328);SRVR:AM6PR08MB4951; X-MS-TrafficTypeDiagnostic: AM6PR08MB4951: X-MS-Exchange-PUrlCount: 1 X-Microsoft-Antispam-PRVS: NoDisclaimer: True X-MS-Oob-TLC-OOBClassifiers: OLM:7691; X-Forefront-PRVS: 01026E1310 X-MS-Exchange-SenderADCheck: 1 X-Microsoft-Antispam-Message-Info: oNb970qmbY1OGErpYkEPXIgkCWqZFxOGBzerOc/4p/qLX3h1R9S1qfpvE+x8CFI+mlhZ7wN+GRofRH6Esiy9hnW82lklzUTfU6m5UbRpOdA7y/Jvgfq0EjjA8gEZS46Rz9AKAhfZ7/otizySASZ6OeoeZs6XWVMTRiD4N0RbwY/xNIF6uZ23cFtK0Q9FfpzS9Cy0RlvhcXnxhDtiebjm50EwNuXuyp1Hy2neKBHz2u8ODCevJk6/BJbRIYVFBqv1KX7utFMKd1x3bSmkSMvTfABg0eMfw0uztSRLTGbN9ucRXCm9zxd6UIPvFLyILAlDJrYBdxed8IphmmgnMURd1xBhgJW0vGAuBc1qsxtVbZjifz1+L1za6Azc2FzC+mdGuH9cV5X8Oa8K7ZALNhTZnm4vBhZvTZsSTie79MjjD8g= X-OriginatorOrg: arm.com X-MS-Exchange-CrossTenant-OriginalArrivalTime: 18 Jul 2019 10:05:37.1904 (UTC) X-MS-Exchange-CrossTenant-Network-Message-Id: b1ebd9a2-3434-4e49-d28b-08d70b677b28 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: AM6PR08MB4951 Content-Type: text/plain This patch series removes forward static function declarations in the acpiview table parsers. After repositioning blocks of code, these forward declarations are no longer needed and they increase the code size. What is more, some of the existing ACPI table parsers don't have these duplicate declarations, so this set of patches makes the code structure consistent across all acpiview parsers. Changes can be seen at: https://github.com/KrzysztofKoch1/edk2/tree/612_remove_forward_decl_v1 Krzysztof Koch (8): ShellPkg: acpiview: RSDP: Remove redundant forward declarations ShellPkg: acpiview: FADT: Remove redundant forward declarations ShellPkg: acpiview: SPCR: Remove redundant forward declaration ShellPkg: acpiview: SRAT: Remove redundant forward declarations ShellPkg: acpiview: MADT: Remove redundant forward declarations ShellPkg: acpiview: IORT: Remove redundant forward declarations ShellPkg: acpiview: GTDT: Remove redundant forward declarations ShellPkg: acpiview: DBG2: Remove redundant forward declarations ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Dbg2/Dbg2Parser.c | 62 +++------- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Fadt/FadtParser.c | 113 ++++++------------- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Gtdt/GtdtParser.c | 91 ++++++--------- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Iort/IortParser.c | 58 +++------- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Madt/MadtParser.c | 118 ++++++++------------ ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Rsdp/RsdpParser.c | 116 +++++++------------ ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Spcr/SpcrParser.c | 98 ++++++---------- ShellPkg/Library/UefiShellAcpiViewCommandLib/Parsers/Srat/SratParser.c | 64 +++-------- 8 files changed, 236 insertions(+), 484 deletions(-) -- 'Guid(CE165669-3EF3-493F-B85D-6190EE5B9759)'