]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.c
Remove UefiHiiLib & UefiIfrSupportLib. They have been moved to MdeModulePkg.
[mirror_edk2.git] / MdePkg / Library / DxeCoreEntryPoint / DxeCoreEntryPoint.c
index a6f04dfe2fdd419dd18de752a9d148c644459310..d9c93bdf761fde9934f39397991f799a5b547c7a 100644 (file)
@@ -12,6 +12,14 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 **/\r
 \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
 // \r
@@ -20,6 +28,22 @@ VOID *gHobList = NULL;
 /**\r
   Enrty point to DXE core.\r
 \r
+  This function is the entry point to the DXE Foundation. The PEI phase, which executes just before\r
+  DXE, is responsible for loading and invoking the DXE Foundation in system memory. The only\r
+  parameter that is passed to the DXE Foundation is HobStart. This parameter is a pointer to the\r
+  HOB list that describes the system state at the hand-off to the DXE Foundation. At a minimum,\r
+  this system state must include the following:\r
+    - PHIT HOB\r
+    - CPU HOB\r
+    - Description of system memory\r
+    - Description of one or more firmware volumes\r
+  The DXE Foundation is also guaranteed that only one processor is running and that the processor is\r
+  running with interrupts disabled. The implementation of the DXE Foundation must not make any\r
+  assumptions about where the DXE Foundation will be loaded or where the stack is located. In\r
+  general, the DXE Foundation should make as few assumptions about the state of the system as\r
+  possible. This lack of assumptions will allow the DXE Foundation to be portable to the widest\r
+  variety of system architectures.\r
+  \r
   @param  HobStart Pointer of HobList.\r
 \r
 **/\r