From nobody Tue Feb 10 04:15:54 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) client-ip=66.175.222.12; envelope-from=bounce+27952+39594+1787277+3901457@groups.io; helo=web01.groups.io; Authentication-Results: mx.zohomail.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+39594+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556240684; cv=none; d=zoho.com; s=zohoarc; b=nKR1WMX4gR7CGjilqtyZY4Phls+m5SY1HkcEzDb8pJWXEJuZEkEbWVA0IVivudIcrdZdg7J4nOiZ7KRr+UWfao93NSZIAYv4/l1cYKmemXH5Jz/RIcPzdnlEDW/1wlquXQlhwS8eqZDaF8ETf2dIHgMv9TIYBF9Dj9sMVrIX1YA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556240684; h=Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Id:List-Unsubscribe:MIME-Version:Message-ID:Reply-To:References:Sender:Subject:To:ARC-Authentication-Results; bh=a7tMZHLfJlYuz5Jw3CnHCEU4rA/hvyit5oHqJuXFFZk=; b=FbrC11lvWf2eHJRHzFjtW9kjA93Ge5gp2YYNEwQyaFksP9160nneBx2LblagpNzhpt4raVcIVpNMdh4xKH1FPZ24wIrI7/FQdr7lyNNTg3ErbITqbj0HHY6N6HLCuz46b9XchawITkfXtGL9Hnj3Zq4NnIYPMv+RkDHXDDQJUC4= ARC-Authentication-Results: i=1; mx.zoho.com; dkim=pass; spf=pass (zoho.com: domain of groups.io designates 66.175.222.12 as permitted sender) smtp.mailfrom=bounce+27952+39594+1787277+3901457@groups.io; dmarc=fail header.from= (p=none dis=none) header.from= Received: from web01.groups.io (web01.groups.io [66.175.222.12]) by mx.zohomail.com with SMTPS id 1556240684937592.3368545676352; Thu, 25 Apr 2019 18:04:44 -0700 (PDT) Return-Path: X-Received: from mga01.intel.com (mga01.intel.com []) by groups.io with SMTP; Thu, 25 Apr 2019 18:04:44 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 25 Apr 2019 18:04:43 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,395,1549958400"; d="scan'208";a="137547673" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2019 18:04:41 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Jian J Wang , Hao Wu , Ray Ni , Star Zeng , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH V3 5/8] MdeModulePkg/FirmwarePerformanceDxe: make global variable static Date: Fri, 26 Apr 2019 09:04:01 +0800 Message-Id: <20190426010404.20624-6-zhichao.gao@intel.com> In-Reply-To: <20190426010404.20624-1-zhichao.gao@intel.com> References: <20190426010404.20624-1-zhichao.gao@intel.com> MIME-Version: 1.0 Precedence: Bulk List-Unsubscribe: Sender: devel@edk2.groups.io List-Id: Mailing-List: list devel@edk2.groups.io; contact devel+owner@edk2.groups.io Reply-To: devel@edk2.groups.io,zhichao.gao@intel.com Content-Transfer-Encoding: quoted-printable DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=groups.io; q=dns/txt; s=20140610; t=1556240684; bh=RwppK4bjwvnZQA5nOkwxWjdCKSodZG5fA2dmxIOkadg=; h=Cc:Date:From:Reply-To:Subject:To; b=Apry1QSCk/0oXF0/TPFmPCW57diWXM76TPptsy2gb09dXY5PCFG2g2AOFaDKwbiTQ27 yZWsPw+7nqvPgCHjHtHcPK8UZkpK1p5KR3Hl7TPsdLKuh3W1ygcABK+SUVh3yNqlC+nOG EztysI4o1AGAQxCOR9tJkLILY8CX7p84OHM= X-ZohoMail-DKIM: pass (identity @groups.io) Content-Type: text/plain; charset="utf-8" REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3D1740 Add a 'static' storage-class specifier to the global variables that only used in a single file to minimize the name collisions. This is only for the variable named 'mExitBootServicesEvent'. Cc: Laszlo Ersek Cc: Jian J Wang Cc: Hao Wu Cc: Ray Ni Cc: Star Zeng Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao Reviewed-by: Hao Wu --- .../FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/Fi= rmwarePerformanceDxe.c b/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDat= aTableDxe/FirmwarePerformanceDxe.c index 9713048f1f..61a7704b37 100644 --- a/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwareP= erformanceDxe.c +++ b/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwareP= erformanceDxe.c @@ -5,7 +5,7 @@ for Firmware Basic Boot Performance Record and other boot performance re= cords, and install FPDT to ACPI table. =20 - Copyright (c) 2011 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2011 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -40,7 +40,7 @@ EFI_RSC_HANDLER_PROTOCOL *mRscHandlerProtocol =3D NULL; BOOLEAN mLockBoxReady =3D FALSE; EFI_EVENT mReadyToBootEvent; EFI_EVENT mLegacyBootEvent; -EFI_EVENT mExitBootServicesEvent; +static EFI_EVENT mExitBootServicesEvent; UINTN mFirmwarePerformanceTableTemplateKey =3D 0; BOOLEAN mDxeCoreReportStatusCodeEnable =3D FALSE; =20 --=20 2.21.0.windows.1 -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#39594): https://edk2.groups.io/g/devel/message/39594 Mute This Topic: https://groups.io/mt/31348681/1787277 Group Owner: devel+owner@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [importer@patchew.org] -=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-=3D-