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.31; helo=mga06.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga06.intel.com (mga06.intel.com [134.134.136.31]) (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 9681421A1097D for ; Sun, 26 Nov 2017 22:54:19 -0800 (PST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga104.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Nov 2017 22:58:40 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.44,463,1505804400"; d="scan'208";a="9965469" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga001.jf.intel.com with ESMTP; 26 Nov 2017 22:58:39 -0800 Received: from FMSMSX110.amr.corp.intel.com (10.18.116.10) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 26 Nov 2017 22:58:38 -0800 Received: from shsmsx103.ccr.corp.intel.com (10.239.4.69) by fmsmsx110.amr.corp.intel.com (10.18.116.10) with Microsoft SMTP Server (TLS) id 14.3.319.2; Sun, 26 Nov 2017 22:58:38 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by SHSMSX103.ccr.corp.intel.com ([169.254.4.213]) with mapi id 14.03.0319.002; Mon, 27 Nov 2017 14:58:36 +0800 From: "Gao, Liming" To: Heyi Guo , "Zeng, Star" , "edk2-devel@lists.01.org" CC: "Carsey, Jaben" , Daryl McDaniel Thread-Topic: [edk2] [RFC] Add EFI lock when creating new gauge record Thread-Index: AQHTZPKgJLs6+tSer0OzpFSseTX9D6MiwPCAgAGJX4CAA4TSoA== Date: Mon, 27 Nov 2017 06:58:35 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E183982@SHSMSX104.ccr.corp.intel.com> References: <6c7964be-bc2b-3ee4-e09e-c309fec7210f@linaro.org> <0C09AFA07DD0434D9E2A0C6AEB0483103B9BBCD9@shsmsx102.ccr.corp.intel.com> In-Reply-To: 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: [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 06:54:19 -0000 Content-Language: en-US Content-Type: text/plain; charset="gb2312" Content-Transfer-Encoding: base64 SGV5aToNCiAgSSBhZ3JlZSB5b3VyIGZpeC4gSXRzIGltcGFjdCBpcyBhY2NlcHRhYmxlLiANCg0K VGhhbmtzDQpMaW1pbmcNCj4tLS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPkZyb206IEhleWkg R3VvIFttYWlsdG86aGV5aS5ndW9AbGluYXJvLm9yZ10NCj5TZW50OiBTYXR1cmRheSwgTm92ZW1i ZXIgMjUsIDIwMTcgNToxMCBQTQ0KPlRvOiBaZW5nLCBTdGFyIDxzdGFyLnplbmdAaW50ZWwuY29t PjsgZWRrMi1kZXZlbEBsaXN0cy4wMS5vcmcNCj5DYzogQ2Fyc2V5LCBKYWJlbiA8amFiZW4uY2Fy c2V5QGludGVsLmNvbT47IERhcnlsIE1jRGFuaWVsIDxlZGsyLQ0KPmxpc3RzQG1jMnJlc2VhcmNo Lm9yZz47IEdhbywgTGltaW5nIDxsaW1pbmcuZ2FvQGludGVsLmNvbT4NCj5TdWJqZWN0OiBSZTog W2VkazJdIFtSRkNdIEFkZCBFRkkgbG9jayB3aGVuIGNyZWF0aW5nIG5ldyBnYXVnZSByZWNvcmQN Cj4NCj5IaSBTdGFyLA0KPg0KPlNvcnJ5IHRvIG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