]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/UefiApplicationEntryPoint.h
Code have been checked with spec
[mirror_edk2.git] / MdePkg / Include / Library / UefiApplicationEntryPoint.h
index 9497f9a1621f0d5abeec2814e6e0a37ee5b49bf1..5fe4be2a8f6694009e5467cbe623019fdbb86be9 100644 (file)
@@ -66,7 +66,7 @@ EfiMain (
 \r
 \r
 /**\r
-  Invokes the library destructors fror all dependent libraries and terminates\r
+  Invokes the library destructors for all dependent libraries and terminates\r
   the UEFI Application. \r
 \r
   This function calls ProcessLibraryDestructorList() and the EFI Boot Service Exit()\r
@@ -111,7 +111,7 @@ ProcessLibraryConstructorList (
   Autogenerated function that calls the library descructors for all of the module's\r
   dependent libraries.\r
 \r
-  This function may be called by _ModuleEntryPoint()or ExitDriver().\r
+  This function may be called by _ModuleEntryPoint()or Exit().\r
   This function calls the set of library destructors for the set of library instances\r
   that a module depends on.  This includes library instances that a module depends on\r
   directly and library instances that a module depends on indirectly through other libraries.  \r
@@ -132,12 +132,13 @@ ProcessLibraryDestructorList (
   );\r
 \r
 /**\r
-  Call driver entry point. For UEFI application, user\r
-  can only specify one entry point. Tool will automatically insert\r
-  this to Autogen.c.\r
+  This function calls the set of module entry points. It must be called by _ModuleEntryPoint().\r
 \r
-  @param  ImageHandle ImageHandle of the loaded driver.\r
-  @param  SystemTable Pointer to the EFI System Table.\r
+  This function is autogenerated by build tools and those build tools are \r
+  responsible for collecting the module entry points and calling them in a specified order.\r
+\r
+  @param  ImageHandle    The image handle of the UEFI Application.\r
+  @param  SystemTable    A pointer to the EFI System Table.\r
 \r
   @retval  EFI_SUCCESS   The UEFI Application executed normally.\r
   @retval  !EFI_SUCCESS  The UEFI Application failed to execute normally.\r