]> git.proxmox.com Git - mirror_edk2.git/blame - CorebootModulePkg/PciBusNoEnumerationDxe/PciDriverOverride.h
IntelFsp2Pkg/Tools: Add BSF bit field support in GenCfgOpt tool
[mirror_edk2.git] / CorebootModulePkg / PciBusNoEnumerationDxe / PciDriverOverride.h
CommitLineData
81a23a0f
LL
1/*++
2
3Copyright (c) 2005 - 2006, Intel Corporation. All rights reserved.<BR>
4This program and the accompanying materials
5are licensed and made available under the terms and conditions of the BSD License
6which accompanies this distribution. The full text of the license may be found at
7http://opensource.org/licenses/bsd-license.php
8
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
11
12Module Name:
13
14 PciDriverOverride.h
15
16Abstract:
17
18
19
20Revision 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
31typedef 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
42EFI_STATUS
43InitializePciDriverOverrideInstance (
44 PCI_IO_DEVICE *PciIoDevice
45 )
46/*++
47
48Routine Description:
49
50 TODO: Add function description
51
52Arguments:
53
54 PciIoDevice - TODO: add argument description
55
56Returns:
57
58 TODO: add return values
59
60--*/
61;
62
63EFI_STATUS
64AddDriver (
65 IN PCI_IO_DEVICE *PciIoDevice,
66 IN EFI_HANDLE DriverImageHandle
67 )
68/*++
69
70Routine Description:
71
72 TODO: Add function description
73
74Arguments:
75
76 PciIoDevice - TODO: add argument description
77 DriverImageHandle - TODO: add argument description
78
79Returns:
80
81 TODO: add return values
82
83--*/
84;
85
86EFI_STATUS
87EFIAPI
88GetDriver (
89 IN EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL *This,
90 IN OUT EFI_HANDLE *DriverImageHandle
91 )
92/*++
93
94Routine Description:
95
96 TODO: Add function description
97
98Arguments:
99
100 This - TODO: add argument description
101 DriverImageHandle - TODO: add argument description
102
103Returns:
104
105 TODO: add return values
106
107--*/
108;
109
110#endif