]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.h
MdeModulePkg/Pci: Add DeviceSecurity support.
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / PciBusDxe / PciDriverOverride.h
index d28fb7f8466591283f4acf0b3b667900e88b9674..03447a59c09ac7faba5a5bc47be9cf443789d7e6 100644 (file)
@@ -1,14 +1,8 @@
 /** @file\r
-  Functions declaration for Bus Specific Driver Override protoocl.\r
+  Functions declaration for Bus Specific Driver Override protocol.\r
 \r
-Copyright (c) 2006 - 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) 2006 - 2019, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
 \r
 **/\r
 \r
@@ -22,9 +16,10 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
 // PCI driver override driver image list\r
 //\r
 typedef struct {\r
-  UINT32          Signature;\r
-  LIST_ENTRY      Link;\r
-  EFI_HANDLE      DriverImageHandle;\r
+  UINT32                   Signature;\r
+  LIST_ENTRY               Link;\r
+  EFI_HANDLE               DriverImageHandle;\r
+  EFI_DEVICE_PATH_PROTOCOL *DriverImagePath;\r
 } PCI_DRIVER_OVERRIDE_LIST;\r
 \r
 \r
@@ -46,7 +41,8 @@ InitializePciDriverOverrideInstance (
   Add an overriding driver image.\r
 \r
   @param PciIoDevice        Instance of PciIo device.\r
-  @param DriverImageHandle  new added driver image.\r
+  @param DriverImageHandle  Image handle of newly added driver image.\r
+  @param DriverImagePath    Device path of newly added driver image.\r
 \r
   @retval EFI_SUCCESS          Successfully added driver.\r
   @retval EFI_OUT_OF_RESOURCES No memory resource for new driver instance.\r
@@ -55,8 +51,9 @@ InitializePciDriverOverrideInstance (
 **/\r
 EFI_STATUS\r
 AddDriver (\r
-  IN PCI_IO_DEVICE     *PciIoDevice,\r
-  IN EFI_HANDLE        DriverImageHandle\r
+  IN PCI_IO_DEVICE            *PciIoDevice,\r
+  IN EFI_HANDLE               DriverImageHandle,\r
+  IN EFI_DEVICE_PATH_PROTOCOL *DriverImagePath\r
   );\r
 \r
 \r