OvmfPkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the OvmfPkg package Cc: Andrew Fish <afish@apple.com> Cc: Leif Lindholm <leif@nuviainc.com> Cc: Michael D Kinney <michael.d.kinney@intel.com> Signed-off-by: Michael Kubacki <michael.kubacki@microsoft.com> Reviewed-by: Andrew Fish <afish@apple.com>
This commit is contained in:
committed by
mergify[bot]
parent
d1050b9dff
commit
ac0a286f4d
@@ -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__
|
||||
|
Reference in New Issue
Block a user