Add the detailed descriptions for the structure data member in these protocol.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@6935 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
lgao4
2008-12-09 14:04:41 +00:00
parent d0a915a5ad
commit 992f22b99a
30 changed files with 1489 additions and 966 deletions

View File

@@ -1,5 +1,6 @@
/** @file
This file declares the SMBus definitions defined in SmBus Specifciation V2.0.
This file declares the SMBus definitions defined in SmBus Specifciation V2.0
and defined in PI1.0 specification volume 5.
Copyright (c) 2007 - 2008, Intel Corporation
All rights reserved. This program and the accompanying materials
@@ -34,14 +35,16 @@ typedef struct {
/// Smbus Device Address
///
typedef struct {
///
/// The SMBUS hardware address to which the SMBUS device is preassigned or allocated.
///
UINTN SmbusDeviceAddress : 7;
} EFI_SMBUS_DEVICE_ADDRESS;
///
/// Smbus Operations
///
typedef enum _EFI_SMBUS_OPERATION
{
typedef enum _EFI_SMBUS_OPERATION {
EfiSmbusQuickRead,
EfiSmbusQuickWrite,
EfiSmbusReceiveByte,
@@ -56,5 +59,10 @@ typedef enum _EFI_SMBUS_OPERATION
EfiSmbusBWBRProcessCall
} EFI_SMBUS_OPERATION;
///
/// EFI_SMBUS_DEVICE_COMMAND
///
typedef UINTN EFI_SMBUS_DEVICE_COMMAND;
#endif