From nobody Mon Apr 29 11:43:00 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+39446+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+39446+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556081945; cv=none; d=zoho.com; s=zohoarc; b=gQKT9uEg+YabPC8TNEWWzb8UlV0zE5JpdOK5ec2LwIH/EXREfENq/bcTSq7MWo0HfyEz9BxLL6AGYIHS9Hi+IAInmUusB18wGoqLSaDVj4BiEksaL5D7VDIfxA5CDzUJiLr/UJtWgkD55eIvBkdCds+MkMwpOSAjU7QFdarShlE= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556081945; 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=AZjylqWdUXxyJmttEVK2uv9I8CJBF6+BPhaoEesHtQk=; b=FXDpHf0c+AA71diibeV7e/g4j3dfU34j9XN9L2Y4C70gVy1uaQNfBSe8OTCNJpOVMuLrj6ukZDr8qr2A5HK7Fba90/kEZDM4nVRnkSd62JwY4l5iRF+OVpXhKE0kfTUejFbwvCfZuiikKPeJf9ipWZIgyqFVXGLmXPfWd4/mcbw= 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+39446+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 155608194536266.80438236151554; Tue, 23 Apr 2019 21:59:05 -0700 (PDT) Return-Path: X-Received: from mga17.intel.com (mga17.intel.com []) by groups.io with SMTP; Tue, 23 Apr 2019 21:59:03 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2019 21:59:03 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,388,1549958400"; d="scan'208";a="138312322" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga006.jf.intel.com with ESMTP; 23 Apr 2019 21:59:02 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Michael D Kinney , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH V2 1/8] MdePkg/UefiDebugLibConOut: Decrease the name collisions Date: Wed, 24 Apr 2019 12:58:20 +0800 Message-Id: <20190424045827.19348-2-zhichao.gao@intel.com> In-Reply-To: <20190424045827.19348-1-zhichao.gao@intel.com> References: <20190424045827.19348-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=1556081944; bh=X+LLJmxs8rVwk3pW0Ou0L7ijyR4+hTeALCWabNvCkK4=; h=Cc:Date:From:Reply-To:Subject:To; b=Y4Nc6l8ti4CPPv7YpfUyPDtpxAzCuC0Of9ecXQASsNrSvX7xD3BhijmHacEYruVC+Mx ZPqbLsCGcpWlqltNCkLm/B/bc0ly9nvfrarvj//tUrwP/rL+vpL+qV7txcG4tJv0+TexY K0qlDuCmMFv/bDPaD0qqHIN207c8YZXWM0w= 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' descriptor to the global variables that only used in a single file to minimize the name collisions. This is only for the varable named 'mExitBootServicesEvent'. Cc: Laszlo Ersek Cc: Michael D Kinney Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao --- MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c b/MdeP= kg/Library/UefiDebugLibConOut/DebugLibConstructor.c index d4fdfbab55..bb7b144569 100644 --- a/MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c +++ b/MdePkg/Library/UefiDebugLibConOut/DebugLibConstructor.c @@ -15,9 +15,9 @@ // // BOOLEAN value to indicate if it is at the post ExitBootServices pahse // -BOOLEAN mPostEBS =3D FALSE; +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 (#39446): https://edk2.groups.io/g/devel/message/39446 Mute This Topic: https://groups.io/mt/31318886/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 Mon Apr 29 11:43:00 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+39447+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+39447+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556081945; cv=none; d=zoho.com; s=zohoarc; b=QEfFHTSd7AIXWErk5dfs9zZvoGZ3dMO9BHklxvkUnWrT/IKuQFsqJSh1ZvTVkyBwJUFG7dYfGVmUA5disDT9QHaw4fDmtzfBLRXv/fyYVdx6JSZxQmD7AXMg4HiFtF1OYRdBrB9DWSTnLdt5dcSn3wCoVg9xnyWXmsW5dq9gaf0= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556081945; 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=fiUV3YbDrTsKGiEGn9Q5PK0MV7xK9n4sKevOBBGBnso=; b=nV4d3HXQNA0m3fnRcOM4Ql6b4h8ouFn9lAzA1dzsjCv7xG9v2M+pkwoT2NRnGW5VPX8m+u5U6PCeFE93RM8OtRFBYmxHjhQt3gW1GzOpHgW6bexwEycfMx9/E+qi//D4Uhx1mIeN7ns/DBViQQewi/HufpF9YsZTC9XTTBcretc= 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+39447+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 1556081945579145.0357776005917; Tue, 23 Apr 2019 21:59:05 -0700 (PDT) Return-Path: X-Received: from mga17.intel.com (mga17.intel.com []) by groups.io with SMTP; Tue, 23 Apr 2019 21:59:04 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2019 21:59:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,388,1549958400"; d="scan'208";a="138312335" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga006.jf.intel.com with ESMTP; 23 Apr 2019 21:59:03 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Michael D Kinney , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH V2 2/8] MdePkg/UefiDebugLibDebugPortProtocol: Decrease the name collisions Date: Wed, 24 Apr 2019 12:58:21 +0800 Message-Id: <20190424045827.19348-3-zhichao.gao@intel.com> In-Reply-To: <20190424045827.19348-1-zhichao.gao@intel.com> References: <20190424045827.19348-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=1556081945; bh=Bdu9Bwe6z/cU9ZetaSL6pd5arihLPOBhYXO5te/UOEQ=; h=Cc:Date:From:Reply-To:Subject:To; b=PO7IJTj3a3HEAUtR4EunFWo9CWTmxf80DjJS2eoJN6/CYbVS/y2DU/XLQ1CaH76D2SU HC//Evm3CS2HfSjIqUim+htRZ6WSNVKrQaFpLlD64rPX8fBXV9l3TmkRALRSHK5Ua4Bpf Hykfgw9wTh5CGHthAnuakquLvzblV1nmWo0= 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' descriptor to the global variables that only used in a single file to minimize the name collisions. This is only for the varable named 'mExitBootServicesEvent'. Cc: Laszlo Ersek Cc: Michael D Kinney Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao --- .../UefiDebugLibDebugPortProtocol/DebugLibConstructor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstruct= or.c b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c index ed2cb70c21..5d108288c9 100644 --- a/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c +++ b/MdePkg/Library/UefiDebugLibDebugPortProtocol/DebugLibConstructor.c @@ -15,9 +15,9 @@ // // BOOLEAN value to indicate if it is at the post ExitBootServices pahse // -BOOLEAN mPostEBS =3D FALSE; +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 (#39447): https://edk2.groups.io/g/devel/message/39447 Mute This Topic: https://groups.io/mt/31318887/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 Mon Apr 29 11:43:00 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+39448+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+39448+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556081946; cv=none; d=zoho.com; s=zohoarc; b=n2u0WHOdEEMvUjxkiyXDQoqgZHbJCu2GqLjxOv18XFXSjrV33nBisUzW1RduiChEZPYEFyycrSMCmmzw1AFZQYP0z12NVP4Mz4YzL5Ta9w1e2R7cFE7r/KsEVj/OP9ZvNMm8pKXh+/rkG6bHU80i4tguKSIyWGyBEVRWO7WDGIY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556081946; 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=a93HfC2FLbsZgrxmcEjPiQ6neCDXE+kNys1f+KyD+Og=; b=DEPH9qBbR9fE1IN+dq/rnjNhYo7WT6ABnp4XHZ92J0ItH98i1JdUEYxWwqqvVmh1UPc4LDGgyU/1a7NjVUWibqH0z3zztQgTbeJxnxmrmcCBc2Qsa4ns+wVTOsLma1Pnu4IUx+uNK0d2f5R/tS4fWUpyYD3vCqvmrF/S2ttGI80= 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+39448+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 1556081946799871.6877206971376; Tue, 23 Apr 2019 21:59:06 -0700 (PDT) Return-Path: X-Received: from mga17.intel.com (mga17.intel.com []) by groups.io with SMTP; Tue, 23 Apr 2019 21:59:06 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2019 21:59:05 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,388,1549958400"; d="scan'208";a="138312345" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga006.jf.intel.com with ESMTP; 23 Apr 2019 21:59:04 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Michael D Kinney , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH V2 3/8] MdePkg/UefiDebugLibStdErr: Decrease the name collisions Date: Wed, 24 Apr 2019 12:58:22 +0800 Message-Id: <20190424045827.19348-4-zhichao.gao@intel.com> In-Reply-To: <20190424045827.19348-1-zhichao.gao@intel.com> References: <20190424045827.19348-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=1556081946; bh=k9Zgey6QA+lycD8hnGQcNkkE01XjL4kka+2p/Yl9dlM=; h=Cc:Date:From:Reply-To:Subject:To; b=AXPNERf6dChtnIJRARgYqUmtEgWcFPJnjOxCVKmp/XiEK3wqW8JcR3c06vEmOj/XFXQ U4+/Ki35VjIut4GpJvdwQUKJkk+C/pGM2JTMBRCD/0afz3DvfVu/TBf43ZsYYSDvEMpyx N4LFMvwrhXNLscCX+TF4aEY2gEFkHjB3eOE= 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' descriptor to the global variables that only used in a single file to minimize the name collisions. This is only for the varable named 'mExitBootServicesEvent'. Cc: Laszlo Ersek Cc: Michael D Kinney Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao --- MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c b/MdeP= kg/Library/UefiDebugLibStdErr/DebugLibConstructor.c index d4fdfbab55..bb7b144569 100644 --- a/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c +++ b/MdePkg/Library/UefiDebugLibStdErr/DebugLibConstructor.c @@ -15,9 +15,9 @@ // // BOOLEAN value to indicate if it is at the post ExitBootServices pahse // -BOOLEAN mPostEBS =3D FALSE; +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 (#39448): https://edk2.groups.io/g/devel/message/39448 Mute This Topic: https://groups.io/mt/31318888/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 Mon Apr 29 11:43:00 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+39449+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+39449+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556081947; cv=none; d=zoho.com; s=zohoarc; b=KSotuglD6Mnpmj4QVZf44zUKhKMyMAPkU8pCTcc76upYfZm2f2uxi3BmmT4Go8R0HopTpO4lycl73TKmxBjzF6p66kGfB1q0Ux6UwtL2hBgMXyCCfy+gR6tFOGg2m9FUQb0KvAmKBdNRPStQ8chHd0rbKDnYfJGu58uFw5JXCic= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556081947; 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=6jtTUWa0ZndwN70KsvxPcBuY9wSWf04TwU8OJyqIBN4=; b=afyhDb3xJL8hDuvKGsp9rtA6TqgUGb3BljnyUu0mk981/1sRbmUSVIvH9Z3J9OwxmR5qqDwPIV3ReTqb3q4I7N0D9M9c3wn6TIw2MfKdWUIHAO3+wdtWbWD/3A3pnqNDrDi4o68l1UKinhxQ1zqNeyNpTiM/1Bdrsa6Xw4tEq0o= 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+39449+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 1556081947809720.8108170411716; Tue, 23 Apr 2019 21:59:07 -0700 (PDT) Return-Path: X-Received: from mga17.intel.com (mga17.intel.com []) by groups.io with SMTP; Tue, 23 Apr 2019 21:59:07 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2019 21:59:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,388,1549958400"; d="scan'208";a="138312356" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga006.jf.intel.com with ESMTP; 23 Apr 2019 21:59:06 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH V2 4/8] IntelFrameworkModulePkg: Decrease the name collisions Date: Wed, 24 Apr 2019 12:58:23 +0800 Message-Id: <20190424045827.19348-5-zhichao.gao@intel.com> In-Reply-To: <20190424045827.19348-1-zhichao.gao@intel.com> References: <20190424045827.19348-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=1556081947; bh=aRqhXwGydqQQ6CPNtKmGoYu2BzBv6+QNM86Nx6CKIo8=; h=Cc:Date:From:Reply-To:Subject:To; b=fgGM0HEyMIuIQahPEMYdCuKUTRZj5JAOlaum6B1cV60O4iS+U2tFOI/S2QCQJMR0ZjA E+/D2u42I2fhQS0nf/BYd2F23C/QRi/wOjFhGNBIDxCLht85/izly2d+leS01e0unRZWe XG8dqpCVyz2T0HXCkdg44PWT36jbON5uMLI= 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' descriptor to the global variables that only used in a single file to minimize the name collisions. This is only for the varable named 'mExitBootServicesEvent'. Cc: Laszlo Ersek Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao --- .../DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCode= HandlerDxe/DatahubStatusCodeHandlerDxe.c b/IntelFrameworkModulePkg/Universa= l/StatusCode/DatahubStatusCodeHandlerDxe/DatahubStatusCodeHandlerDxe.c index 0f9185144d..5399bc7123 100644 --- a/IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandler= Dxe/DatahubStatusCodeHandlerDxe.c +++ b/IntelFrameworkModulePkg/Universal/StatusCode/DatahubStatusCodeHandler= Dxe/DatahubStatusCodeHandlerDxe.c @@ -9,7 +9,7 @@ =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 (#39449): https://edk2.groups.io/g/devel/message/39449 Mute This Topic: https://groups.io/mt/31318889/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 Mon Apr 29 11:43:00 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+39450+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+39450+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556081949; cv=none; d=zoho.com; s=zohoarc; b=McSctp3o6LxreiS4gwm3uigDsRhWkViEiIFZvidPe+K+p3BffU0/9uUrBA5giTMSikvdSOYGyrPJNsDjanyzQ36yy8O2q7VAHUVxxZFgpVdYIySLOyTLBw4ICRy7KAnLgHFYpOki1qkhZ7gVd05JUWR6nI/ljjr74ccWBsZw7FA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556081949; 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=Qs2l/mttKvldTcZNyWYdqS4v/eoStPOd+e6u5Yjq6aU=; b=LNpq+BnNIaJpU7iyFYouncfgPIXnRxMuyo9633poy8fBIkAemBDbNUShGR/kfR5i04eDddE+Cm0DUlNsaL3dIi8AGRnAHFrEEbQrv6Qfzem0QeaMWSZw2xhaTAmm+PIRDyeoWia3bVwNxb5INlJNxRTHZd3vbrBfyueqxmFkdtk= 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+39450+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 15560819496695.428282641863234; Tue, 23 Apr 2019 21:59:09 -0700 (PDT) Return-Path: X-Received: from mga17.intel.com (mga17.intel.com []) by groups.io with SMTP; Tue, 23 Apr 2019 21:59:08 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2019 21:59:08 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,388,1549958400"; d="scan'208";a="138312374" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga006.jf.intel.com with ESMTP; 23 Apr 2019 21:59:07 -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 V2 5/8] MdeModulePkg/FirmwarePerformanceDxe: Decrease the name collisions Date: Wed, 24 Apr 2019 12:58:24 +0800 Message-Id: <20190424045827.19348-6-zhichao.gao@intel.com> In-Reply-To: <20190424045827.19348-1-zhichao.gao@intel.com> References: <20190424045827.19348-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=1556081949; bh=xJHhHec3i0iu7yJbiohrkN3tflox3UOnmFkhFP3stPE=; h=Cc:Date:From:Reply-To:Subject:To; b=GiAeOSqTilUuGVtWn7K+eIOxdaPbV/8aHo7ao4hKX64n2BhIkE7tLdmGks2Tr0+4tyy CcxdzcwKxEdbpApuXpdilvZ0EBC6zKcpEXGb03PHbJcBFm2VrDtOC2Ztf1ZF0gKNEvNbg F2SHoF4cIcVWXgemnYUQzzJnFZNWX2BdRbc= 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' descriptor to the global variables that only used in a single file to minimize the name collisions. This is only for the varable 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 --- .../FirmwarePerformanceDataTableDxe/FirmwarePerformanceDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/Fi= rmwarePerformanceDxe.c b/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDat= aTableDxe/FirmwarePerformanceDxe.c index 9713048f1f..85ca1e8d11 100644 --- a/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwareP= erformanceDxe.c +++ b/MdeModulePkg/Universal/Acpi/FirmwarePerformanceDataTableDxe/FirmwareP= erformanceDxe.c @@ -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 (#39450): https://edk2.groups.io/g/devel/message/39450 Mute This Topic: https://groups.io/mt/31318890/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 Mon Apr 29 11:43:00 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+39451+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+39451+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556081951; cv=none; d=zoho.com; s=zohoarc; b=LoDgOMp5SZPP+oqQj+YIONy+XsXO2QcRwTvqdpSaNT7Hhl4Ov661N7jINHxZ1sodg2VRImcSJFp9ucQ4ZqHIFCU/ur2dLfO7brx85pvz8UYATR0UyI0m2zKVG3SaE18/UNbAFMyVy36Cypjr0thRt+LpgVEBrucA1ldNoIth50k= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556081951; 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=LsulbXboBrsdt/xBg6WGOKbXtOpafW90QuKHBoI0HFg=; b=mnEfFBTxXmu5IslQP6nQBCXUC1i9+HJw3uNduWrHwEhiLwzSf81ia9cgveNbI+OULoRxsrvwBz044uGpP7HHZ5o5KV/BfbZkRBF0ZlXF38MnW15kGib/4ltyL/lLWN7Q+IzvckBMljYu+zcKpVgGgkuPgDZG/Pz9yjLz3/TPRxk= 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+39451+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 1556081951196520.8869056524221; Tue, 23 Apr 2019 21:59:11 -0700 (PDT) Return-Path: X-Received: from mga17.intel.com (mga17.intel.com []) by groups.io with SMTP; Tue, 23 Apr 2019 21:59:10 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2019 21:59:10 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,388,1549958400"; d="scan'208";a="138312385" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga006.jf.intel.com with ESMTP; 23 Apr 2019 21:59:08 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Chasel Chiu , Nate DeSimone , Star Zeng , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH V2 6/8] IntelFsp2WrapperPkg/FspWrapperNotifyDxe: Decrease the name collisions Date: Wed, 24 Apr 2019 12:58:25 +0800 Message-Id: <20190424045827.19348-7-zhichao.gao@intel.com> In-Reply-To: <20190424045827.19348-1-zhichao.gao@intel.com> References: <20190424045827.19348-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=1556081950; bh=Gic8zAxv37b37NcKwXehG++7QaLyoAyFBwnlHpE3ZnQ=; h=Cc:Date:From:Reply-To:Subject:To; b=PiKaF9Z96eIJEfI9Jp9Yy6+FJkjZB4jslZsmBcEQnmB5ZOHdF60ncvJidoG0wY8Jo4t xGeVpOcKy60r8PPxuzijx6I9jDN2ejUo5vjE/Vvw0mAwXtC54YI/mLXEzBqF1B/xtEQT3 Ybw8VhycBREkM5ELhqDtuZ/NBscyyECcEs4= 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' descriptor to the global variables that only used in a single file to minimize the name collisions. This is only for the varable named 'mExitBootServicesEvent'. Cc: Laszlo Ersek Cc: Chasel Chiu Cc: Nate DeSimone Cc: Star Zeng Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao Reviewed-by: Chasel Chiu Reviewed-by: Nate DeSimone --- IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c = b/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c index fe344a5327..459acc694b 100644 --- a/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c +++ b/IntelFsp2WrapperPkg/FspWrapperNotifyDxe/FspWrapperNotifyDxe.c @@ -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 (#39451): https://edk2.groups.io/g/devel/message/39451 Mute This Topic: https://groups.io/mt/31318891/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 Mon Apr 29 11:43:00 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+39452+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+39452+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556081952; cv=none; d=zoho.com; s=zohoarc; b=BTIiWGyC2oIZqnu/A4uUe0phPwfhsSEA6Zkq9L9CkN1rBiHK1mpA6vKQZ5N/CimvjQ1lpfUAnxWloS6i0N4HYHlBpVt4B1H1QM2vsTLDFe+ZniGkdO1HwJGSzok2qHZv0thHgEjOtYA7R4ba/9QTbOhvWrJ7eNBi+jqGOx3lGfY= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556081952; 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=vjd41264kS3yhKVcR44g1SaRpVtoTlmfyCvYZtdmXsA=; b=M4NEaUwWuGt/vuoYDH+VIGibihHS1EF/d9CLxklwALt5Zu0K8OWY6ZDPP/wbNpd1JaF9o8geJt1yDA2rgJTwK3bzAeAjxjCYpnfC4iLJornvSaO9JfuC6D37PZCGx7gSBHdo+p4B7/L+D0iO28CbcHw6kqzPPxIMgNPk/d3qR0I= 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+39452+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 1556081952045864.8696529964152; Tue, 23 Apr 2019 21:59:12 -0700 (PDT) Return-Path: X-Received: from mga17.intel.com (mga17.intel.com []) by groups.io with SMTP; Tue, 23 Apr 2019 21:59:11 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2019 21:59:11 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,388,1549958400"; d="scan'208";a="138312393" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga006.jf.intel.com with ESMTP; 23 Apr 2019 21:59:10 -0700 From: "Gao, Zhichao" To: devel@edk2.groups.io Cc: Laszlo Ersek , Liming Gao , Dandan Bi Subject: [edk2-devel] [PATCH V2 7/8] IntelFrameworkModulePkg: Decrease the name collisions Date: Wed, 24 Apr 2019 12:58:26 +0800 Message-Id: <20190424045827.19348-8-zhichao.gao@intel.com> In-Reply-To: <20190424045827.19348-1-zhichao.gao@intel.com> References: <20190424045827.19348-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=1556081951; bh=xZj/fc/Y/FNFQbHyFKwVCUlc/1UQ1wpGVRtA7x2LBMg=; h=Cc:Date:From:Reply-To:Subject:To; b=hPYR96Cq9xTdJBHRQC0go7D8VvcSeKBCIg0jC/06woPdlSrq4niINlj5yciKvE1BiZg nIpb+lWy7QLQEneIAU8y08Vl9OoSYwQIxDR+YsGD618DQqIkTNPZTkGnPxz6SzQzUVW0e C3HAlG4Z8em9yLa08jjJD3AbQosdx6tOkt4= 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' descriptor to the global variables that only used in a single file to minimize the name collisions. This is only for the varable named 'mExitBootServicesEvent'. Cc: Laszlo Ersek Cc: Liming Gao Cc: Dandan Bi Signed-off-by: Zhichao Gao --- .../SmmRuntimeDxeSupport.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeL= ibFramework/SmmRuntimeDxeSupport.c b/IntelFrameworkModulePkg/Library/SmmRun= timeDxeReportStatusCodeLibFramework/SmmRuntimeDxeSupport.c index 4a6137a509..e5db127b8a 100644 --- a/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFrame= work/SmmRuntimeDxeSupport.c +++ b/IntelFrameworkModulePkg/Library/SmmRuntimeDxeReportStatusCodeLibFrame= work/SmmRuntimeDxeSupport.c @@ -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 (#39452): https://edk2.groups.io/g/devel/message/39452 Mute This Topic: https://groups.io/mt/31318892/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 Mon Apr 29 11:43:00 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+39453+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+39453+1787277+3901457@groups.io; dmarc=fail(p=none dis=none) header.from=intel.com ARC-Seal: i=1; a=rsa-sha256; t=1556081953; cv=none; d=zoho.com; s=zohoarc; b=gP+rTINmaCoEfM6GbraYOLRmR9uGHIE1qjBqy+dcngozHLuSP2K2+MTeGbFFXZM2OvSRIcQFIuko7Y/f0shJPJ1fUhc/jtt0v8odnWVXQV2rycJLQBl2LpPZnPhOni7wcWJRygiHKV9+AD5MNi/+R66g4ldH5dUpuSwiPbqmxjI= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556081953; 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=qS+VeWvrkInrj6LOR73IcQG/RpFsBSIJbMLTP+n6ie0=; b=COxOucxGUFTt8L/FtZ9FZQAwknxOEOYYEepKWDgQ7GK0CT4DJFnwcLhcPoe7soHZRckLOgQeWi748YGm5OfRuBP5jXdPJGm2wQMvoZ8RGgqD9JOhTaJYtr7yE47yHbBZT8mHMSM9IGM+QVz+zdejuTuXE5Ai4BQSF1kf9wtSDQ4= 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+39453+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 155608195367074.92542104703216; Tue, 23 Apr 2019 21:59:13 -0700 (PDT) Return-Path: X-Received: from mga17.intel.com (mga17.intel.com []) by groups.io with SMTP; Tue, 23 Apr 2019 21:59:13 -0700 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False X-Received: from orsmga006.jf.intel.com ([10.7.209.51]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 23 Apr 2019 21:59:12 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.60,388,1549958400"; d="scan'208";a="138312404" X-Received: from fieedk001.ccr.corp.intel.com ([10.239.33.119]) by orsmga006.jf.intel.com with ESMTP; 23 Apr 2019 21:59:11 -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 V2 8/8] MdeModulePkg/StatusCodeHandlerRuntimeDxe: Decrease the name collisions Date: Wed, 24 Apr 2019 12:58:27 +0800 Message-Id: <20190424045827.19348-9-zhichao.gao@intel.com> In-Reply-To: <20190424045827.19348-1-zhichao.gao@intel.com> References: <20190424045827.19348-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=1556081953; bh=A+iDZdIVd3f2pN+yy0YwhMz7yzQmirj+0D0SxtbTqZo=; h=Cc:Date:From:Reply-To:Subject:To; b=pzsp6lUcNQHoL1F9sd11EfHhP0WgLrYEMbdaDWaEOLsU9LIVDNFBMW1o5GnERVvlQ10 kmpNDoeERuZxZjd9cViOH0H75s2zU/2ImdibeIkya+63lZrgtGAt7/XN3eXUog8/aa9k3 JBMIOe0Yyel6qXh4eV84kZqq4smWp6f07Vs= 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' descriptor to the global variables that only used in a single file to minimize the name collisions. This is only for the varable 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 --- .../StatusCodeHandler/RuntimeDxe/StatusCodeHandlerRuntimeDxe.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCode= HandlerRuntimeDxe.c b/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/S= tatusCodeHandlerRuntimeDxe.c index 0d327d40e3..e22dae5736 100644 --- a/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandler= RuntimeDxe.c +++ b/MdeModulePkg/Universal/StatusCodeHandler/RuntimeDxe/StatusCodeHandler= RuntimeDxe.c @@ -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 (#39453): https://edk2.groups.io/g/devel/message/39453 Mute This Topic: https://groups.io/mt/31318893/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-