]> git.proxmox.com Git - mirror_edk2.git/blob - EdkModulePkg/Bus/Pci/PciBus/Dxe/PciDriverOverride.h
Updated MSA by putting Specification element at the end of the header section
[mirror_edk2.git] / EdkModulePkg / Bus / Pci / PciBus / Dxe / PciDriverOverride.h
1 /*++
2
3 Copyright (c) 2006, Intel Corporation
4 All rights reserved. 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 #define DRIVER_OVERRIDE_SIGNATURE EFI_SIGNATURE_32 ('d', 'r', 'o', 'v')
28
29 typedef struct {
30 UINT32 Signature;
31 LIST_ENTRY Link;
32 EFI_HANDLE DriverImageHandle;
33 } PCI_DRIVER_OVERRIDE_LIST;
34
35
36 #define DRIVER_OVERRIDE_FROM_LINK(a) \
37 CR (a, PCI_DRIVER_OVERRIDE_LIST, Link, DRIVER_OVERRIDE_SIGNATURE)
38
39
40 EFI_STATUS
41 InitializePciDriverOverrideInstance (
42 PCI_IO_DEVICE *PciIoDevice
43 )
44 /*++
45
46 Routine Description:
47
48 TODO: Add function description
49
50 Arguments:
51
52 PciIoDevice - TODO: add argument description
53
54 Returns:
55
56 TODO: add return values
57
58 --*/
59 ;
60
61 EFI_STATUS
62 AddDriver (
63 IN PCI_IO_DEVICE *PciIoDevice,
64 IN EFI_HANDLE DriverImageHandle
65 )
66 /*++
67
68 Routine Description:
69
70 TODO: Add function description
71
72 Arguments:
73
74 PciIoDevice - TODO: add argument description
75 DriverImageHandle - TODO: add argument description
76
77 Returns:
78
79 TODO: add return values
80
81 --*/
82 ;
83
84 EFI_STATUS
85 EFIAPI
86 GetDriver (
87 IN EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL *This,
88 IN OUT EFI_HANDLE *DriverImageHandle
89 )
90 /*++
91
92 Routine Description:
93
94 TODO: Add function description
95
96 Arguments:
97
98 This - TODO: add argument description
99 DriverImageHandle - TODO: add argument description
100
101 Returns:
102
103 TODO: add return values
104
105 --*/
106 ;
107
108 #endif