]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Library/UefiApplicationEntryPoint/ApplicationEntryPoint.c
Update UefiDriverEntryPoint library by adding BaseLib library class required by AutoG...
[mirror_edk2.git] / MdePkg / Library / UefiApplicationEntryPoint / ApplicationEntryPoint.c
index da1067404d22845680f7f2915a30426cdf268b55..dc05b23fd823a26abe298f2d26ecdf1aab838b7b 100644 (file)
@@ -1,11 +1,11 @@
 /** @file\r
   Entry point library instance to a UEFI application.\r
 \r
-Copyright (c) 2007, Intel Corporation<BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2007 - 2010, Intel Corporation. All rights reserved.<BR>\r
+This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
-http://opensource.org/licenses/bsd-license.php\r
+http://opensource.org/licenses/bsd-license.php.\r
 \r
 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
@@ -14,11 +14,13 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 \r
 #include <Uefi.h>\r
 #include <Library/UefiApplicationEntryPoint.h>\r
+#include <Library/BaseLib.h>\r
+#include <Library/DebugLib.h>\r
 #include <Library/UefiBootServicesTableLib.h>\r
 \r
 \r
 /**\r
-  Enrty point to UEFI Application.\r
+  Entry point to UEFI Application.\r
 \r
   This function is the entry point for a UEFI Application. This function must call\r
   ProcessLibraryConstructorList(), ProcessModuleEntryPointList(), and ProcessLibraryDestructorList().\r
@@ -26,8 +28,8 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
   If _gUefiDriverRevision is not zero and SystemTable->Hdr.Revision is less than _gUefiDriverRevison,\r
   then return EFI_INCOMPATIBLE_VERSION.\r
 \r
-  @param  ImageHandle  The image handle of the UEFI Application.\r
-  @param  SystemTable  A pointer to the EFI System Table.\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 exited normally.\r
   @retval  EFI_INCOMPATIBLE_VERSION  _gUefiDriverRevision is greater than SystemTable->Hdr.Revision.\r
@@ -75,7 +77,7 @@ _ModuleEntryPoint (
 \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