summaryrefslogtreecommitdiffstats
path: root/MdePkg/Include/IndustryStandard/SmBus.h
diff options
context:
space:
mode:
Diffstat (limited to 'MdePkg/Include/IndustryStandard/SmBus.h')
-rw-r--r--MdePkg/Include/IndustryStandard/SmBus.h26
1 files changed, 12 insertions, 14 deletions
diff --git a/MdePkg/Include/IndustryStandard/SmBus.h b/MdePkg/Include/IndustryStandard/SmBus.h
index 024a7ba67a..7bdec2bbcd 100644
--- a/MdePkg/Include/IndustryStandard/SmBus.h
+++ b/MdePkg/Include/IndustryStandard/SmBus.h
@@ -10,19 +10,18 @@
#ifndef _SMBUS_H_
#define _SMBUS_H_
-
///
/// UDID of SMBUS device.
///
typedef struct {
- UINT32 VendorSpecificId;
- UINT16 SubsystemDeviceId;
- UINT16 SubsystemVendorId;
- UINT16 Interface;
- UINT16 DeviceId;
- UINT16 VendorId;
- UINT8 VendorRevision;
- UINT8 DeviceCapabilities;
+ UINT32 VendorSpecificId;
+ UINT16 SubsystemDeviceId;
+ UINT16 SubsystemVendorId;
+ UINT16 Interface;
+ UINT16 DeviceId;
+ UINT16 VendorId;
+ UINT8 VendorRevision;
+ UINT8 DeviceCapabilities;
} EFI_SMBUS_UDID;
///
@@ -32,7 +31,7 @@ typedef struct {
///
/// The SMBUS hardware address to which the SMBUS device is preassigned or allocated.
///
- UINTN SmbusDeviceAddress : 7;
+ UINTN SmbusDeviceAddress : 7;
} EFI_SMBUS_DEVICE_ADDRESS;
typedef struct {
@@ -40,12 +39,12 @@ typedef struct {
/// The SMBUS hardware address to which the SMBUS device is preassigned or
/// allocated. Type EFI_SMBUS_DEVICE_ADDRESS is defined in EFI_PEI_SMBUS2_PPI.Execute().
///
- EFI_SMBUS_DEVICE_ADDRESS SmbusDeviceAddress;
+ EFI_SMBUS_DEVICE_ADDRESS SmbusDeviceAddress;
///
/// The SMBUS Unique Device Identifier (UDID) as defined in EFI_SMBUS_UDID.
/// Type EFI_SMBUS_UDID is defined in EFI_PEI_SMBUS2_PPI.ArpDevice().
///
- EFI_SMBUS_UDID SmbusDeviceUdid;
+ EFI_SMBUS_UDID SmbusDeviceUdid;
} EFI_SMBUS_DEVICE_MAP;
///
@@ -69,7 +68,6 @@ typedef enum _EFI_SMBUS_OPERATION {
///
/// EFI_SMBUS_DEVICE_COMMAND
///
-typedef UINTN EFI_SMBUS_DEVICE_COMMAND;
+typedef UINTN EFI_SMBUS_DEVICE_COMMAND;
#endif
-