TianoCore EDK2 master
Loading...
Searching...
No Matches
UefiPciCapPciIoLib.h
Go to the documentation of this file.
1
10#ifndef __UEFI_PCI_CAP_PCI_IO_LIB_H__
11#define __UEFI_PCI_CAP_PCI_IO_LIB_H__
12
13#include <Library/DebugLib.h>
14
16
17#define PROTO_DEV_SIG SIGNATURE_64 ('P', 'C', 'P', 'I', 'O', 'P', 'R', 'T')
18
19typedef struct {
20 //
21 // Signature identifying the derived class.
22 //
23 UINT64 Signature;
24 //
25 // Members added by the derived class, specific to the use of
26 // EFI_PCI_IO_PROTOCOL.
27 //
29 //
30 // Base class.
31 //
32 PCI_CAP_DEV BaseDevice;
33} PROTO_DEV;
34
35#define PROTO_DEV_FROM_PCI_CAP_DEV(PciDevice) \
36 CR (PciDevice, PROTO_DEV, BaseDevice, PROTO_DEV_SIG)
37
38#endif // __UEFI_PCI_CAP_PCI_IO_LIB_H__