TianoCore EDK2
master
Loading...
Searching...
No Matches
PciDriverOverride.h
Go to the documentation of this file.
1
9
#ifndef _EFI_PCI_DRIVER_OVERRRIDE_H_
10
#define _EFI_PCI_DRIVER_OVERRRIDE_H_
11
12
#define DRIVER_OVERRIDE_SIGNATURE SIGNATURE_32 ('d', 'r', 'o', 'v')
13
14
//
15
// PCI driver override driver image list
16
//
17
typedef
struct
{
18
UINT32 Signature;
19
LIST_ENTRY
Link;
20
EFI_HANDLE
DriverImageHandle;
21
EFI_DEVICE_PATH_PROTOCOL
*DriverImagePath;
22
}
PCI_DRIVER_OVERRIDE_LIST
;
23
24
#define DRIVER_OVERRIDE_FROM_LINK(a) \
25
CR (a, PCI_DRIVER_OVERRIDE_LIST, Link, DRIVER_OVERRIDE_SIGNATURE)
26
33
VOID
34
InitializePciDriverOverrideInstance
(
35
IN
OUT
PCI_IO_DEVICE
*PciIoDevice
36
);
37
50
EFI_STATUS
51
AddDriver
(
52
IN
PCI_IO_DEVICE
*PciIoDevice,
53
IN
EFI_HANDLE
DriverImageHandle,
54
IN
EFI_DEVICE_PATH_PROTOCOL
*DriverImagePath
55
);
56
73
EFI_STATUS
74
EFIAPI
75
GetDriver
(
76
IN
EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL
*This,
77
IN
OUT
EFI_HANDLE
*DriverImageHandle
78
);
79
80
#endif
IN
#define IN
Definition:
Base.h:279
OUT
#define OUT
Definition:
Base.h:284
InitializePciDriverOverrideInstance
VOID InitializePciDriverOverrideInstance(IN OUT PCI_IO_DEVICE *PciIoDevice)
Definition:
PciDriverOverride.c:18
AddDriver
EFI_STATUS AddDriver(IN PCI_IO_DEVICE *PciIoDevice, IN EFI_HANDLE DriverImageHandle, IN EFI_DEVICE_PATH_PROTOCOL *DriverImagePath)
Definition:
PciDriverOverride.c:163
GetDriver
EFI_STATUS EFIAPI GetDriver(IN EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL *This, IN OUT EFI_HANDLE *DriverImageHandle)
Definition:
PciDriverOverride.c:96
EFI_STATUS
RETURN_STATUS EFI_STATUS
Definition:
UefiBaseType.h:29
EFI_HANDLE
VOID * EFI_HANDLE
Definition:
UefiBaseType.h:33
_EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL
Definition:
BusSpecificDriverOverride.h:60
_LIST_ENTRY
Definition:
Base.h:247
_PCI_IO_DEVICE
Definition:
PciBus.h:162
EFI_DEVICE_PATH_PROTOCOL
Definition:
DevicePath.h:43
PCI_DRIVER_OVERRIDE_LIST
Definition:
PciDriverOverride.h:17
MdeModulePkg
Bus
Pci
PciBusDxe
PciDriverOverride.h
Generated on Fri Nov 15 2024 18:01:08 for TianoCore EDK2 by
1.9.6