X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FProtocol%2FSmbusHc.h;h=ed20a471785913c5ab6a512fb783e1409580b5bd;hp=067ebb2b0a1b0443ca75ba61fb2c0de7325bbf7d;hb=344d057a2b539cf34420e2afad2351b45c65178e;hpb=c8c44377af9ae3a175004d131f24b1348620baa2 diff --git a/MdePkg/Include/Protocol/SmbusHc.h b/MdePkg/Include/Protocol/SmbusHc.h index 067ebb2b0a..ed20a47178 100644 --- a/MdePkg/Include/Protocol/SmbusHc.h +++ b/MdePkg/Include/Protocol/SmbusHc.h @@ -2,8 +2,8 @@ The file provides basic SMBus host controller management and basic data transactions over the SMBus. - Copyright (c) 2006 - 2009, Intel Corporation - All rights reserved. This program and the accompanying materials + Copyright (c) 2006 - 2011, Intel Corporation. All rights reserved.
+ This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php @@ -51,6 +51,7 @@ typedef struct _EFI_SMBUS_HC_PROTOCOL EFI_SMBUS_HC_PROTOCOL; EFI_SMBUS_DEVICE_COMMAND is defined in EFI_PEI_SMBUS_PPI.Execute() in the Platform Initialization SMBus PPI Specification. + @param Operation Signifies the particular SMBus hardware protocol instance it will use to execute the SMBus transactions. This SMBus @@ -122,10 +123,10 @@ typedef EFI_STATUS (EFIAPI *EFI_SMBUS_HC_EXECUTE_OPERATION)( IN CONST EFI_SMBUS_HC_PROTOCOL *This, - IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, - IN CONST EFI_SMBUS_DEVICE_COMMAND Command, - IN CONST EFI_SMBUS_OPERATION Operation, - IN CONST BOOLEAN PecCheck, + IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, + IN EFI_SMBUS_DEVICE_COMMAND Command, + IN EFI_SMBUS_OPERATION Operation, + IN BOOLEAN PecCheck, IN OUT UINTN *Length, IN OUT VOID *Buffer ); @@ -188,8 +189,8 @@ typedef EFI_STATUS (EFIAPI *EFI_SMBUS_HC_PROTOCOL_ARP_DEVICE)( IN CONST EFI_SMBUS_HC_PROTOCOL *This, - IN CONST BOOLEAN ArpAll, - IN CONST EFI_SMBUS_UDID *SmbusUdid, OPTIONAL + IN BOOLEAN ArpAll, + IN EFI_SMBUS_UDID *SmbusUdid, OPTIONAL IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL ); @@ -235,8 +236,8 @@ EFI_STATUS typedef EFI_STATUS (EFIAPI *EFI_SMBUS_NOTIFY_FUNCTION)( - IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, - IN CONST UINTN Data + IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, + IN UINTN Data ); @@ -249,10 +250,10 @@ EFI_STATUS @param This A pointer to the EFI_SMBUS_HC_PROTOCOL instance. @param SlaveAddress Address that the host controller detects - as sending a message, and that calls all the registered function. + as sending a message and calls all the registered function. @param Data Data that the host controller detects as sending - message, and that calls all the registered function. + message and calls all the registered function. @param NotifyFunction The function to call when the bus @@ -269,9 +270,9 @@ typedef EFI_STATUS (EFIAPI *EFI_SMBUS_HC_PROTOCOL_NOTIFY)( IN CONST EFI_SMBUS_HC_PROTOCOL *This, - IN CONST EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, - IN CONST UINTN Data, - IN CONST EFI_SMBUS_NOTIFY_FUNCTION NotifyFunction + IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress, + IN UINTN Data, + IN EFI_SMBUS_NOTIFY_FUNCTION NotifyFunction );