summaryrefslogtreecommitdiff
path: root/MdePkg/Include
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2007-11-27 02:48:59 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2007-11-27 02:48:59 +0000
commit24a7505cefd6dbb73bcdf2778f4e59095780aa50 (patch)
treef92f65cb99cbe387e0c38278f494b6e87082dec5 /MdePkg/Include
parentb74350e9562f0ad4400afdbc2a157d66f55fb113 (diff)
downloadedk2-24a7505cefd6dbb73bcdf2778f4e59095780aa50.zip
edk2-24a7505cefd6dbb73bcdf2778f4e59095780aa50.tar.gz
edk2-24a7505cefd6dbb73bcdf2778f4e59095780aa50.tar.bz2
Add FUNCTION_ENTRY_POINT macro
Update DxeDebugLibSerialPort to have a module type of BASE git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@4328 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg/Include')
-rw-r--r--MdePkg/Include/Ebc/ProcessorBind.h2
-rw-r--r--MdePkg/Include/Ia32/ProcessorBind.h2
-rw-r--r--MdePkg/Include/Ipf/ProcessorBind.h2
-rw-r--r--MdePkg/Include/x64/ProcessorBind.h2
4 files changed, 8 insertions, 0 deletions
diff --git a/MdePkg/Include/Ebc/ProcessorBind.h b/MdePkg/Include/Ebc/ProcessorBind.h
index 4333363..a550f42 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 5fdb550..b23b7a8 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 6faddab..9bce825 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 a401d23..bc24000 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