diff options
Diffstat (limited to 'OvmfPkg/Library/BasePciCapLib/BasePciCapLib.h')
-rw-r--r-- | OvmfPkg/Library/BasePciCapLib/BasePciCapLib.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/OvmfPkg/Library/BasePciCapLib/BasePciCapLib.h b/OvmfPkg/Library/BasePciCapLib/BasePciCapLib.h index e84dab62c5..b836fd593c 100644 --- a/OvmfPkg/Library/BasePciCapLib/BasePciCapLib.h +++ b/OvmfPkg/Library/BasePciCapLib/BasePciCapLib.h @@ -18,9 +18,9 @@ // for insertion and lookup.
//
typedef struct {
- PCI_CAP_DOMAIN Domain;
- UINT16 CapId;
- UINT16 Instance;
+ PCI_CAP_DOMAIN Domain;
+ UINT16 CapId;
+ UINT16 Instance;
} PCI_CAP_KEY;
//
@@ -29,26 +29,26 @@ typedef struct { // NumInstances needs maintenance in one object only, per (Domain, CapId) pair.
//
typedef union {
- UINT16 NumInstances;
- PCI_CAP *InstanceZero;
+ UINT16 NumInstances;
+ PCI_CAP *InstanceZero;
} PCI_CAP_NUM_INSTANCES;
//
// Complete the incomplete PCI_CAP structure here.
//
struct PCI_CAP {
- PCI_CAP_KEY Key;
- PCI_CAP_NUM_INSTANCES NumInstancesUnion;
- UINT16 Offset;
- UINT16 MaxSizeHint;
- UINT8 Version;
+ PCI_CAP_KEY Key;
+ PCI_CAP_NUM_INSTANCES NumInstancesUnion;
+ UINT16 Offset;
+ UINT16 MaxSizeHint;
+ UINT8 Version;
};
//
// Complete the incomplete PCI_CAP_LIST structure here.
//
struct PCI_CAP_LIST {
- ORDERED_COLLECTION *Capabilities;
+ ORDERED_COLLECTION *Capabilities;
};
#endif // __BASE_PCI_CAP_LIB_H__
|