summaryrefslogtreecommitdiff
path: root/MdePkg/Include/Ipf
diff options
context:
space:
mode:
authorJordan Justen <jordan.l.justen@intel.com>2014-09-01 17:23:10 +0000
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>2014-09-01 17:23:10 +0000
commit02eef553114dea1e4d55071e91398a0625e4e18c (patch)
treeb06b4ff8b471931a3596d01b171c9fe18dc41e84 /MdePkg/Include/Ipf
parentb3f9cdaebb8a136c0ff8add4291a8b77dbf4721a (diff)
downloadedk2-platforms-02eef553114dea1e4d55071e91398a0625e4e18c.tar.xz
MdePkg Base.h: Always define ASM_PFX
Some compilers may define __USER_LABEL_PREFIX__ to determine the prefix used with ASM_PFX. Otherwise, IA32 will use a single underscore '_' character, and all other architectures will use an empty prefix. Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Liming Gao <liming.gao@intel.com> git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@16019 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include/Ipf')
-rw-r--r--MdePkg/Include/Ipf/ProcessorBind.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/MdePkg/Include/Ipf/ProcessorBind.h b/MdePkg/Include/Ipf/ProcessorBind.h
index a40ecd71e5..cead575262 100644
--- a/MdePkg/Include/Ipf/ProcessorBind.h
+++ b/MdePkg/Include/Ipf/ProcessorBind.h
@@ -305,5 +305,9 @@ typedef struct {
**/
#define FUNCTION_ENTRY_POINT(FunctionPointer) (VOID *)(UINTN)(((EFI_PLABEL *)(FunctionPointer))->EntryPoint)
+#ifndef __USER_LABEL_PREFIX__
+#define __USER_LABEL_PREFIX__
+#endif
+
#endif