\r
\r
/**\r
- The entry point of PE/COFF Image for a DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver. \r
+ The entry point of PE/COFF Image for a DXE Driver, DXE Runtime Driver, DXE SMM \r
+ Driver, or UEFI Driver. \r
\r
This function is the entry point for a DXE Driver, DXE Runtime Driver, DXE SMM Driver,\r
or UEFI Driver. This function must call ProcessLibraryConstructorList() and\r
ProcessModuleEntryPointList(). If the return status from ProcessModuleEntryPointList()\r
- is an error status, then ProcessLibraryDestructorList() must be called. The return value\r
- from ProcessModuleEntryPointList() is returned. If _gDriverUnloadImageCount is greater\r
- than zero, then an unload handler must be registered for this image and the unload handler\r
- must invoke ProcessModuleUnloadList().\r
- If _gUefiDriverRevision is not zero and SystemTable->Hdr.Revision is less than _gUefiDriverRevison,\r
- then return EFI_INCOMPATIBLE_VERSION.\r
+ is an error status, then ProcessLibraryDestructorList() must be called. The return \r
+ value from ProcessModuleEntryPointList() is returned. If _gDriverUnloadImageCount \r
+ is greater than zero, then an unload handler must be registered for this image \r
+ and the unload handler must invoke ProcessModuleUnloadList().\r
+ If _gUefiDriverRevision is not zero and SystemTable->Hdr.Revision is less than \r
+ _gUefiDriverRevison, then return EFI_INCOMPATIBLE_VERSION.\r
\r
\r
- @param ImageHandle The image handle of the DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.\r
+ @param ImageHandle The image handle of the DXE Driver, DXE Runtime Driver, \r
+ DXE SMM Driver, or UEFI Driver.\r
@param SystemTable A pointer to the EFI System Table.\r
\r
- @retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM Driver,\r
- or UEFI Driver exited normally.\r
- @retval EFI_INCOMPATIBLE_VERSION _gUefiDriverRevision is greater than SystemTable->Hdr.Revision.\r
+ @retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM \r
+ Driver, or UEFI Driver exited normally.\r
+ @retval EFI_INCOMPATIBLE_VERSION _gUefiDriverRevision is greater than \r
+ SystemTable->Hdr.Revision.\r
@retval Other Return value from ProcessModuleEntryPointList().\r
\r
**/\r
/**\r
Required by the EBC compiler and identical in functionality to _ModuleEntryPoint(). \r
\r
- This function is required to call _ModuleEntryPoint() passing in ImageHandle, and SystemTable.\r
+ This function is required to call _ModuleEntryPoint() passing in ImageHandle,\r
+ and SystemTable.\r
\r
- @param ImageHandle The image handle of the DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.\r
+ @param ImageHandle The image handle of the DXE Driver, DXE Runtime Driver, DXE \r
+ SMM Driver, or UEFI Driver.\r
@param SystemTable A pointer to the EFI System Table.\r
\r
- @retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM Driver,\r
- or UEFI Driver exited normally.\r
- @retval EFI_INCOMPATIBLE_VERSION _gUefiDriverRevision is greater than SystemTable->Hdr.Revision.\r
+ @retval EFI_SUCCESS The DXE Driver, DXE Runtime Driver, DXE SMM \r
+ Driver, or UEFI Driver exited normally.\r
+ @retval EFI_INCOMPATIBLE_VERSION _gUefiDriverRevision is greater than \r
+ SystemTable->Hdr.Revision.\r
@retval Other Return value from ProcessModuleEntryPointList().\r
**/\r
EFI_STATUS\r