From 14996c966991de1127fc2d6af8a08df47167b4ab Mon Sep 17 00:00:00 2001 From: lgao4 Date: Thu, 4 Dec 2008 08:35:07 +0000 Subject: Correct Minor Comments in M3 to M4 review. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6842 6f19259b-4bc3-4df7-8a09-765794883524 --- MdePkg/Include/Ebc/ProcessorBind.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'MdePkg/Include/Ebc') diff --git a/MdePkg/Include/Ebc/ProcessorBind.h b/MdePkg/Include/Ebc/ProcessorBind.h index 2e254ff..7c10230 100644 --- a/MdePkg/Include/Ebc/ProcessorBind.h +++ b/MdePkg/Include/Ebc/ProcessorBind.h @@ -79,6 +79,15 @@ typedef unsigned long UINTN; /// #define GLOBAL_REMOVE_IF_UNREFERENCED +/** + Return the pointer to the first instruction of a function given a function pointer. + On EBC 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 -- cgit v1.1