summaryrefslogtreecommitdiff
path: root/MdePkg
diff options
context:
space:
mode:
authorjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-15 03:22:57 +0000
committerjji4 <jji4@6f19259b-4bc3-4df7-8a09-765794883524>2008-12-15 03:22:57 +0000
commit34860f7a069641fb9e14077c01605215aae68a9b (patch)
tree5a1c922332029a27fb4c4eefbcd35b26b0cf97c5 /MdePkg
parentf3e1569dbb33a0423afb6547553362dc47e1c17e (diff)
downloadedk2-platforms-34860f7a069641fb9e14077c01605215aae68a9b.tar.xz
Code have been checked with spec
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@7024 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdePkg')
-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 90d1d33d5e..09a5499d01 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 29c1d9c2e6..1eb974c9d3 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 16ad7cce0a..05be31fc41 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 94aa0c539d..5fe4be2a8f 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 fba0c24249..b04123a6d8 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.