]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Library/UefiDriverEntryPoint.h
MdePkg/UefiBaseType.h: treat EBC as a non-native machine type
[mirror_edk2.git] / MdePkg / Include / Library / UefiDriverEntryPoint.h
index f9d9befb9c126cca777f484837e5ab8153623c4c..a83b260567b27a607c981fa87e3af7b330861ee6 100644 (file)
@@ -2,14 +2,8 @@
   Module entry point library for UEFI drivers, DXE Drivers, DXE Runtime Drivers,\r
   and DXE SMM Drivers.\r
 \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
-\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
+Copyright (c) 2006 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -22,18 +16,18 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 extern CONST UINT32                   _gDxeRevision;\r
 \r
 ///\r
-/// Declare the EFI/UEFI Specification Revision to which this driver is implemented \r
+/// Declare the EFI/UEFI Specification Revision to which this driver is implemented\r
 ///\r
 extern CONST UINT32                   _gUefiDriverRevision;\r
 \r
 ///\r
-/// Declare the number of unload handler in the image. \r
+/// Declare the number of unload handler in the image.\r
 ///\r
 extern CONST UINT8                    _gDriverUnloadImageCount;\r
 \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 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
@@ -64,7 +58,7 @@ _ModuleEntryPoint (
 \r
 \r
 /**\r
-  Required by the EBC compiler and identical in functionality to _ModuleEntryPoint(). \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
 \r
@@ -86,7 +80,7 @@ EfiMain (
 \r
 /**\r
   Invokes the library destructors for all dependent libraries and terminates the\r
-  DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver. \r
+  DXE Driver, DXE Runtime Driver, DXE SMM Driver, or UEFI Driver.\r
 \r
   This function calls ProcessLibraryDestructorList() and the EFI Boot Service Exit()\r
   with a status specified by Status.\r
@@ -108,7 +102,7 @@ ExitDriver (
   This function must be called by _ModuleEntryPoint().\r
   This function calls the set of library constructors for the set of library instances\r
   that a module depends on.  This includes library instances that a module depends on\r
-  directly and library instances that a module depends on indirectly through other libraries.  \r
+  directly and library instances that a module depends on indirectly through other libraries.\r
   This function is autogenerated by build tools and those build tools are responsible\r
   for collecting the set of library instances, determine which ones have constructors,\r
   and calling the library constructors in the proper order based upon each of the library\r
@@ -133,7 +127,7 @@ ProcessLibraryConstructorList (
   This function may be called by _ModuleEntryPoint() or ExitDriver().\r
   This function calls the set of library destructors for the set of library instances\r
   that a module depends on. This includes library instances that a module depends on\r
-  directly and library instances that a module depends on indirectly through other libraries.  \r
+  directly and library 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\r
   collecting the set of library instances, determine which ones have destructors, and calling\r
   the library destructors in the proper order based upon each of the library instances own dependencies.\r
@@ -154,7 +148,7 @@ ProcessLibraryDestructorList (
   Autogenerated function that calls a set of module entry points.\r
 \r
   This function must be called by _ModuleEntryPoint().\r
-  This function calls the set of module entry points.  \r
+  This function calls the set of module entry points.\r
   This function is autogenerated by build tools and those build tools are responsible\r
   for collecting the module entry points and calling them in a specified order.\r
 \r
@@ -176,7 +170,7 @@ ProcessModuleEntryPointList (
   Autogenerated function that calls a set of module unload handlers.\r
 \r
   This function must be called from the unload handler registered by _ModuleEntryPoint().\r
-  This function calls the set of module unload handlers.  \r
+  This function calls the set of module unload handlers.\r
   This function is autogenerated by build tools and those build tools are responsible\r
   for collecting the module unload handlers and calling them in a specified order.\r
 \r