} EFI_SMBUS_OPERATION;\r
\r
#endif\r
-/** @file\r
- This file declares the SMBus definitions defined in SmBus Specifciation\r
- V2.0.\r
-\r
- Copyright (c) 2007, Intel Corporation \r
- All rights reserved. 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
- @par Revision Reference:\r
- These definitions are defined in System Management Bus (SmBus) Specification V2.0.\r
-\r
-**/\r
-\r
-#ifndef _SMBUS_H_\r
-#define _SMBUS_H_\r
-\r
-//\r
-// Smbus Device Address, Smbus Device Command, Smbus Operations\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
-#endif\r