/** @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. 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 - 2019, Intel Corporation. All rights reserved.<BR>\r
+SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
**/\r
\r
// 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
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
**/\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