summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--MdePkg/Include/Library/DxeCoreEntryPoint.h2
-rw-r--r--MdePkg/Include/Library/PeiCoreEntryPoint.h6
-rw-r--r--MdePkg/Include/Library/PeimEntryPoint.h4
-rw-r--r--MdePkg/Include/Library/UefiApplicationEntryPoint.h2
-rw-r--r--MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.c2
5 files changed, 9 insertions, 7 deletions
diff --git a/MdePkg/Include/Library/DxeCoreEntryPoint.h b/MdePkg/Include/Library/DxeCoreEntryPoint.h
index 90d1d33..09a5499 100644
--- a/MdePkg/Include/Library/DxeCoreEntryPoint.h
+++ b/MdePkg/Include/Library/DxeCoreEntryPoint.h
@@ -25,7 +25,7 @@ extern VOID *gHobList;
The entry point of PE/COFF Image for the DXE Core.
This function is the entry point for the DXE Core. This function is required
- to call ProcessModuleEntryPointList() and ProcessModuleEntryPoint() is never
+ to call ProcessModuleEntryPointList() and ProcessModuleEntryPointList() is never
expected to return. The DXE Core is responsible for calling ProcessLibraryConstructorList()
as soon as the EFI System Table and the image handle for the DXE Core itself have
been established.
diff --git a/MdePkg/Include/Library/PeiCoreEntryPoint.h b/MdePkg/Include/Library/PeiCoreEntryPoint.h
index 29c1d9c..1eb974c 100644
--- a/MdePkg/Include/Library/PeiCoreEntryPoint.h
+++ b/MdePkg/Include/Library/PeiCoreEntryPoint.h
@@ -122,7 +122,9 @@ ProcessLibraryConstructorList (
these SEC-hosted PPIs to its PPI database such that both the PEI
Foundation and any modules can leverage the associated service calls
and/or code in these early PPIs.
- @param OldCoreData Pointer to Original startup information.
+ @param Context A pointer to a private context structure defined by the PEI Core
+ implementation. The implementation of _ModuleEntryPoint() must set
+ this parameter is NULL to indicate that this is the first PEI phase.
**/
VOID
@@ -130,7 +132,7 @@ EFIAPI
ProcessModuleEntryPointList (
IN CONST EFI_SEC_PEI_HAND_OFF *SecCoreData,
IN CONST EFI_PEI_PPI_DESCRIPTOR *PpiList,
- IN VOID *OldCoreData
+ IN VOID *Context
);
#endif
diff --git a/MdePkg/Include/Library/PeimEntryPoint.h b/MdePkg/Include/Library/PeimEntryPoint.h
index 16ad7cc..05be31f 100644
--- a/MdePkg/Include/Library/PeimEntryPoint.h
+++ b/MdePkg/Include/Library/PeimEntryPoint.h
@@ -65,9 +65,9 @@ EfiMain (
Autogenerated function that calls the library constructors for all of the module's
dependent libraries.
- This function must be called by the PEI Core once an initial PEI Services Table has been established.
+ This function must be called by _ModuleEntryPoint().
This function calls the set of library constructors for the set of library instances that a
- module depends on. This include library instances that a module depends on directly and library
+ module depends on. This includes library instances that a module depends on directly and library
instances that a module depends on indirectly through other libraries.
This function is autogenerated by build tools and those build tools are responsible for collecting
the set of library instances, determine which ones have constructors, and calling the library
diff --git a/MdePkg/Include/Library/UefiApplicationEntryPoint.h b/MdePkg/Include/Library/UefiApplicationEntryPoint.h
index 94aa0c5..5fe4be2 100644
--- a/MdePkg/Include/Library/UefiApplicationEntryPoint.h
+++ b/MdePkg/Include/Library/UefiApplicationEntryPoint.h
@@ -111,7 +111,7 @@ ProcessLibraryConstructorList (
Autogenerated function that calls the library descructors for all of the module's
dependent libraries.
- This function may be called by _ModuleEntryPoint()or ExitDriver().
+ This function may be called by _ModuleEntryPoint()or Exit().
This function calls the set of library destructors for the set of library instances
that a module depends on. This includes library instances that a module depends on
directly and library instances that a module depends on indirectly through other libraries.
diff --git a/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.c b/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.c
index fba0c24..b04123a 100644
--- a/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.c
+++ b/MdePkg/Library/DxeCoreEntryPoint/DxeCoreEntryPoint.c
@@ -29,7 +29,7 @@ VOID *gHobList = NULL;
The entry point of PE/COFF Image for the DXE Core.
This function is the entry point for the DXE Core. This function is required
- to call ProcessModuleEntryPointList() and ProcessModuleEntryPoint() is never
+ to call ProcessModuleEntryPointList() and ProcessModuleEntryPointList() is never
expected to return. The DXE Core is responsible for calling ProcessLibraryConstructorList()
as soon as the EFI System Table and the image handle for the DXE Core itself have
been established.