From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=220.181.13.89; helo=m13-89.163.com; envelope-from=sssky307@163.com; receiver=edk2-devel@lists.01.org Received: from m13-89.163.com (m13-89.163.com [220.181.13.89]) by ml01.01.org (Postfix) with ESMTP id E1109221DB28D for ; Thu, 28 Dec 2017 01:37:16 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=163.com; s=s110527; h=Date:From:Subject:MIME-Version:Message-ID; bh=9X8OI 7TD68WFJnATCnIrhZUS9SFtuS2eQKr/f5+WNc4=; b=hmynpEqZU2JZ794/pqiv9 09nGDaUd97LLFwFNu3pSJ5yrYrktV5darW/AIG0U6gsSuqB4YEUfBRXi9kdFgn9c 3icswW7ll7voX3CkWBgohMX2OAmG1bECkyAx067lW9IFc0l6EyZiR9UCr23JyTKw 5WfQR+65w5+YB5EWQ4hPH8= Received: from sssky307$163.com ( [47.74.39.13] ) by ajax-webmail-wmsvr89 (Coremail) ; Thu, 28 Dec 2017 17:41:59 +0800 (CST) X-Originating-IP: [47.74.39.13] Date: Thu, 28 Dec 2017 17:41:59 +0800 (CST) From: krishnaLee To: "Gao, Liming" Cc: "Andrew Fish" , "edk2-devel@lists.01.org" X-Priority: 3 X-Mailer: Coremail Webmail Server Version SP_ntes V3.5 build 20160729(86883.8884) Copyright (c) 2002-2017 www.mailtech.cn 163com In-Reply-To: <4A89E2EF3DFEDB4C8BFDE51014F606A14E1923CC@SHSMSX104.ccr.corp.intel.com> References: <2382af2.ac98.160543fea54.Coremail.sssky307@163.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E1923CC@SHSMSX104.ccr.corp.intel.com> MIME-Version: 1.0 Message-ID: <3f626e94.ac28.1609c7ff3a7.Coremail.sssky307@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: WcGowABHm+hnvERaLMg2AA--.46751W X-CM-SenderInfo: 5vvvy5qtqxqiywtou0bp/xtbBFAy8rVaDudTQSAABso X-Coremail-Antispam: 1U5529EdanIXcx71UUUUU7vcSsGvfC2KfnxnUU== X-Content-Filtered-By: Mailman/MimeDel 2.1.23 Subject: Re: How to using PcdGetEx to change a PCD. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Dec 2017 09:37:19 -0000 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 CgpIaSxMaW1pbmcgYW5kIEFuZHJldyBGaXNoLApJIG1vZGlmaWVkIGFzIHlvdXIgZGVzY3JpcHRp b24sYW5kIG1vdmUgdGhlIHBjZCB0byBbUGNkRXhdIGluIGluZiBmaWxlLGJ1dCBjb21waWxlIGZh aWwsdGhlIGVycm9yIGlzIHR5cGUtTWlzbWF0Y2hlZCxJIHVuZGVyc3RhbmQgbm93LHNvIHRoaXMg cGNkIGlzIG5vdCBFeC1QY2QuCkFzICBBbmRyZXcgRmlzaCBzYWlkOiJJZiBkaWZmZXJlbnQgYmlu YXJpZXMgdGhhdCBnb3QgY29tcGlsZWQgaW4gZGlmZmVyZW50IHBsYWNlcyBuZWVkIHRvIHdvcmsg dG9nZXRoZXIgdGhlbiB0aGUgRXggZm9ybSBpcyByZXF1aXJlZC4iCkRvZXMgaXQgbWVhbiAsZm9y IGV4YW1wbGUgLHRoZSBiaW9zX3JvbSB3aWxsIGZpbmFsbHkgY29udGFpb24gYm90aCBFeCBhbmQg bm9uX0V4IFBDRHMsYW5kIFBDRF9kcml2ZXIgd2lsbCBwdWJsaXNoIHRoZSBpbnRlcmZhY2UgdG8g YWNjZXNzLHNvIG90aGVyIG1vZHVsZSBmb3IgZXhhbWVwbGUgYSBlZmlfYXBwbGljYXRpb24gYWNj ZXNzClBjZHMgY2FuIHVzaW5nIFBjZEdldEV4IGZ1bmN0aW9uIHRvIGFjY2VzcyBwY2RzKHR5cGUg bXVzdCB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