]> git.proxmox.com Git - mirror_edk2.git/blob - IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciDriverOverride.h
Correct all header files for doxygen format and correct the license issue for VgaClas...
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Pci / PciBusDxe / PciDriverOverride.h
1 /**@file
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 **/
13
14
15 #ifndef _EFI_PCI_DRIVER_OVERRRIDE_H
16 #define _EFI_PCI_DRIVER_OVERRRIDE_H
17
18 #define DRIVER_OVERRIDE_SIGNATURE EFI_SIGNATURE_32 ('d', 'r', 'o', 'v')
19
20 typedef struct {
21 UINT32 Signature;
22 LIST_ENTRY Link;
23 EFI_HANDLE DriverImageHandle;
24 } PCI_DRIVER_OVERRIDE_LIST;
25
26
27 #define DRIVER_OVERRIDE_FROM_LINK(a) \
28 CR (a, PCI_DRIVER_OVERRIDE_LIST, Link, DRIVER_OVERRIDE_SIGNATURE)
29
30
31 EFI_STATUS
32 InitializePciDriverOverrideInstance (
33 PCI_IO_DEVICE *PciIoDevice
34 )
35 /*++
36
37 Routine Description:
38
39 TODO: Add function description
40
41 Arguments:
42
43 PciIoDevice - TODO: add argument description
44
45 Returns:
46
47 TODO: add return values
48
49 --*/
50 ;
51
52 EFI_STATUS
53 AddDriver (
54 IN PCI_IO_DEVICE *PciIoDevice,
55 IN EFI_HANDLE DriverImageHandle
56 )
57 /*++
58
59 Routine Description:
60
61 TODO: Add function description
62
63 Arguments:
64
65 PciIoDevice - TODO: add argument description
66 DriverImageHandle - TODO: add argument description
67
68 Returns:
69
70 TODO: add return values
71
72 --*/
73 ;
74
75 EFI_STATUS
76 EFIAPI
77 GetDriver (
78 IN EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL *This,
79 IN OUT EFI_HANDLE *DriverImageHandle
80 )
81 /*++
82
83 Routine Description:
84
85 TODO: Add function description
86
87 Arguments:
88
89 This - TODO: add argument description
90 DriverImageHandle - TODO: add argument description
91
92 Returns:
93
94 TODO: add return values
95
96 --*/
97 ;
98
99 #endif