diff options
Diffstat (limited to 'MdePkg/Include/Ia32/ProcessorBind.h')
-rw-r--r-- | MdePkg/Include/Ia32/ProcessorBind.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/MdePkg/Include/Ia32/ProcessorBind.h b/MdePkg/Include/Ia32/ProcessorBind.h index c452e62f32..c3ca840242 100644 --- a/MdePkg/Include/Ia32/ProcessorBind.h +++ b/MdePkg/Include/Ia32/ProcessorBind.h @@ -209,6 +209,15 @@ typedef INT32 INTN; #endif
#endif
+/**
+ Return the pointer to the first instruction of a function given a function pointer.
+ On IA32 CPU architectures, these two pointer values are the same,
+ so the implementation of this macro is very simple.
+
+ @param p A pointer to a function
+
+ @return The pointer to the first instruction of a function given a function pointer.
+**/
#define FUNCTION_ENTRY_POINT(p) (p)
#endif
|