#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
IN BOOLEAN ArpAll,\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