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.15; helo=m13-15.163.com; envelope-from=sssky307@163.com; receiver=edk2-devel@lists.01.org Received: from m13-15.163.com (m13-15.163.com [220.181.13.15]) by ml01.01.org (Postfix) with ESMTP id CD5FA221DB284 for ; Sun, 31 Dec 2017 00:43:22 -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=0E4zj lYsu5dt3wu3ecSdHNtB7LxcnXTyki5I16XK3cs=; b=oXyrqifrfLfMHv/2P5Get wgdd2IuT09bZiaZnfxhPc3+2kAjU+v8X/KNZQWnl4DZ+uJ6Q0A1A/+YbWDn4eiDv yZhhJ+S98/XldhDL0kRL88cOaasEkGUJCDTiR8MgANJ+1D+SdqlBULlv+4y9ekE2 tm+vM5/uBT/ngav6GZIkSE= Received: from sssky307$163.com ( [117.136.12.162] ) by ajax-webmail-wmsvr15 (Coremail) ; Sun, 31 Dec 2017 16:47:50 +0800 (CST) X-Originating-IP: [117.136.12.162] Date: Sun, 31 Dec 2017 16:47:50 +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: <4A89E2EF3DFEDB4C8BFDE51014F606A14E19B367@SHSMSX104.ccr.corp.intel.com> References: <2382af2.ac98.160543fea54.Coremail.sssky307@163.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E1923CC@SHSMSX104.ccr.corp.intel.com> <3f626e94.ac28.1609c7ff3a7.Coremail.sssky307@163.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E19B367@SHSMSX104.ccr.corp.intel.com> MIME-Version: 1.0 Message-ID: <40eff7e9.22d9.160abc175ec.Coremail.sssky307@163.com> X-Coremail-Locale: zh_CN X-CM-TRANSID: D8GowAC3v0M3pEhaUEwsAA--.52040W X-CM-SenderInfo: 5vvvy5qtqxqiywtou0bp/xtbBFAO-rVaDufwe4AABsq 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: Sun, 31 Dec 2017 08:43:24 -0000 Content-Type: text/plain; charset=GBK Content-Transfer-Encoding: base64 CgpZZXMsIEkgaGFkIHRyaWVkIHBhc3MsSSB0aGluayB1c2luZyBub24tRXgtUGNkIHdpbGwgZW5v dWd0aCBhdCBtb3N0IG9mIHRpbWUsIHRoZSBFeFBjZCBpcyBub3QgYSBnb29kIGlkZWEuCnRoYW5r IHlvdSEuCgoKMSxEeW5hbWljRXggUENEIGlzIGRlZmluZWQgaW4gREVDIFtQY2RzRHluYW1pY0V4 XQoyLCByZWZlcmVuY2VkIGluIERTQyBbUGNkc0R5bmFtaWNFeERlZmF1bHRdCjMsbGlzdGVkIGlu IGRyaXZlcidzIGluZiBbUGNkRXhdCjQsdXNpbmcgZm9ybWF0IFBjZEdldEV4MTYoJmdFZmlNZGVQ a2dUb2tlblNwYWNlR3VpZCxteUV4UGNkU2FtcGxlKTsKLy9kbyBub3QgbmVlZCB0aGUgIFBjZFRv a2VuKCksdG8gd3JhcCBteUV4UGNkU2FtcGxlOwoKCgoKCgomIzY1NTMzOyYjNjU1MzM7IDIwMTct MTItMjkgMjM6MjY6NDEmIzY1NTMzOyYjNjU1MzM7IkdhbywgTGltaW5nIiA8bGltaW5nLmdhb0Bp bnRlbC5jb20+IKfVJiM2NTUzMzsmIzY1NTMzOyYjNjU1MzM7JiM2NTUzMzsKCgpUaGUgbWVzc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