TianoCore EDK2 master
Loading...
Searching...
No Matches
Pci30.h
Go to the documentation of this file.
1
9#ifndef __PCI30_H__
10#define __PCI30_H__
11
13
18#define PCI_CLASS_MASS_STORAGE_SATADPA 0x06
19#define PCI_IF_MASS_STORAGE_SATA 0x00
20#define PCI_IF_MASS_STORAGE_AHCI 0x01
22
27#define PCI_SUBCLASS_ETHERNET_80211A 0x20
28#define PCI_SUBCLASS_ETHERNET_80211B 0x21
30
40#define IS_PCI_SATADPA(_p) IS_CLASS2 (_p, PCI_CLASS_MASS_STORAGE, PCI_CLASS_MASS_STORAGE_SATADPA)
41
45#define EFI_PCI_CAPABILITY_ID_PCIEXP 0x10
46
47#pragma pack(1)
48
53typedef struct {
54 UINT32 Signature;
55 UINT16 VendorId;
56 UINT16 DeviceId;
57 UINT16 DeviceListOffset;
58 UINT16 Length;
59 UINT8 Revision;
60 UINT8 ClassCode[3];
61 UINT16 ImageLength;
62 UINT16 CodeRevision;
63 UINT8 CodeType;
64 UINT8 Indicator;
65 UINT16 MaxRuntimeImageLength;
66 UINT16 ConfigUtilityCodeHeaderOffset;
67 UINT16 DMTFCLPEntryPointOffset;
69
70#pragma pack()
71
72#endif
UINT32 Signature
"PCIR"
Definition: Pci30.h:54