public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch] MdePkg: Declare _ReturnAddress() in Base.h for MSFT tool chain
@ 2017-07-05  5:57 Liming Gao
  2017-07-05  7:19 ` Zeng, Star
  0 siblings, 1 reply; 2+ messages in thread
From: Liming Gao @ 2017-07-05  5:57 UTC (permalink / raw)
  To: edk2-devel; +Cc: Michael Kinney

https://bugzilla.tianocore.org/show_bug.cgi?id=590

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Liming Gao <liming.gao@intel.com>
Cc: Michael Kinney <michael.d.kinney@intel.com>
---
 MdePkg/Include/Base.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/MdePkg/Include/Base.h b/MdePkg/Include/Base.h
index 21a603a..02140a5 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))
 
 #if defined(_MSC_EXTENSIONS) && !defined (__INTEL_COMPILER) && !defined (MDE_CPU_EBC)
+  void * _ReturnAddress(void);
   #pragma intrinsic(_ReturnAddress)
   /**
     Get the return address of the calling function.
-- 
2.8.0.windows.1



^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-07-05  7:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-07-05  5:57 [Patch] MdePkg: Declare _ReturnAddress() in Base.h for MSFT tool chain Liming Gao
2017-07-05  7:19 ` Zeng, Star

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox