1 /*++ 2 3 Copyright (c) 2005 - 2006, Intel Corporation. All rights reserved.<BR> 4 This program and the accompanying materials 5 are licensed and made available under the terms and conditions of the BSD License 6 which accompanies this distribution. The full text of the license may be found at 7 http://opensource.org/licenses/bsd-license.php 8 9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, 10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. 11 12 Module Name: 13 14 PciDriverOverride.h 15 16 Abstract: 17 18 19 20 Revision History 21 22 --*/ 23 24 #ifndef _EFI_PCI_DRIVER_OVERRRIDE_H 25 #define _EFI_PCI_DRIVER_OVERRRIDE_H 26 27 #include "PciBus.h" 28 29 #define DRIVER_OVERRIDE_SIGNATURE SIGNATURE_32 ('d', 'r', 'o', 'v') 30 31 typedef struct { 32 UINT32 Signature; 33 LIST_ENTRY Link; 34 EFI_HANDLE DriverImageHandle; 35 } PCI_DRIVER_OVERRIDE_LIST; 36 37 38 #define DRIVER_OVERRIDE_FROM_LINK(a) \ 39 CR (a, PCI_DRIVER_OVERRIDE_LIST, Link, DRIVER_OVERRIDE_SIGNATURE) 40 41 42 EFI_STATUS 43 InitializePciDriverOverrideInstance ( 44 PCI_IO_DEVICE *PciIoDevice 45 ) 46 /*++ 47 48 Routine Description: 49 50 TODO: Add function description 51 52 Arguments: 53 54 PciIoDevice - TODO: add argument description 55 56 Returns: 57 58 TODO: add return values 59 60 --*/ 61 ; 62 63 EFI_STATUS 64 AddDriver ( 65 IN PCI_IO_DEVICE *PciIoDevice, 66 IN EFI_HANDLE DriverImageHandle 67 ) 68 /*++ 69 70 Routine Description: 71 72 TODO: Add function description 73 74 Arguments: 75 76 PciIoDevice - TODO: add argument description 77 DriverImageHandle - TODO: add argument description 78 79 Returns: 80 81 TODO: add return values 82 83 --*/ 84 ; 85 86 EFI_STATUS 87 EFIAPI 88 GetDriver ( 89 IN EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL *This, 90 IN OUT EFI_HANDLE *DriverImageHandle 91 ) 92 /*++ 93 94 Routine Description: 95 96 TODO: Add function description 97 98 Arguments: 99 100 This - TODO: add argument description 101 DriverImageHandle - TODO: add argument description 102 103 Returns: 104 105 TODO: add return values 106 107 --*/ 108 ; 109 110 #endif 111