SMBus controller and the slave devices attached to it.\r
\r
Copyright (c) 2006 - 2018, 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
-\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
+ SPDX-License-Identifier: BSD-2-Clause-Patent\r
\r
@par Revision Reference:\r
This PPI is introduced in PI Version 1.0.\r
#define EFI_PEI_SMBUS2_PPI_GUID \\r
{ 0x9ca93627, 0xb65b, 0x4324, { 0xa2, 0x2, 0xc0, 0xb4, 0x61, 0x76, 0x45, 0x43 } }\r
\r
-\r
typedef struct _EFI_PEI_SMBUS2_PPI EFI_PEI_SMBUS2_PPI;\r
\r
/**\r
IN BOOLEAN PecCheck,\r
IN OUT UINTN *Length,\r
IN OUT VOID *Buffer\r
-);\r
+ );\r
\r
/**\r
The ArpDevice() function enumerates the entire bus or enumerates a specific\r
(EFIAPI *EFI_PEI_SMBUS2_PPI_ARP_DEVICE)(\r
IN CONST EFI_PEI_SMBUS2_PPI *This,\r
IN BOOLEAN ArpAll,\r
- IN EFI_SMBUS_UDID *SmbusUdid, OPTIONAL\r
+ IN EFI_SMBUS_UDID *SmbusUdid OPTIONAL,\r
IN OUT EFI_SMBUS_DEVICE_ADDRESS *SlaveAddress OPTIONAL\r
-);\r
+ );\r
\r
/**\r
The GetArpMap() function returns the mapping of all the SMBus devices\r
IN CONST EFI_PEI_SMBUS2_PPI *This,\r
IN OUT UINTN *Length,\r
IN OUT EFI_SMBUS_DEVICE_MAP **SmbusDeviceMap\r
-);\r
+ );\r
\r
/**\r
CallBack function can be registered in EFI_PEI_SMBUS2_PPI_NOTIFY.\r
IN CONST EFI_PEI_SMBUS2_PPI *SmbusPpi,\r
IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,\r
IN UINTN Data\r
-);\r
+ );\r
\r
/**\r
The Notify() function registers all the callback functions to allow the\r
IN EFI_SMBUS_DEVICE_ADDRESS SlaveAddress,\r
IN UINTN Data,\r
IN EFI_PEI_SMBUS_NOTIFY2_FUNCTION NotifyFunction\r
-);\r
+ );\r
\r
///\r
/// Provides the basic I/O interfaces that a PEIM uses to access\r
/// its SMBus controller and the slave devices attached to it.\r
///\r
struct _EFI_PEI_SMBUS2_PPI {\r
- EFI_PEI_SMBUS2_PPI_EXECUTE_OPERATION Execute;\r
- EFI_PEI_SMBUS2_PPI_ARP_DEVICE ArpDevice;\r
- EFI_PEI_SMBUS2_PPI_GET_ARP_MAP GetArpMap;\r
- EFI_PEI_SMBUS2_PPI_NOTIFY Notify;\r
+ EFI_PEI_SMBUS2_PPI_EXECUTE_OPERATION Execute;\r
+ EFI_PEI_SMBUS2_PPI_ARP_DEVICE ArpDevice;\r
+ EFI_PEI_SMBUS2_PPI_GET_ARP_MAP GetArpMap;\r
+ EFI_PEI_SMBUS2_PPI_NOTIFY Notify;\r
///\r
/// Identifier which uniquely identifies this SMBus controller in a system.\r
///\r
- EFI_GUID Identifier;\r
+ EFI_GUID Identifier;\r
};\r
\r
-extern EFI_GUID gEfiPeiSmbus2PpiGuid;\r
+extern EFI_GUID gEfiPeiSmbus2PpiGuid;\r
\r
#endif\r