]> git.proxmox.com Git - mirror_edk2.git/blobdiff - SecurityPkg/Library/DxeDeferImageLoadLib/DxeDeferImageLoadLib.h
SecurityPkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / SecurityPkg / Library / DxeDeferImageLoadLib / DxeDeferImageLoadLib.h
index 52eb81b7965403880ed8e55a9b75e7f57d2835fe..6f7991761711823f8dccde9127f1ef4799fdc2a8 100644 (file)
@@ -2,14 +2,8 @@
   The internal header file includes the common header files, defines\r
   internal structure and functions used by DeferImageLoadLib.\r
 \r
-Copyright (c) 2009 - 2010, 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) 2009 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -34,7 +28,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Protocol/DeferredImageLoad.h>\r
 #include <Protocol/UserCredential.h>\r
 #include <Protocol/UserManager.h>\r
-#include <Protocol/DevicePathToText.h>\r
 \r
 #include <Guid/GlobalVariable.h>\r
 \r
@@ -68,29 +61,29 @@ typedef struct {
 /**\r
   Returns information about a deferred image.\r
 \r
-  This function returns information about a single deferred image. The deferred images are \r
-  numbered consecutively, starting with 0.  If there is no image which corresponds to \r
-  ImageIndex, then EFI_NOT_FOUND is returned. All deferred images may be returned by \r
+  This function returns information about a single deferred image. The deferred images are\r
+  numbered consecutively, starting with 0.  If there is no image which corresponds to\r
+  ImageIndex, then EFI_NOT_FOUND is returned. All deferred images may be returned by\r
   iteratively calling this function until EFI_NOT_FOUND is returned.\r
-  Image may be NULL and ImageSize set to 0 if the decision to defer execution was made \r
-  because of the location of the executable image, rather than its actual contents.  \r
+  Image may be NULL and ImageSize set to 0 if the decision to defer execution was made\r
+  because of the location of the executable image, rather than its actual contents.\r
 \r
   @param[in]  This              Points to this instance of the EFI_DEFERRED_IMAGE_LOAD_PROTOCOL.\r
   @param[in]  ImageIndex        Zero-based index of the deferred index.\r
-  @param[out] ImageDevicePath   On return, points to a pointer to the device path of the image. \r
-                                The device path should not be freed by the caller. \r
-  @param[out] Image             On return, points to the first byte of the image or NULL if the \r
+  @param[out] ImageDevicePath   On return, points to a pointer to the device path of the image.\r
+                                The device path should not be freed by the caller.\r
+  @param[out] Image             On return, points to the first byte of the image or NULL if the\r
                                 image is not available. The image should not be freed by the caller\r
-                                unless LoadImage() has been called successfully.  \r
+                                unless LoadImage() has been called successfully.\r
   @param[out] ImageSize         On return, the size of the image, or 0 if the image is not available.\r
-  @param[out] BootOption        On return, points to TRUE if the image was intended as a boot option \r
-                                or FALSE if it was not intended as a boot option. \r
\r
+  @param[out] BootOption        On return, points to TRUE if the image was intended as a boot option\r
+                                or FALSE if it was not intended as a boot option.\r
+\r
   @retval EFI_SUCCESS           Image information returned successfully.\r
   @retval EFI_NOT_FOUND         ImageIndex does not refer to a valid image.\r
-  @retval EFI_INVALID_PARAMETER ImageDevicePath is NULL or Image is NULL or ImageSize is NULL or \r
+  @retval EFI_INVALID_PARAMETER ImageDevicePath is NULL or Image is NULL or ImageSize is NULL or\r
                                 BootOption is NULL.\r
-  \r
+\r
 **/\r
 EFI_STATUS\r
 EFIAPI\r
@@ -102,5 +95,5 @@ GetDefferedImageInfo (
      OUT UINTN                             *ImageSize,\r
      OUT BOOLEAN                           *BootOption\r
   );\r
-  \r
+\r
 #endif\r