MdePkg: Apply uncrustify changes
REF: https://bugzilla.tianocore.org/show_bug.cgi?id=3737 Apply uncrustify changes to .c/.h files in the MdePkg 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: Liming Gao <gaoliming@byosoft.com.cn>
This commit is contained in:
committed by
mergify[bot]
parent
1436aea4d5
commit
2f88bd3a12
@@ -15,7 +15,7 @@
|
||||
/// PCI_CLASS_MASS_STORAGE, Base Class 01h.
|
||||
///
|
||||
///@{
|
||||
#define PCI_CLASS_MASS_STORAGE_ATA 0x05
|
||||
#define PCI_CLASS_MASS_STORAGE_ATA 0x05
|
||||
#define PCI_IF_MASS_STORAGE_SINGLE_DMA 0x20
|
||||
#define PCI_IF_MASS_STORAGE_CHAINED_DMA 0x30
|
||||
///@}
|
||||
@@ -24,63 +24,63 @@
|
||||
/// PCI_CLASS_NETWORK, Base Class 02h.
|
||||
///
|
||||
///@{
|
||||
#define PCI_CLASS_NETWORK_WORLDFIP 0x05
|
||||
#define PCI_CLASS_NETWORK_PICMG_MULTI_COMPUTING 0x06
|
||||
#define PCI_CLASS_NETWORK_WORLDFIP 0x05
|
||||
#define PCI_CLASS_NETWORK_PICMG_MULTI_COMPUTING 0x06
|
||||
///@}
|
||||
|
||||
///
|
||||
/// PCI_CLASS_BRIDGE, Base Class 06h.
|
||||
///
|
||||
///@{
|
||||
#define PCI_CLASS_BRIDGE_SEMI_TRANSPARENT_P2P 0x09
|
||||
#define PCI_IF_BRIDGE_SEMI_TRANSPARENT_P2P_PRIMARY 0x40
|
||||
#define PCI_IF_BRIDGE_SEMI_TRANSPARENT_P2P_SECONDARY 0x80
|
||||
#define PCI_CLASS_BRIDGE_INFINIBAND_TO_PCI 0x0A
|
||||
#define PCI_CLASS_BRIDGE_SEMI_TRANSPARENT_P2P 0x09
|
||||
#define PCI_IF_BRIDGE_SEMI_TRANSPARENT_P2P_PRIMARY 0x40
|
||||
#define PCI_IF_BRIDGE_SEMI_TRANSPARENT_P2P_SECONDARY 0x80
|
||||
#define PCI_CLASS_BRIDGE_INFINIBAND_TO_PCI 0x0A
|
||||
///@}
|
||||
|
||||
///
|
||||
/// PCI_CLASS_SCC, Base Class 07h.
|
||||
///
|
||||
///@{
|
||||
#define PCI_SUBCLASS_GPIB 0x04
|
||||
#define PCI_SUBCLASS_SMART_CARD 0x05
|
||||
#define PCI_SUBCLASS_GPIB 0x04
|
||||
#define PCI_SUBCLASS_SMART_CARD 0x05
|
||||
///@}
|
||||
|
||||
///
|
||||
/// PCI_CLASS_SERIAL, Base Class 0Ch.
|
||||
///
|
||||
///@{
|
||||
#define PCI_IF_EHCI 0x20
|
||||
#define PCI_CLASS_SERIAL_IB 0x06
|
||||
#define PCI_CLASS_SERIAL_IPMI 0x07
|
||||
#define PCI_IF_IPMI_SMIC 0x00
|
||||
#define PCI_IF_IPMI_KCS 0x01 ///< Keyboard Controller Style
|
||||
#define PCI_IF_IPMI_BT 0x02 ///< Block Transfer
|
||||
#define PCI_CLASS_SERIAL_SERCOS 0x08
|
||||
#define PCI_CLASS_SERIAL_CANBUS 0x09
|
||||
#define PCI_IF_EHCI 0x20
|
||||
#define PCI_CLASS_SERIAL_IB 0x06
|
||||
#define PCI_CLASS_SERIAL_IPMI 0x07
|
||||
#define PCI_IF_IPMI_SMIC 0x00
|
||||
#define PCI_IF_IPMI_KCS 0x01 ///< Keyboard Controller Style
|
||||
#define PCI_IF_IPMI_BT 0x02 ///< Block Transfer
|
||||
#define PCI_CLASS_SERIAL_SERCOS 0x08
|
||||
#define PCI_CLASS_SERIAL_CANBUS 0x09
|
||||
///@}
|
||||
|
||||
///
|
||||
/// PCI_CLASS_WIRELESS, Base Class 0Dh.
|
||||
///
|
||||
///@{
|
||||
#define PCI_SUBCLASS_BLUETOOTH 0x11
|
||||
#define PCI_SUBCLASS_BROADBAND 0x12
|
||||
#define PCI_SUBCLASS_BLUETOOTH 0x11
|
||||
#define PCI_SUBCLASS_BROADBAND 0x12
|
||||
///@}
|
||||
|
||||
///
|
||||
/// PCI_CLASS_DPIO, Base Class 11h.
|
||||
///
|
||||
///@{
|
||||
#define PCI_SUBCLASS_PERFORMANCE_COUNTERS 0x01
|
||||
#define PCI_SUBCLASS_COMMUNICATION_SYNCHRONIZATION 0x10
|
||||
#define PCI_SUBCLASS_MANAGEMENT_CARD 0x20
|
||||
#define PCI_SUBCLASS_PERFORMANCE_COUNTERS 0x01
|
||||
#define PCI_SUBCLASS_COMMUNICATION_SYNCHRONIZATION 0x10
|
||||
#define PCI_SUBCLASS_MANAGEMENT_CARD 0x20
|
||||
///@}
|
||||
|
||||
///
|
||||
/// defined in PCI Express Spec.
|
||||
///
|
||||
#define PCI_EXP_MAX_CONFIG_OFFSET 0x1000
|
||||
#define PCI_EXP_MAX_CONFIG_OFFSET 0x1000
|
||||
|
||||
///
|
||||
/// PCI Capability List IDs and records.
|
||||
@@ -94,9 +94,9 @@
|
||||
/// Section 7.2, PCI-X Addendum to the PCI Local Bus Specification, Revision 1.0b.
|
||||
///
|
||||
typedef struct {
|
||||
EFI_PCI_CAPABILITY_HDR Hdr;
|
||||
UINT16 CommandReg;
|
||||
UINT32 StatusReg;
|
||||
EFI_PCI_CAPABILITY_HDR Hdr;
|
||||
UINT16 CommandReg;
|
||||
UINT32 StatusReg;
|
||||
} EFI_PCI_CAPABILITY_PCIX;
|
||||
|
||||
///
|
||||
@@ -104,11 +104,11 @@ typedef struct {
|
||||
/// Section 8.6.2, PCI-X Addendum to the PCI Local Bus Specification, Revision 1.0b.
|
||||
///
|
||||
typedef struct {
|
||||
EFI_PCI_CAPABILITY_HDR Hdr;
|
||||
UINT16 SecStatusReg;
|
||||
UINT32 StatusReg;
|
||||
UINT32 SplitTransCtrlRegUp;
|
||||
UINT32 SplitTransCtrlRegDn;
|
||||
EFI_PCI_CAPABILITY_HDR Hdr;
|
||||
UINT16 SecStatusReg;
|
||||
UINT32 StatusReg;
|
||||
UINT32 SplitTransCtrlRegUp;
|
||||
UINT32 SplitTransCtrlRegDn;
|
||||
} EFI_PCI_CAPABILITY_PCIX_BRDG;
|
||||
|
||||
///
|
||||
@@ -116,12 +116,12 @@ typedef struct {
|
||||
/// Table H-1: Capability IDs, PCI Local Bus Specification, 2.3
|
||||
///
|
||||
typedef struct {
|
||||
EFI_PCI_CAPABILITY_HDR Hdr;
|
||||
UINT8 Length;
|
||||
EFI_PCI_CAPABILITY_HDR Hdr;
|
||||
UINT8 Length;
|
||||
} EFI_PCI_CAPABILITY_VENDOR_HDR;
|
||||
|
||||
#pragma pack()
|
||||
|
||||
#define PCI_CODE_TYPE_EFI_IMAGE 0x03
|
||||
#define PCI_CODE_TYPE_EFI_IMAGE 0x03
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user