From nobody Sun May 12 11:19:10 2024 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+39590+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+39590+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556240677; cv=none; d=zoho.com; s=zohoarc; b=d8YJ/v+RocIff99KWybVnV3AmkJXVKJyF5F1cvTe9vfSpp0XpTC80qTtgDPy9VQInHGvX2HR/Jx+Q0xKylBM5gVZAdwWQ6Ii/wrYOyYX9MaGBCsdwaSjibg7QZcHCzjwjz7ep5HAByBjAQMJJcFVhsyMU99EbI7DhayrKL5Pnq8= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556240677; 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=qVQ72wJw31A9Mj1OkUSRMhWxa9yXA6330KxMwsxjEEQ=; b=UZY5r1oaXYrANT2cTCdn3BNjyTB9TgE38En8Zo+PrU4thl1STnK4IoJs06ypbh52VhLzmbT7A+4xKj6ZPOqKnOVH1ZZ6DJUtGqM34+QhrKOULPI6zow9jvqw7O5LwkoncPm/HnLAkPmNH6htgvOLAjq+90reEhN3bKeoQOvkPH0= 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+39590+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 1556240677263778.234154772088; Thu, 25 Apr 2019 18:04:37 -0700 (PDT) Return-Path: X-Received: from mga01.intel.com (mga01.intel.com []) by groups.io with SMTP; Thu, 25 Apr 2019 18:04:36 -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:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,395,1549958400"; d="scan'208";a="137547633" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2019 18:04:35 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Michael D Kinney , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH V3 1/8] MdePkg/UefiDebugLibConOut: make global variable static Date: Fri, 26 Apr 2019 09:03:57 +0800 Message-Id: <20190426010404.20624-2-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=1556240676; bh=XGBXIlaZWXxJTdobbYBJ1KOA2KWeYRWj3+9U1SKdLBY=; h=Cc:Date:From:Reply-To:Subject:To; b=jXbQBixT46TFQQ8cVQY2a1jYz6xIDf2Ry2Zi+7fZ/ggBHkdRXv2mutDYs4gaGAtYUJ3 hd3btfxVRjXNEym/oGt1aQMLxJL064T4E0l7uL7g3gflUfhUSw7hDj5mCg1MKCjpkxlxM hd8Ku1QEEdywEnJ1SaPuMUwawZxdyUs1CiI= 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: Michael D Kinney Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao Reviewed-by: Laszlo Ersek Reviewed-by: Liming Gao --- MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c b/MdeP= kg/Library/UefiDebugLibConOut/DebugLibConstructor.c index d4fdfbab55..8005370372 100644 --- a/MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c +++ b/MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c @@ -17,7 +17,7 @@ // BOOLEAN mPostEBS =3D FALSE; =20 -EFI_EVENT mExitBootServicesEvent; +static EFI_EVENT mExitBootServicesEvent; =20 // // Pointer to SystemTable --=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 (#39590): https://edk2.groups.io/g/devel/message/39590 Mute This Topic: https://groups.io/mt/31348675/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- From nobody Sun May 12 11:19:10 2024 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+39591+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+39591+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556240681; cv=none; d=zoho.com; s=zohoarc; b=ZmVvajgsz3KMYENmC8Rbwx7jkxIT+oxY3SehELgLUS7SdjRzjMBxxvASGqwFeKz3qkZHnPfndH9mvZfg5WYGhj79iJ4PZhEcTfgJ82JBPRgocL/lWmury+JEM6aOSLWQw34yo2VsllX0p/gSO7OvsNNKQMZhfnMTqZtER9yi+Is= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556240681; 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=FvuNwXsdPl6co0DJfiREPvO79/TK0TjQcTvBwQZGfF8=; b=A/od8fT7fm4szzG9Nl8VE638QEPPWMf2NLo8rmRutjN05sZAKQJwwe6p01b0PWSEr5Kzclp13C66m4COtf25+H5pbDFF08gbby3prZ2OqDX7hydH922SBB13AibucAk7HMJf5eUowE+F09KsXzc5mUyJXfNv6mwzS4j/4nwz7lY= 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+39591+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 155624068120469.8615803986005; Thu, 25 Apr 2019 18:04:41 -0700 (PDT) Return-Path: X-Received: from mga01.intel.com (mga01.intel.com []) by groups.io with SMTP; Thu, 25 Apr 2019 18:04:40 -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:39 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,395,1549958400"; d="scan'208";a="137547650" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2019 18:04:36 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Michael D Kinney , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH V3 2/8] MdePkg/UefiDebugLibDebugPortProtocol: make global variable static Date: Fri, 26 Apr 2019 09:03:58 +0800 Message-Id: <20190426010404.20624-3-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=1556240680; bh=h7Pnmacwox6/H6bIkFLJW5ecXRhLhZis5lIesFRXcvw=; h=Cc:Date:From:Reply-To:Subject:To; b=hMIlc+TkKoiRz2CxsuMd+1P2vC5yOa06lwKNvbZVpHWoIhBJqHCRTtgyKNGXcf2mNik VlIIQB4xoO+0/lQGjzcwTjkqvVh7k8En7xz8w43BzB/Gp8yn8bVna9wkP6A9G3yrIJlt7 /eMqbxqJ57F+az7GSeNhucO3Bv49tqhoZsI= 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: Michael D Kinney Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao Reviewed-by: Laszlo Ersek Reviewed-by: Liming Gao --- .../Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstruct= or.c b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c index ed2cb70c21..de60d339a8 100644 --- a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c +++ b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c @@ -17,7 +17,7 @@ // BOOLEAN mPostEBS =3D FALSE; =20 -EFI_EVENT mExitBootServicesEvent; +static EFI_EVENT mExitBootServicesEvent; =20 // // Pointer to SystemTable --=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 (#39591): https://edk2.groups.io/g/devel/message/39591 Mute This Topic: https://groups.io/mt/31348678/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- From nobody Sun May 12 11:19:10 2024 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+39592+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+39592+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556240680; cv=none; d=zoho.com; s=zohoarc; b=mAEPpWb3v5LwtlXYg/mZmO7WqszkVC/cEkAiFKSxKtt5hgr8jxhHpuk2qEUFEvrjM5TGOujcHPywiVVuozngk8bzhBEDM+Y9E8R1VLJyCL3TijlotRHZmwPvCqlIy0yxp+WOXJb+BsI0zT7RNZrsf6GWJlSZTF0GWuJPJb9usOw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556240680; 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=LW+NkXnYeWtnNbcybqgtNx1o8fZdEsSiaOeYpaMc8J0=; b=QUkQCEc3SEv3V75cytn3BwRCf1RL4cAxItP72+pWETfWugVrybWrr3UntI0v9TmHAoEw8tEOLDBvRv1to2LAy3eEELym97A0t32plUnSLKR4XU5vy9iZEEu0ua8c+NP02K90M3ldSJZJmqzXWBwh161/Ghydilw2oQ8eNcA+YiE= 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+39592+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 1556240680986986.35766856579; Thu, 25 Apr 2019 18:04:40 -0700 (PDT) Return-Path: X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by groups.io with SMTP; Thu, 25 Apr 2019 18:04:40 -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:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,395,1549958400"; d="scan'208";a="137547656" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2019 18:04:38 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Michael D Kinney , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH V3 3/8] MdePkg/UefiDebugLibStdErr: make global variable static Date: Fri, 26 Apr 2019 09:03:59 +0800 Message-Id: <20190426010404.20624-4-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=1556240680; bh=f6RIe9PNkHa/eNiB/XfM/B7Zhg3NmCnVxyK2pMHqHEs=; h=Cc:Date:From:Reply-To:Subject:To; b=AxgBz7RyuUoTj1v9y5h3vEgacjKA3MoiLO+JxwG76EHUJFEtRCOGvsxH0sfk+qu2EKT zBWy0KOUxTSzdNPmulyarE1jqzYYtUBl9E0fGkeD/OooRJzhigulYvsz/klewaumYMIWf 3ZYF5YP0Gc0jY7bAWVAhfT8VoHvksNtumlg= 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: Michael D Kinney Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao Reviewed-by: Laszlo Ersek Reviewed-by: Liming Gao --- MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c b/MdeP= kg/Library/UefiDebugLibStdErr/DebugLibConstructor.c index d4fdfbab55..8005370372 100644 --- a/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c +++ b/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c @@ -17,7 +17,7 @@ // BOOLEAN mPostEBS =3D FALSE; =20 -EFI_EVENT mExitBootServicesEvent; +static EFI_EVENT mExitBootServicesEvent; =20 // // Pointer to SystemTable --=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 (#39592): https://edk2.groups.io/g/devel/message/39592 Mute This Topic: https://groups.io/mt/31348679/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- From nobody Sun May 12 11:19:10 2024 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+39593+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+39593+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556240682; cv=none; d=zoho.com; s=zohoarc; b=ggBWTj74trokhORorSozvzgo65FnNjOYuToRXj0ID8RwEOf9aVedP47xAOQ5IpmZ3SbA/rdJX+GiZc0Xg7BO/LXna4NkXmWTbje03iuBrz3Es3rUvVtzDlg8KZlrfr7UqB5naZWLEeniMb4qDWo2yYr9yUuf460u48kS6ecXcuQ= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556240682; 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=IWHOfFQnFX/fyCtulti8zyemsSoEiLWxU1kiAL78VmA=; b=TRpxdBGL7vGDGRUX0sGnI6GW5HzLlXTNyqGONrfMPq+4+zTNvL43jFR8tCly4f0FAt8INNVI8fl6wQSd3evudhl8CO5GJxjlXC4kl4lWoQSgWOB0pgPnr3vRkGboALwnzaKYAvVU0sql12dLLZNj+oiwFw3zJALy8e8ZA5qFK2o= 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+39593+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 1556240682889689.0603461177973; Thu, 25 Apr 2019 18:04:42 -0700 (PDT) Return-Path: X-Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by groups.io with SMTP; Thu, 25 Apr 2019 18:04:41 -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:41 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,395,1549958400"; d="scan'208";a="137547666" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2019 18:04:40 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Michael D Kinney , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH V3 4/8] IntelFrameworkModulePkg: make global variable static Date: Fri, 26 Apr 2019 09:04:00 +0800 Message-Id: <20190426010404.20624-5-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=1556240682; bh=9FeKCuj3lwI4zGTRQd/3ORv2lnbF6AbWU+vKPkEuvEw=; h=Cc:Date:From:Reply-To:Subject:To; b=esBtQncLPgMYBlT657c3tr4QhfHQGjYXRATruPqxuwWLrXu7Ofx7j3fvnXrq25aW0Xo zLJhnTywe8hUkkYYGnxQQyF2QE4UtoyPqdlflX3OeJ9oMSKUtZuaFe36n5dQKQU38UuUY cIcafE3muQ4+0kJRbrydCuK5MS0Jmzvamao= 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: Michael D Kinney Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao Reviewed-by: Laszlo Ersek Reviewed-by: Liming Gao --- .../DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCode= HandlerDxe/DatahubStatusCodeHandlerDxe.c b/IntelFrameworkModulePkg/Universa= l/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.c index 0f9185144d..5a82b99d09 100644 --- a/IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandler= Dxe/DatahubStatusCodeHandlerDxe.c +++ b/IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandler= Dxe/DatahubStatusCodeHandlerDxe.c @@ -2,14 +2,14 @@ Status Code Handler Driver which produces datahub handler and hook it onto the DXE status code router. =20 - Copyright (c) 2010 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2010 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ =20 #include "DatahubStatusCodeHandlerDxe.h" =20 -EFI_EVENT mExitBootServicesEvent =3D NULL; +static EFI_EVENT mExitBootServicesEvent =3D NULL; EFI_RSC_HANDLER_PROTOCOL *mRscHandlerProtocol =3D NULL; =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 (#39593): https://edk2.groups.io/g/devel/message/39593 Mute This Topic: https://groups.io/mt/31348680/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- From nobody Sun May 12 11:19:10 2024 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 Reviewed-by: Laszlo Ersek Reviewed-by: Liming Gao --- .../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- From nobody Sun May 12 11:19:10 2024 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+39595+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+39595+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556240686; cv=none; d=zoho.com; s=zohoarc; b=BacOAi0fH1v9de78eLrTDK2Vnc6GMDcduJXAOy09GYPPVCgGPBRed0YO7B7CSs0Jqm/zfHyvbNPsxs25L1W83ZUaBPUHj07kHolBGU9GZ5RcH516UWxc/LaFK+HYRhM5tN7IjVch8tlgP6gfH9MiZ5t44Yv5Ba9jpi26G80QpA0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556240686; 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=DGynEEZhBa/1w4ozBSC0QFfAMRY6ToRp493P2fwznsY=; b=MsjNizZ+rKmcbvgFtrJE/PHhxCzznt26+QW3gnkGPhH8hNgRNLZCvwsnTYC3VCrKRbHscDBOVLhcXgNAoq0tyeUbhRiYhKvimXU+8eT9awF4PXrV7NSHarrHrueeFAfFOEpAvAuBncv/h8KV2ZofUWuaeZdajipJiU1rPs8wBz4= 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+39595+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 1556240686819155.907286123194; Thu, 25 Apr 2019 18:04:46 -0700 (PDT) Return-Path: X-Received: from mga01.intel.com (mga01.intel.com []) by groups.io with SMTP; Thu, 25 Apr 2019 18:04:46 -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:45 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,395,1549958400"; d="scan'208";a="137547685" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2019 18:04:44 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Michael D Kinney , Liming Gao , Dandan Bi , Chasel Chiu , Nate DeSimone Subject: [edk2-devel] [PATCH V3 6/8] IntelFsp2WrapperPkg/FspWrapperNotifyDxe: make global variable static Date: Fri, 26 Apr 2019 09:04:02 +0800 Message-Id: <20190426010404.20624-7-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=1556240686; bh=8YaR+meRGsZqLHkBqs03a0cD3ityDsaCtvLT6+tDcTk=; h=Cc:Date:From:Reply-To:Subject:To; b=pzCaoHBvWEvf/Yoza02ve929sir30qzLgi5opwsnFXSJ2viOVgkqEVy85dCMPbsBiTf FGVaDLY75kwUFBsyS9eHDzClBSYjFkoR/zWdm7BZzFP1gMsJ/dtREdhmC3M3KNnf+ogQp eA69YeVSi6PIBG8OfaplVzK0nQ5rBZR/DfE= 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: Michael D Kinney Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao Reviewed-by: Chasel Chiu Reviewed-by: Nate DeSimone Reviewed-by: Laszlo Ersek Reviewed-by: Liming Gao --- IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c = b/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c index fe344a5327..0af0ec778c 100644 --- a/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c +++ b/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c @@ -1,7 +1,7 @@ /** @file This driver will register two callbacks to call fsp's notifies. =20 - Copyright (c) 2014 - 2016, Intel Corporation. All rights reserved.
+ Copyright (c) 2014 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -39,7 +39,7 @@ extern EFI_GUID gAddPerfRecordProtocolGuid; extern EFI_GUID gFspHobGuid; extern EFI_GUID gFspApiPerformanceGuid; =20 -EFI_EVENT mExitBootServicesEvent =3D NULL; +static EFI_EVENT mExitBootServicesEvent =3D NULL; =20 /** Relocate this image under 4G memory. --=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 (#39595): https://edk2.groups.io/g/devel/message/39595 Mute This Topic: https://groups.io/mt/31348683/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- From nobody Sun May 12 11:19:10 2024 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+39596+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+39596+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556240688; cv=none; d=zoho.com; s=zohoarc; b=hkQSC7d5WBb5haENvFvI4LkYUvUGWkNImTVY5uOL/4G0pcVKQIlcqYGwHgAI4PYoMF1iZn7+40Ur15Z/TV9v1CnhanUuKck5WDzYXvqpgOf30fJXhZ5SB8yEU+6h7pgVeQvEQAxlEiuLG8lb9el+LW+zfbV7TBmsO8VEKG+5Mbw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556240688; 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=qKC86fzWEdccjv4SGAudYedOeFabwhRwAqzxQ4W/3k0=; b=aLnsce4ZYR6xAmf7ScuujJTtz3wnwaIbxXXHROKunXn/8ClSp/L6MeNiLZ8UCvqnnOe4uNRMMdPUw0SYt0vJiz5WoFGReAnXF96XHnoyc8vUWoFSHkea0nAP81/+v3+V0y/RVjcFMwfkvEC8KbUEWFjZXaJ4sRgiMPWzJNXptto= 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+39596+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 1556240688477584.3198387821989; Thu, 25 Apr 2019 18:04:48 -0700 (PDT) Return-Path: X-Received: from mga01.intel.com (mga01.intel.com []) by groups.io with SMTP; Thu, 25 Apr 2019 18:04:47 -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:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,395,1549958400"; d="scan'208";a="137547691" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2019 18:04:45 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Michael D Kinney , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH V3 7/8] IntelFrameworkModulePkg: make global variable static Date: Fri, 26 Apr 2019 09:04:03 +0800 Message-Id: <20190426010404.20624-8-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=1556240688; bh=vSsWLYuFM4TiwlmUAQdc/AHTCsDkreLTnT6qTZCEi38=; h=Cc:Date:From:Reply-To:Subject:To; b=tS6IKcKAF723QH0N6wMh4cdYlyRcljcPO8WgvH0i46Rj6BB42qCuSWRFPRK8CPjGYXs rcDdTI9xAQt+8HSc0l8uKZfTRb3IZ6rycUXAcWL7mb7LXGD6xrBWQRt+AAp33jIcftc9h 297x8oK/g3VwVMlr5TNhlpEWeroAGOTHbHQ= 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: Michael D Kinney Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao Reviewed-by: Laszlo Ersek Reviewed-by: Liming Gao --- .../SmmRuntimeDxeSupport.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeL= ibFramework/SmmRuntimeDxeSupport.c b/IntelFrameworkModulePkg/Library/SmmRun= timeDxeReportStatusCodeLibFramework/SmmRuntimeDxeSupport.c index 4a6137a509..7dce1d2ee7 100644 --- a/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFrame= work/SmmRuntimeDxeSupport.c +++ b/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFrame= work/SmmRuntimeDxeSupport.c @@ -1,7 +1,7 @@ /** @file Library constructor & destructor, event handlers, and other internal wor= ker functions. =20 - Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -9,7 +9,7 @@ #include "ReportStatusCodeLibInternal.h" =20 EFI_EVENT mVirtualAddressChangeEvent; -EFI_EVENT mExitBootServicesEvent; +static EFI_EVENT mExitBootServicesEvent; EFI_STATUS_CODE_DATA *mStatusCodeData; BOOLEAN mInSmm; EFI_SMM_BASE_PROTOCOL *mSmmBase; --=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 (#39596): https://edk2.groups.io/g/devel/message/39596 Mute This Topic: https://groups.io/mt/31348684/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- From nobody Sun May 12 11:19:10 2024 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+39597+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+39597+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556240690; cv=none; d=zoho.com; s=zohoarc; b=V2mI7G9M4iqsyauxsOZwCmmu1wrmDNN9z033d44dKm9+7UvE9XKu4G0SkoRBiAUh6m57d5dglGLIji0mFB1OKMuHLdikxUCoy3H2FjZsr9HKX+q4xs1D+RwVn5Y6ypz5kfjjsdttybMKnbUwLXBkAErXrU6A8mXVQOVkOwtWOZk= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556240690; 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=IgQZNsUc2yjNwD4or5uFgS1nc/XkGsld8HLYuHLLvMs=; b=lB/RiZeHehhPuMaIInxSrXj0mv3IiDlqc05ocsgrV0hOVaHostN72aLlXqmEwSSsOWw7x+/pQAOwMQN6scPC458/auknTT3diifcHgZzGMUlIUxVTxlqAuNiwXzBHPXgvKmGINJzum4Qm80PMaxUZNkK9YEEa3jMOly+cdVohR8= 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+39597+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 1556240690473772.873330020622; Thu, 25 Apr 2019 18:04:50 -0700 (PDT) Return-Path: X-Received: from mga01.intel.com (mga01.intel.com []) by groups.io with SMTP; Thu, 25 Apr 2019 18:04:49 -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:49 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,395,1549958400"; d="scan'208";a="137547697" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga008.jf.intel.com with ESMTP; 25 Apr 2019 18:04:47 -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 8/8] MdeModulePkg/StatusCodeHandlerRuntimeDxe: make global variable static Date: Fri, 26 Apr 2019 09:04:04 +0800 Message-Id: <20190426010404.20624-9-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=1556240690; bh=cSVA1yw46NX3AW8B9W6y/vbZEE48Ox08H0p4cw9kyRM=; h=Cc:Date:From:Reply-To:Subject:To; b=XqmYyZF+/dgGTQ7dOv5EEf1wY2noziMobd6c0GooqJRAa2aX1na1BXQPNEZcFadAl9o GoE1gMWToJGSOoMbgHXLdLfMGk1LUhmpbrNIh8Oq0VrWOxkboW48dOLiZX7YMHIl26dBM GnYgNTBE5MxFTaNL1xVsivrm3EvpFZNDc8I= 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 Reviewed-by: Laszlo Ersek Reviewed-by: Liming Gao --- .../RuntimeDxe/StatusCodeHandlerRuntimeDxe.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCode= HandlerRuntimeDxe.c b/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/S= tatusCodeHandlerRuntimeDxe.c index 0d327d40e3..79cc48fa55 100644 --- a/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandler= RuntimeDxe.c +++ b/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandler= RuntimeDxe.c @@ -2,7 +2,7 @@ Status Code Handler Driver which produces general handlers and hook them onto the DXE status code router. =20 - Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.
+ Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.
SPDX-License-Identifier: BSD-2-Clause-Patent =20 **/ @@ -10,7 +10,7 @@ #include "StatusCodeHandlerRuntimeDxe.h" =20 EFI_EVENT mVirtualAddressChangeEvent =3D NULL; -EFI_EVENT mExitBootServicesEvent =3D NULL; +static EFI_EVENT mExitBootServicesEvent =3D NULL; EFI_RSC_HANDLER_PROTOCOL *mRscHandlerProtocol =3D NULL; =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 (#39597): https://edk2.groups.io/g/devel/message/39597 Mute This Topic: https://groups.io/mt/31348685/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-