summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-19 04:01:41 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2006-12-19 04:01:41 +0000
commitc529b1250b7cbbe02b9fa64a4cedee023c32d54c (patch)
tree03da783bfcfc9bfedc6d0f10b064d867dcc18107
parenta72074803468da9503582876668d9a3abef42878 (diff)
downloadedk2-c529b1250b7cbbe02b9fa64a4cedee023c32d54c.zip
edk2-c529b1250b7cbbe02b9fa64a4cedee023c32d54c.tar.gz
edk2-c529b1250b7cbbe02b9fa64a4cedee023c32d54c.tar.bz2
Add GLOBAL_FUNCTION macro for Itanium
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@2116 6f19259b-4bc3-4df7-8a09-765794883524
-rw-r--r--MdePkg/Include/Ipf/IpfMacro.i3
1 files changed, 3 insertions, 0 deletions
diff --git a/MdePkg/Include/Ipf/IpfMacro.i b/MdePkg/Include/Ipf/IpfMacro.i
index 506b4b3..86fd3c1 100644
--- a/MdePkg/Include/Ipf/IpfMacro.i
+++ b/MdePkg/Include/Ipf/IpfMacro.i
@@ -41,6 +41,9 @@ name::
mov ar##.##pfs=loc1 ;;\
br##.##ret##.##dpnt b0;;
+#define GLOBAL_FUNCTION(Function) \
+ .##type Function, @function; \
+ .##global Function
#define INTERRUPT_HANDLER_BEGIN(name) \
PROCEDURE_ENTRY(name##HandlerBegin) \