\r
**/\r
\r
-//\r
-// Include common header file for this module.\r
-//\r
-#include "CommonHeader.h"\r
+\r
+#include <PiDxe.h>\r
+\r
+\r
+#include <Library/DxeCoreEntryPoint.h>\r
+#include <Library/DebugLib.h>\r
+#include <Library/BaseLib.h>\r
\r
//\r
// Cache copy of HobList pointer. \r
VOID *gHobList = NULL;\r
\r
/**\r
- Enrty point to DXE core.\r
+ The entry point of PE/COFF Image for the DXE Core. \r
+\r
+ This function is the entry point for the DXE Core. This function is required\r
+ to call ProcessModuleEntryPointList() and ProcessModuleEntryPointList() is never\r
+ expected to return. The DXE Core is responsible for calling ProcessLibraryConstructorList()\r
+ as soon as the EFI System Table and the image handle for the DXE Core itself have\r
+ been established.\r
+ If ProcessModuleEntryPointList() returns, then ASSERT() and halt the system.\r
\r
- @param HobStart Pointer of HobList.\r
+ @param HobStart Pointer to the beginning of the HOB List passed in from the PEI Phase. \r
\r
**/\r
VOID\r
\r
\r
/**\r
- Wrapper of enrty point to DXE CORE.\r
+ Required by the EBC compiler and identical in functionality to _ModuleEntryPoint().\r
+\r
+ This function is required to call _ModuleEntryPoint() passing in HobStart.\r
\r
- @param HobStart Pointer of HobList.\r
+ @param HobStart Pointer to the beginning of the HOB List passed in from the PEI Phase. \r
\r
**/\r
VOID\r