]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdeModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.h
MdeModulePkg/PciBus: Correct typos
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / PciBusDxe / PciDriverOverride.h
index bf8efff8f1ef2dff76aea56cae63ba63798c9329..076b80d94d33a0a15f6d203d6b13e312cd118a52 100644 (file)
@@ -1,7 +1,7 @@
 /** @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
+Copyright (c) 2006 - 2019, 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
@@ -22,9 +22,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 +47,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 +57,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