]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/PeiCoreEntryPoint.h
MdePkg/BaseLib: Add safe string functions that convert str to value
[mirror_edk2.git] / MdePkg / Include / Library / PeiCoreEntryPoint.h
index 42ba464fbec2cd058a709114b1847637a456ceaa..7485f7a40e98cfde9ee9bdc78891142afc7c49c2 100644 (file)
@@ -1,8 +1,8 @@
 /** @file\r
   Module entry point library for PEI core.\r
 \r
-Copyright (c) 2006 - 2008, Intel Corporation<BR>\r
-All rights reserved. This program and the accompanying materials\r
+Copyright (c) 2006 - 2008, 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
@@ -86,12 +86,12 @@ EfiMain (
   module depends on.  This include library instances that a module depends on directly and library\r
   instances that a module depends on indirectly through other libraries.  \r
   This function is autogenerated by build tools and those build tools are responsible for collecting\r
-  the set of library instances, determine which ones have constructors, and calling the library\r
-  constructors in the proper order based upon each of the library instances own dependencies.\r
+  the set of library instances, determining which ones have constructors, and calling the library\r
+  constructors in the proper order based upon the dependencies of each of the library instances.\r
   The PEI Core must call this function with a NULL FileHandle value as soon as the initial PEI\r
   Services Table has been established.\r
 \r
-  @param  FileHandle   Handle of the file being invoked.Type EFI_PEI_FILE_HANDLE is defined in FfsFindNextFile().\r
+  @param  FileHandle   Handle of the file being invoked.\r
   @param  PeiServices  Describes the list of possible PEI Services.\r
 \r
 **/\r
@@ -122,7 +122,9 @@ ProcessLibraryConstructorList (
                         these SEC-hosted PPIs to its PPI database such that both the PEI\r
                         Foundation and any modules can leverage the associated service calls\r
                         and/or code in these early PPIs. \r
-  @param  OldCoreData   Pointer to Original startup information.\r
+  @param  Context       A pointer to a private context structure defined by the PEI Core\r
+                        implementation. The implementation of _ModuleEntryPoint() must set\r
+                        this parameter is NULL to indicate that this is the first PEI phase.\r
 \r
 **/\r
 VOID\r
@@ -130,7 +132,7 @@ EFIAPI
 ProcessModuleEntryPointList (\r
   IN CONST  EFI_SEC_PEI_HAND_OFF    *SecCoreData,\r
   IN CONST  EFI_PEI_PPI_DESCRIPTOR  *PpiList,\r
-  IN VOID                           *OldCoreData\r
+  IN VOID                           *Context\r
   );\r
 \r
 #endif\r