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//
17typedef struct {
18 UINT32 Signature;
19 LIST_ENTRY Link;
20 EFI_HANDLE DriverImageHandle;
21 EFI_DEVICE_PATH_PROTOCOL *DriverImagePath;
23
24#define DRIVER_OVERRIDE_FROM_LINK(a) \
25 CR (a, PCI_DRIVER_OVERRIDE_LIST, Link, DRIVER_OVERRIDE_SIGNATURE)
26
33VOID
35 IN OUT PCI_IO_DEVICE *PciIoDevice
36 );
37
52 IN PCI_IO_DEVICE *PciIoDevice,
53 IN EFI_HANDLE DriverImageHandle,
54 IN EFI_DEVICE_PATH_PROTOCOL *DriverImagePath
55 );
56
74EFIAPI
77 IN OUT EFI_HANDLE *DriverImageHandle
78 );
79
80#endif
#define IN
Definition: Base.h:279
#define OUT
Definition: Base.h:284
VOID InitializePciDriverOverrideInstance(IN OUT PCI_IO_DEVICE *PciIoDevice)
EFI_STATUS AddDriver(IN PCI_IO_DEVICE *PciIoDevice, IN EFI_HANDLE DriverImageHandle, IN EFI_DEVICE_PATH_PROTOCOL *DriverImagePath)
EFI_STATUS EFIAPI GetDriver(IN EFI_BUS_SPECIFIC_DRIVER_OVERRIDE_PROTOCOL *This, IN OUT EFI_HANDLE *DriverImageHandle)
RETURN_STATUS EFI_STATUS
Definition: UefiBaseType.h:29
VOID * EFI_HANDLE
Definition: UefiBaseType.h:33