]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Universal/PlatformDriverOverride/PlatformDriOverrideDxe/PlatformDriOverride.h
Code Clean for Driver PlatformDriOverrideDxe and PlatOverMngr application. And Clean...
[mirror_edk2.git] / MdeModulePkg / Universal / PlatformDriverOverride / PlatformDriOverrideDxe / PlatformDriOverride.h
diff --git a/MdeModulePkg/Universal/PlatformDriverOverride/PlatformDriOverrideDxe/PlatformDriOverride.h b/MdeModulePkg/Universal/PlatformDriverOverride/PlatformDriOverrideDxe/PlatformDriOverride.h
deleted file mode 100644 (file)
index 31f2077..0000000
+++ /dev/null
@@ -1,107 +0,0 @@
-/** @file\r
-\r
-Copyright (c) 2007, 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
-\r
-Module Name:\r
-\r
-    PlatformDriOverride.h\r
-\r
-Abstract:\r
-\r
-\r
-**/\r
-\r
-#ifndef _PLATFORM_DRI_OVERRIDE_H_\r
-#define _PLATFORM_DRI_OVERRIDE_H_\r
-\r
-#include <Uefi.h>\r
-\r
-#include <Library/DebugLib.h>\r
-#include <Library/UefiDriverEntryPoint.h>\r
-#include <Library/BaseLib.h>\r
-#include <Library/PlatDriOverLib.h>\r
-\r
-/**\r
-  Retrieves the image handle of the platform override driver for a controller in the system.\r
-\r
-  @param  This                   A pointer to the\r
-                                 EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL instance.\r
-  @param  ControllerHandle       The device handle of the controller to check if a\r
-                                 driver override exists.\r
-  @param  DriverImageHandle      On input, a pointer to the previous driver image\r
-                                 handle returned by GetDriver().  On output, a\r
-                                 pointer to the next driver image handle. Passing\r
-                                 in a NULL,  will return the first driver image\r
-                                 handle for ControllerHandle.\r
-\r
-  @retval EFI_SUCCESS            The driver override for ControllerHandle was\r
-                                 returned in DriverImageHandle.\r
-  @retval EFI_NOT_FOUND          A driver override for ControllerHandle was not\r
-                                 found.\r
-  @retval EFI_INVALID_PARAMETER  The handle specified by ControllerHandle is not a\r
-                                 valid handle. DriverImageHandle is not a handle\r
-                                 that was returned on a previous  call to\r
-                                 GetDriver().\r
-\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-GetDriver (\r
-  IN EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL              * This,\r
-  IN     EFI_HANDLE                                     ControllerHandle,\r
-  IN OUT EFI_HANDLE                                     * DriverImageHandle\r
-  );\r
-\r
-/**\r
-  For the use of the ControllerHandle parameter in the GetDriverPath()\r
-  But this API is very difficult to use, so not support.\r
-\r
-  @param  This                   A pointer to the\r
-                                 EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL instance.\r
-  @param  ControllerHandle       The device handle of the controller to check if a\r
-                                 driver override exists.\r
-  @param  DriverImagePath        The device path for this Image.\r
-  \r
-  @retval EFI_UNSUPPORTED\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-GetDriverPath (\r
-  IN EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL              * This,\r
-  IN     EFI_HANDLE                                     ControllerHandle,\r
-  IN OUT EFI_DEVICE_PATH_PROTOCOL                       **DriverImagePath\r
-  );\r
-\r
-/**\r
-  For the use of the ControllerHandle parameter in the DriverLoaded()\r
-  But this API is very difficult to use, so not support.\r
-\r
-  @param  This                   A pointer to the\r
-                                 EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL instance.\r
-  @param  ControllerHandle       The device handle of the controller to check if a\r
-                                 driver override exists.\r
-  @param  DriverImagePath        The device path for this Image.\r
-  @param  DriverImageHandle      On input, a pointer to the previous driver image\r
-                                 handle returned by GetDriver().  On output, a\r
-                                 pointer to the next driver image handle. Passing\r
-                                 in a NULL,  will return the first driver image\r
-                                 handle for ControllerHandle.\r
-  \r
-  @retval EFI_UNSUPPORTED\r
-**/\r
-EFI_STATUS\r
-EFIAPI\r
-DriverLoaded (\r
-  IN EFI_PLATFORM_DRIVER_OVERRIDE_PROTOCOL          * This,\r
-  IN EFI_HANDLE                                     ControllerHandle,\r
-  IN EFI_DEVICE_PATH_PROTOCOL                       * DriverImagePath,\r
-  IN EFI_HANDLE                                     DriverImageHandle\r
-  );\r
-#endif\r