diff options
author | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-09 03:03:32 +0000 |
---|---|---|
committer | vanjeff <vanjeff@6f19259b-4bc3-4df7-8a09-765794883524> | 2009-07-09 03:03:32 +0000 |
commit | 2a924b007fcb1607bc4d7e723ddb3f28362e657d (patch) | |
tree | 913db2368323a14161b45d9e25d0c5dce2e6562b /IntelFrameworkPkg | |
parent | a69dbb0e9e92328da87983b9ba1871a1f31d4fb3 (diff) | |
download | edk2-platforms-2a924b007fcb1607bc4d7e723ddb3f28362e657d.tar.xz |
updated comments per review comments.
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8827 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'IntelFrameworkPkg')
-rw-r--r-- | IntelFrameworkPkg/Include/Ppi/Smbus.h | 16 |
1 files changed, 15 insertions, 1 deletions
diff --git a/IntelFrameworkPkg/Include/Ppi/Smbus.h b/IntelFrameworkPkg/Include/Ppi/Smbus.h index 9cfe330f3d..5b7c6274ed 100644 --- a/IntelFrameworkPkg/Include/Ppi/Smbus.h +++ b/IntelFrameworkPkg/Include/Ppi/Smbus.h @@ -79,6 +79,8 @@ EFI_STATUS /**
CallBack function can be registered in EFI_PEI_SMBUS_PPI_NOTIFY.
+ This function is user-defined and will called when the SlaveAddress/Data pair happens.
+
@param[in] PeiServices A pointer to the system PEI Services Table.
@param[in] This A pointer to the EFI_PEI_SMBUS_PPI instance.
@param[in] SlaveAddress The SMBUS hardware address to which the SMBUS
@@ -113,6 +115,7 @@ EFI_STATUS The UDID may not exist for SMBus devices with fixed addresses.
@param[in, out] SlaveAddress The new SMBus address for the slave device for
which the operation is targeted.
+ This address may be NULL.
@retval EFI_SUCCESS The SMBus slave device address was set.
@retval EFI_INVALID_PARAMETER SlaveAddress is NULL.
@@ -120,6 +123,9 @@ EFI_STATUS due to a lack of resources.
@retval EFI_TIMEOUT The SMBus slave device did not respond.
@retval EFI_DEVICE_ERROR The request was not completed because the transaction failed.
+ @retval EFI_UNSUPPORTED ArpDevice() are not implemented by this PEIM.
+ This return value is not defined in Framwork Specification.
+ This return value had been intruduced in PI Specification.
**/
typedef
@@ -142,7 +148,10 @@ EFI_STATUS @param[in, out] SmbusDeviceMap The pointer to the device map as enumerated
by the SMBus controller driver.
- @retval EFI_SUCCESS The device map was returned correctly in the buffer.
+ @retval EFI_SUCCESS The device map was returned correctly in the buffer.
+ @retval EFI_UNSUPPORTED GetArpMap() are not implemented by this PEIM.
+ This return value was not defined in Framwork Specification.
+ This return value had been intruduced in PI Specification.
**/
typedef
@@ -160,6 +169,8 @@ EFI_STATUS The Notify() function registers all the callback functions to allow the
bus driver to call these functions when the SlaveAddress/Data pair happens.
+ All functions to be registered with EFI_PEI_SMBUS_PPI_NOTIFY must be of type
+ EFI_PEI_SMBUS_NOTIFY_FUNCTION.
@param[in] PeiServices A pointer to the system PEI Services Table.
@param[in] This A pointer to the EFI_PEI_SMBUS_PPI instance.
@@ -171,6 +182,9 @@ EFI_STATUS detects the SlaveAddress and Data pair.
@retval EFI_SUCCESS NotifyFunction has been registered.
+ @retval EFI_UNSUPPORTED Notify() are not implemented by this PEIM.
+ This return value is not defined in Framwork Specification.
+ This return value had been intruduced in PI Specification.
**/
typedef
|