+++ /dev/null
-/*++\r
-\r
-Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
-This program and the accompanying materials \r
-are licensed and made available under the terms and conditions of the BSD License \r
-which accompanies this distribution. The full text of the license may be found at \r
-http://opensource.org/licenses/bsd-license.php \r
- \r
-THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
-WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
-\r
-Module Name:\r
-\r
- EfiSmbus.h\r
-\r
-Abstract:\r
-\r
- \r
-\r
---*/\r
-\r
-#ifndef _EFI_SMBUS_DEFINITION_H_\r
-#define _EFI_SMBUS_DEFINITION_H_\r
-\r
-//\r
-// EFI Smbus Device Address, Smbus Device Command, Smbus Operation\r
-//\r
-typedef struct {\r
- UINTN SmbusDeviceAddress : 7;\r
-} EFI_SMBUS_DEVICE_ADDRESS;\r
-\r
-typedef UINTN EFI_SMBUS_DEVICE_COMMAND;\r
-\r
-typedef enum _EFI_SMBUS_OPERATION\r
-{\r
- EfiSmbusQuickRead,\r
- EfiSmbusQuickWrite,\r
- EfiSmbusReceiveByte,\r
- EfiSmbusSendByte,\r
- EfiSmbusReadByte,\r
- EfiSmbusWriteByte,\r
- EfiSmbusReadWord,\r
- EfiSmbusWriteWord,\r
- EfiSmbusReadBlock,\r
- EfiSmbusWriteBlock,\r
- EfiSmbusProcessCall,\r
- EfiSmbusBWBRProcessCall\r
-} EFI_SMBUS_OPERATION;\r
-\r
-typedef struct {\r
- UINT32 VendorSpecificId;\r
- UINT16 SubsystemDeviceId;\r
- UINT16 SubsystemVendorId;\r
- UINT16 Interface;\r
- UINT16 DeviceId;\r
- UINT16 VendorId;\r
- UINT8 VendorRevision;\r
- UINT8 DeviceCapabilities;\r
-} EFI_SMBUS_UDID;\r
-\r
-\r
-typedef struct {\r
- EFI_SMBUS_DEVICE_ADDRESS SmbusDeviceAddress;\r
- EFI_SMBUS_UDID SmbusDeviceUdid;\r
-} EFI_SMBUS_DEVICE_MAP;\r
-\r
-\r
-\r
-#endif\r