diff options
-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 | ||||
-rw-r--r-- | MdePkg/Library/DxeDebugLibSerialPort/DxeDebugLibSerialPort.inf | 2 |
5 files changed, 9 insertions, 1 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
diff --git a/MdePkg/Library/DxeDebugLibSerialPort/DxeDebugLibSerialPort.inf b/MdePkg/Library/DxeDebugLibSerialPort/DxeDebugLibSerialPort.inf index a4d6f2b23a..be9f1b91ce 100644 --- a/MdePkg/Library/DxeDebugLibSerialPort/DxeDebugLibSerialPort.inf +++ b/MdePkg/Library/DxeDebugLibSerialPort/DxeDebugLibSerialPort.inf @@ -18,7 +18,7 @@ INF_VERSION = 0x00010005
BASE_NAME = DxeDebugLibSerialPort
FILE_GUID = BB83F95F-EDBC-4884-A520-CD42AF388FAE
- MODULE_TYPE = DXE_DRIVER
+ MODULE_TYPE = BASE
VERSION_STRING = 1.0
LIBRARY_CLASS = DebugLib
EDK_RELEASE_VERSION = 0x00020000
|