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.88; helo=mga01.intel.com; envelope-from=liming.gao@intel.com; receiver=edk2-devel@lists.01.org Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) (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 36E332034B411 for ; Tue, 26 Dec 2017 08:47:08 -0800 (PST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga101.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 26 Dec 2017 08:52:02 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.45,460,1508828400"; d="scan'208,217";a="5582259" Received: from fmsmsx108.amr.corp.intel.com ([10.18.124.206]) by orsmga007.jf.intel.com with ESMTP; 26 Dec 2017 08:52:01 -0800 Received: from fmsmsx158.amr.corp.intel.com (10.18.116.75) by FMSMSX108.amr.corp.intel.com (10.18.124.206) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 26 Dec 2017 08:52:01 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by fmsmsx158.amr.corp.intel.com (10.18.116.75) with Microsoft SMTP Server (TLS) id 14.3.319.2; Tue, 26 Dec 2017 08:52:01 -0800 Received: from shsmsx104.ccr.corp.intel.com ([169.254.5.152]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.93]) with mapi id 14.03.0319.002; Wed, 27 Dec 2017 00:51:59 +0800 From: "Gao, Liming" To: Michael Zimmermann CC: Ard Biesheuvel , "edk2-devel@lists.01.org" , "Kinney, Michael D" Thread-Topic: [edk2] [PATCH 1/3] MdePkg: add RETURNS_TWICE attribute Thread-Index: AQHTevXXqIi81cE1JUq6LD+Vx7lg0qNO9cGAgARwBJCAAE5eAIACKSGw Date: Tue, 26 Dec 2017 16:51:58 +0000 Message-ID: <4A89E2EF3DFEDB4C8BFDE51014F606A14E198BE9@SHSMSX104.ccr.corp.intel.com> References: <20171222072336.23504-1-sigmaepsilon92@gmail.com> <20171222072336.23504-2-sigmaepsilon92@gmail.com> <4A89E2EF3DFEDB4C8BFDE51014F606A14E1961C7@SHSMSX104.ccr.corp.intel.com> In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 11.0.0.116 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 Subject: Re: [PATCH 1/3] MdePkg: add RETURNS_TWICE attribute 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: Tue, 26 Dec 2017 16:47:08 -0000 Content-Language: en-US Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 TWljaGFlbDoNCiAgSSBzdWdnZXN0IHRvIGFkZCBjb21tZW50cyBmb3IgZWFjaCBkZWZpbml0aW9u IGFsdGhvdWdoIHRoZXJlIGlzIHJlZHVuZGFudC4NCg0KICBCZXNpZGVzLCBhZnRlciBJIGFwcGx5 IHRoZXNlIHRocmVlIHBhdGNoZXMsIGFuZCBidWlsZCBNZGVQa2cuZHNjIHdpdGggVlMyMDE1eDg2 LiBJdCB3aWxsIHJlcG9ydCBiZWxvdyBlcnJvci4gQ291bGQgeW91IGhlbHAgbG9vayBpdD8NCg0K ICAgICAgICAiQzpcUHJvZ3JhbSBGaWxlcyAoeDg2KVxNaWNyb3NvZnQgVmlzdWFsIFN0dWRpbyAx NC4wXFZjXGJpblxjbC5leGUiIC9Gb2M6XHI5dGlwc1xhbGxwa2dcZWRrMlxCdWlsZFxNZGVcREVC VUdfVlMyMDE1eDg2XElBMzJcTWRlUGtnXExpYnJhcn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