]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/Protocol/SmbusHc.h
MdePkg/Include/Protocol/Tls.h: pack structures from the TLS RFC
[mirror_edk2.git] / MdePkg / Include / Protocol / SmbusHc.h
index 067ebb2b0a1b0443ca75ba61fb2c0de7325bbf7d..ed20a471785913c5ab6a512fb783e1409580b5bd 100644 (file)
@@ -2,8 +2,8 @@
   The file provides basic SMBus host controller management \r
   and basic data transactions over the SMBus.\r
 \r
-  Copyright (c) 2006 - 2009, Intel Corporation                                                          \r
-  All rights reserved. This program and the accompanying materials                          \r
+  Copyright (c) 2006 - 2011, 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
@@ -51,6 +51,7 @@ typedef struct _EFI_SMBUS_HC_PROTOCOL EFI_SMBUS_HC_PROTOCOL;
                   EFI_SMBUS_DEVICE_COMMAND is defined in\r
                   EFI_PEI_SMBUS_PPI.Execute() in the Platform\r
                   Initialization SMBus PPI Specification.\r
+\r
  @param Operation Signifies the particular SMBus\r
                   hardware protocol instance it will use to\r
                   execute the SMBus transactions. This SMBus\r
@@ -122,10 +123,10 @@ typedef
 EFI_STATUS\r
 (EFIAPI *EFI_SMBUS_HC_EXECUTE_OPERATION)(\r
   IN CONST  EFI_SMBUS_HC_PROTOCOL     *This,\r
-  IN CONST  EFI_SMBUS_DEVICE_ADDRESS  SlaveAddress,\r
-  IN CONST  EFI_SMBUS_DEVICE_COMMAND  Command,\r
-  IN CONST  EFI_SMBUS_OPERATION       Operation,\r
-  IN CONST  BOOLEAN                   PecCheck,\r
+  IN        EFI_SMBUS_DEVICE_ADDRESS  SlaveAddress,\r
+  IN        EFI_SMBUS_DEVICE_COMMAND  Command,\r
+  IN        EFI_SMBUS_OPERATION       Operation,\r
+  IN        BOOLEAN                   PecCheck,\r
   IN OUT    UINTN                     *Length,\r
   IN OUT    VOID                      *Buffer\r
 );\r
@@ -188,8 +189,8 @@ typedef
 EFI_STATUS\r
 (EFIAPI *EFI_SMBUS_HC_PROTOCOL_ARP_DEVICE)(\r
   IN CONST  EFI_SMBUS_HC_PROTOCOL     *This,\r
-  IN CONST  BOOLEAN                   ArpAll,\r
-  IN CONST  EFI_SMBUS_UDID            *SmbusUdid,   OPTIONAL\r
+  IN        BOOLEAN                   ArpAll,\r
+  IN        EFI_SMBUS_UDID            *SmbusUdid,   OPTIONAL\r
   IN OUT    EFI_SMBUS_DEVICE_ADDRESS  *SlaveAddress OPTIONAL\r
 );\r
 \r
@@ -235,8 +236,8 @@ EFI_STATUS
 typedef\r
 EFI_STATUS\r
 (EFIAPI *EFI_SMBUS_NOTIFY_FUNCTION)(\r
-  IN CONST  EFI_SMBUS_DEVICE_ADDRESS  SlaveAddress,\r
-  IN CONST  UINTN                     Data\r
+  IN        EFI_SMBUS_DEVICE_ADDRESS  SlaveAddress,\r
+  IN        UINTN                     Data\r
 );\r
 \r
 \r
@@ -249,10 +250,10 @@ EFI_STATUS
   @param  This            A pointer to the EFI_SMBUS_HC_PROTOCOL instance.\r
   \r
   @param  SlaveAddress    Address that the host controller detects\r
-                          as sending a message, and that calls all the registered function.\r
+                          as sending a message and calls all the registered function.\r
 \r
   @param  Data            Data that the host controller detects as sending\r
-                          message, and that calls all the registered function.\r
+                          message and calls all the registered function.\r
 \r
 \r
   @param  NotifyFunction  The function to call when the bus\r
@@ -269,9 +270,9 @@ typedef
 EFI_STATUS\r
 (EFIAPI *EFI_SMBUS_HC_PROTOCOL_NOTIFY)(\r
   IN CONST  EFI_SMBUS_HC_PROTOCOL     *This,\r
-  IN CONST  EFI_SMBUS_DEVICE_ADDRESS  SlaveAddress,\r
-  IN CONST  UINTN                     Data,\r
-  IN CONST  EFI_SMBUS_NOTIFY_FUNCTION NotifyFunction\r
+  IN        EFI_SMBUS_DEVICE_ADDRESS  SlaveAddress,\r
+  IN        UINTN                     Data,\r
+  IN        EFI_SMBUS_NOTIFY_FUNCTION NotifyFunction\r
 );\r
 \r
 \r