From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga05.intel.com (mga05.intel.com [192.55.52.43]) (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 2A43321A07AB5 for ; Wed, 5 Jul 2017 00:17:38 -0700 (PDT) Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga105.fm.intel.com with ESMTP; 05 Jul 2017 00:19:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.40,310,1496127600"; d="scan'208";a="107183843" Received: from fmsmsx104.amr.corp.intel.com ([10.18.124.202]) by orsmga002.jf.intel.com with ESMTP; 05 Jul 2017 00:19:16 -0700 Received: from fmsmsx124.amr.corp.intel.com (10.18.125.39) by fmsmsx104.amr.corp.intel.com (10.18.124.202) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 5 Jul 2017 00:19:16 -0700 Received: from shsmsx151.ccr.corp.intel.com (10.239.6.50) by fmsmsx124.amr.corp.intel.com (10.18.125.39) with Microsoft SMTP Server (TLS) id 14.3.319.2; Wed, 5 Jul 2017 00:19:16 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.146]) by SHSMSX151.ccr.corp.intel.com ([169.254.3.56]) with mapi id 14.03.0319.002; Wed, 5 Jul 2017 15:19:12 +0800 From: "Zeng, Star" To: "Gao, Liming" , "edk2-devel@lists.01.org" CC: "Kinney, Michael D" , "Zeng, Star" Thread-Topic: [edk2] [Patch] MdePkg: Declare _ReturnAddress() in Base.h for MSFT tool chain Thread-Index: AQHS9VOz4/vU7qpItEa+r1/q0emC+6JE0z/g Date: Wed, 5 Jul 2017 07:19:12 +0000 Message-ID: <0C09AFA07DD0434D9E2A0C6AEB0483103B8F175E@shsmsx102.ccr.corp.intel.com> References: <1499234245-6968-1-git-send-email-liming.gao@intel.com> In-Reply-To: <1499234245-6968-1-git-send-email-liming.gao@intel.com> Accept-Language: zh-CN, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-version: 10.0.102.7 dlp-reaction: no-action x-originating-ip: [10.239.127.40] MIME-Version: 1.0 Subject: Re: [Patch] MdePkg: Declare _ReturnAddress() in Base.h for MSFT tool chain 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: Wed, 05 Jul 2017 07:17:38 -0000 Content-Language: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Reviewed-by: Star Zeng -----Original Message----- From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Limi= ng Gao Sent: Wednesday, July 5, 2017 1:57 PM To: edk2-devel@lists.01.org Cc: Kinney, Michael D Subject: [edk2] [Patch] MdePkg: Declare _ReturnAddress() in Base.h for MSFT= tool chain https://bugzilla.tianocore.org/show_bug.cgi?id=3D590 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Liming Gao Cc: Michael Kinney --- MdePkg/Include/Base.h | 1 + 1 file changed, 1 insertion(+) diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h index 21a603a..0= 2140a5 100644 --- a/MdePkg/Include/Base.h +++ b/MdePkg/Include/Base.h @@ -1213,6 +1213,7 @@ typedef UINTN RETURN_STATUS; (SIGNATURE_32 (A, B, C, D) | ((UINT64) (SIGNATURE_32 (E, F, G, H)) << = 32)) =20 #if defined(_MSC_EXTENSIONS) && !defined (__INTEL_COMPILER) && !defined (M= DE_CPU_EBC) + void * _ReturnAddress(void); #pragma intrinsic(_ReturnAddress) /** Get the return address of the calling function. -- 2.8.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel