From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=192.55.52.93; helo=mga11.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga11.intel.com (mga11.intel.com [192.55.52.93]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C309F2194EB78 for ; Tue, 19 Feb 2019 01:07:40 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 19 Feb 2019 01:07:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.58,387,1544515200"; d="scan'208";a="276104512" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga004.jf.intel.com with ESMTP; 19 Feb 2019 01:07:39 -0800 Received: from fmsmsx117.amr.corp.intel.com (10.18.116.17) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 19 Feb 2019 01:07:39 -0800 Received: from shsmsx108.ccr.corp.intel.com (10.239.4.97) by fmsmsx117.amr.corp.intel.com (10.18.116.17) with Microsoft SMTP Server (TLS) id 14.3.408.0; Tue, 19 Feb 2019 01:07:39 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.102]) by SHSMSX108.ccr.corp.intel.com ([169.254.8.36]) with mapi id 14.03.0415.000; Tue, 19 Feb 2019 17:07:37 +0800 From: "Gao, Liming" To: "Feng, Bob C" , "edk2-devel@lists.01.org" Thread-Topic: [Patch] BaseTools: Add MaxSizeUserSet to Pcd deepcopy function Thread-Index: AQHUxgeb4R7ZIBozAEa2LHj4OYE2daXm2QxQ Date: Tue, 19 Feb 2019 09:07:37 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E3E16EE@SHSMSX104.ccr.corp.intel.com> References: <20190216145446.8392-1-bob.c.feng@intel.com> In-Reply-To: <20190216145446.8392-1-bob.c.feng@intel.com> Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] BaseTools: Add MaxSizeUserSet to Pcd deepcopy function X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 Feb 2019 09:07:41 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Liming Gao >-----Original Message----- >From: Feng, Bob C >Sent: Saturday, February 16, 2019 10:55 PM >To: edk2-devel@lists.01.org >Cc: Feng, Bob C ; Gao, Liming >Subject: [Patch] BaseTools: Add MaxSizeUserSet to Pcd deepcopy function > >MaxSizeUserSet is missing in Pcd deepcopy function. >This patch is to add it back to Pcd deepcopy function. > >Contributed-under: TianoCore Contribution Agreement 1.1 >Signed-off-by: Bob Feng >Cc: Liming Gao >--- > BaseTools/Source/Python/Workspace/BuildClassObject.py | 1 + > 1 file changed, 1 insertion(+) > >diff --git a/BaseTools/Source/Python/Workspace/BuildClassObject.py >b/BaseTools/Source/Python/Workspace/BuildClassObject.py >index 1df042f41c..d7ca9e8cf1 100644 >--- a/BaseTools/Source/Python/Workspace/BuildClassObject.py >+++ b/BaseTools/Source/Python/Workspace/BuildClassObject.py >@@ -220,10 +220,11 @@ class PcdClassObject(object): > new_pcd.Type =3D self.Type > new_pcd.DatumType =3D self.DatumType > new_pcd.DefaultValue =3D self.DefaultValue > new_pcd.TokenValue =3D self.TokenValue > new_pcd.MaxDatumSize =3D self.MaxDatumSize >+ new_pcd.MaxSizeUserSet =3D self.MaxSizeUserSet > > new_pcd.Phase =3D self.Phase > new_pcd.Pending =3D self.Pending > new_pcd.IsOverrided =3D self.IsOverrided > new_pcd.IsFromBinaryInf =3D self.IsFromBinaryInf >-- >2.18.0.windows.1