diff options
Diffstat (limited to 'MdePkg/Include')
-rw-r--r-- | MdePkg/Include/Ebc/ProcessorBind.h | 2 | ||||
-rw-r--r-- | MdePkg/Include/Ia32/ProcessorBind.h | 2 | ||||
-rw-r--r-- | MdePkg/Include/Ipf/ProcessorBind.h | 2 | ||||
-rw-r--r-- | MdePkg/Include/x64/ProcessorBind.h | 2 |
4 files changed, 8 insertions, 0 deletions
diff --git a/MdePkg/Include/Ebc/ProcessorBind.h b/MdePkg/Include/Ebc/ProcessorBind.h index 433336347c..a550f42bd3 100644 --- a/MdePkg/Include/Ebc/ProcessorBind.h +++ b/MdePkg/Include/Ebc/ProcessorBind.h @@ -79,5 +79,7 @@ typedef unsigned long UINTN; //
#define GLOBAL_REMOVE_IF_UNREFERENCED
+#define FUNCTION_ENTRY_POINT(p) (p)
+
#endif
diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h index 5fdb55077b..b23b7a86f8 100644 --- a/MdePkg/Include/Ia32/ProcessorBind.h +++ b/MdePkg/Include/Ia32/ProcessorBind.h @@ -200,5 +200,7 @@ typedef INT32 INTN; #define ASM_PFX(name) _##name
#endif
+#define FUNCTION_ENTRY_POINT(p) (p)
+
#endif
diff --git a/MdePkg/Include/Ipf/ProcessorBind.h b/MdePkg/Include/Ipf/ProcessorBind.h index 6faddab555..9bce825cbe 100644 --- a/MdePkg/Include/Ipf/ProcessorBind.h +++ b/MdePkg/Include/Ipf/ProcessorBind.h @@ -235,5 +235,7 @@ typedef struct { UINT64 r11;
} PAL_CALL_RETURN;
+#define FUNCTION_ENTRY_POINT(p) (((EFI_PLABEL *)(p))->EntryPoint)
+
#endif
diff --git a/MdePkg/Include/x64/ProcessorBind.h b/MdePkg/Include/x64/ProcessorBind.h index a401d23f26..bc240000a4 100644 --- a/MdePkg/Include/x64/ProcessorBind.h +++ b/MdePkg/Include/x64/ProcessorBind.h @@ -232,5 +232,7 @@ typedef INT64 INTN; #define ASM_PFX(name) _##name
#endif
+#define FUNCTION_ENTRY_POINT(p) (p)
+
#endif
|