]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/PlatformDriOverrideDxe/InternalPlatDriOverrideDxe.h
MdeModulePkg/CdExpress: Remove PcdFrameworkCompatibilitySupport usage
[mirror_edk2.git] / MdeModulePkg / Universal / PlatformDriOverrideDxe / InternalPlatDriOverrideDxe.h
index 90dbe3f22cf48fdd438e1212398771ff82f8aa8b..d7bb7822cd36fea24799a88a3d43db79c01747be 100644 (file)
@@ -2,14 +2,8 @@
   Ihe internal heder file includes the required Protocol/Guid/Library\r
   and the shared function APIs.\r
 \r
-Copyright (c) 2007 - 2009, Intel Corporation\r
-All rights reserved. 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) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -29,7 +23,6 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 #include <Protocol/ComponentName2.h>\r
 #include <Protocol/ComponentName.h>\r
 #include <Protocol/DriverBinding.h>\r
-#include <Protocol/DevicePathToText.h>\r
 #include <Protocol/DevicePath.h>\r
 #include <Protocol/PlatformDriverOverride.h>\r
 #include <Guid/MdeModuleHii.h>\r
@@ -147,8 +140,8 @@ GetDriverFromMapping (
 \r
   @retval EFI_INVALID_PARAMETER    ControllerDevicePath or MappingDataBase is NULL.\r
   @retval EFI_NOT_FOUND            ControllerDevicePath is not found in MappingDataBase or\r
-                                   DriverImageDevicePath is not found in the found DriverImage Info list. \r
-  @retval EFI_SUCCESS              The controller's total override driver number and \r
+                                   DriverImageDevicePath is not found in the found DriverImage Info list.\r
+  @retval EFI_SUCCESS              The controller's total override driver number and\r
                                    input DriverImage's order number is correctly return.\r
 **/\r
 EFI_STATUS\r
@@ -170,14 +163,14 @@ CheckMapping (
                                    override driver image item\r
   @param  DriverImageDevicePath    The driver image device path need to be insert\r
   @param  MappingDataBase          Mapping database list entry pointer\r
-  @param  DriverImageNO            The inserted order number. If this number is taken, \r
+  @param  DriverImageNO            The inserted order number. If this number is taken,\r
                                    the larger available number will be used.\r
 \r
   @retval EFI_INVALID_PARAMETER    ControllerDevicePath is NULL, or DriverImageDevicePath is NULL\r
                                    or MappingDataBase is NULL\r
-  @retval EFI_ALREADY_STARTED      The input Controller to input DriverImage has been \r
+  @retval EFI_ALREADY_STARTED      The input Controller to input DriverImage has been\r
                                    recorded into the mapping database.\r
-  @retval EFI_SUCCESS              The Controller and DriverImage are inserted into \r
+  @retval EFI_SUCCESS              The Controller and DriverImage are inserted into\r
                                    the mapping database successfully.\r
 \r
 **/\r
@@ -194,7 +187,7 @@ InsertDriverImage (
 /**\r
   Delete a controller's override driver from the mapping database.\r
 \r
-  @param  ControllerDevicePath     The controller device path will be deleted \r
+  @param  ControllerDevicePath     The controller device path will be deleted\r
                                    when all drivers images on it are removed.\r
   @param  DriverImageDevicePath    The driver image device path will be delete.\r
                                    If NULL, all driver image will be delete.\r
@@ -202,7 +195,7 @@ InsertDriverImage (
 \r
   @retval EFI_INVALID_PARAMETER    ControllerDevicePath is NULL, or MappingDataBase is NULL\r
   @retval EFI_NOT_FOUND            ControllerDevicePath is not found in MappingDataBase or\r
-                                   DriverImageDevicePath is not found in the found DriverImage Info list. \r
+                                   DriverImageDevicePath is not found in the found DriverImage Info list.\r
   @retval EFI_SUCCESS              Delete the specified driver successfully.\r
 \r
 **/\r