From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=134.134.136.65; helo=mga03.intel.com; envelope-from=star.zeng@intel.com; receiver=edk2-devel@lists.01.org Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (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 CB92221A1099A for ; Sun, 26 Nov 2017 18:01:52 -0800 (PST) Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga103.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Nov 2017 18:06:13 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,462,1505804400"; d="scan'208";a="180460648" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga005.fm.intel.com with ESMTP; 26 Nov 2017 18:06:13 -0800 Received: from fmsmsx116.amr.corp.intel.com (10.18.116.20) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 26 Nov 2017 18:06:13 -0800 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx116.amr.corp.intel.com (10.18.116.20) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 26 Nov 2017 18:06:12 -0800 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.175]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.152]) with mapi id 14.03.0319.002; Mon, 27 Nov 2017 10:06:09 +0800 From: "Zeng, Star" To: Heyi Guo , "edk2-devel@lists.01.org" , "Gao, Liming" CC: "Carsey, Jaben" , Daryl McDaniel , "Zeng, Star" Thread-Topic: [edk2] [RFC] Add EFI lock when creating new gauge record Thread-Index: AQHTZPKS3btxLQBCf0CN2pHam8+LLqMjQrQAgAEHnICAAzPvUA== Date: Mon, 27 Nov 2017 02:06:08 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B9BC210@shsmsx102.ccr.corp.intel.com> References: <6c7964be-bc2b-3ee4-e09e-c309fec7210f@linaro.org> <0C09AFA07DD0434D9E2A0C6AEB0483103B9BBCD9@shsmsx102.ccr.corp.intel.com> In-Reply-To: Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [RFC] Add EFI lock when creating new gauge record X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Nov 2017 02:01:53 -0000 Content-Language: en-US Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SSBhbSBvayB3aXRoIHRoZSBhcHByb2FjaC4NCg0KSWYgbm8gY29tbWVudCBmcm9tIG90aGVycywg SSB0aGluayB5b3UgY2FuIHBvc3QgdGhlIHBhdGNoIGZvciBjb2RlIHJldmlldy4NCg0KTGltaW5n LCBkbyB5b3UgaGF2ZSBhbnkgY29tbWVudD8gOikNCg0KDQpUaGFua3MsDQpTdGFyDQotLS0tLU9y aWdpbmFsIE1lc3NhZ2UtLS0tLQ0KRnJvbTogSGV5aSBHdW8gW21haWx0bzpoZXlpLmd1b0BsaW5h cm8ub3JnXSANClNlbnQ6IFNhdHVyZGF5LCBOb3ZlbWJlciAyNSwgMjAxNyA1OjEwIFBNDQpUbzog WmVuZywgU3RhciA8c3Rhci56ZW5nQGludGVsLmNvbT47IGVkazItZGV2ZWxAbGlzdHMuMDEub3Jn DQpDYzogQ2Fyc2V5LCBKYWJlbiA8amFiZW4uY2Fyc2V5QGludGVsLmNvbT47IERhcnlsIE1jRGFu aWVsIDxlZGsyLWxpc3RzQG1jMnJlc2VhcmNoLm9yZz47IEdhbywgTGltaW5nIDxsaW1pbmcuZ2Fv QGludGVsLmNvbT4NClN1YmplY3Q6IFJlOiBbZW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