]> git.proxmox.com Git - mirror_edk2.git/blame - EdkCompatibilityPkg/Foundation/Framework/Include/EfiSmbus.h
Update the copyright notice format
[mirror_edk2.git] / EdkCompatibilityPkg / Foundation / Framework / Include / EfiSmbus.h
CommitLineData
3eb9473e 1/*++\r
2\r
f57387d5
HT
3Copyright (c) 2006 - 2007, Intel Corporation. All rights reserved.<BR>\r
4This program and the accompanying materials \r
3eb9473e 5are licensed and made available under the terms and conditions of the BSD License \r
6which accompanies this distribution. The full text of the license may be found at \r
7http://opensource.org/licenses/bsd-license.php \r
8 \r
9THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r
10WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r
11\r
12Module Name:\r
13\r
14 EfiSmbus.h\r
15\r
16Abstract:\r
17\r
18 \r
19\r
20--*/\r
21\r
22#ifndef _EFI_SMBUS_DEFINITION_H_\r
23#define _EFI_SMBUS_DEFINITION_H_\r
24\r
25//\r
26// EFI Smbus Device Address, Smbus Device Command, Smbus Operation\r
27//\r
28typedef struct {\r
29 UINTN SmbusDeviceAddress : 7;\r
30} EFI_SMBUS_DEVICE_ADDRESS;\r
31\r
32typedef UINTN EFI_SMBUS_DEVICE_COMMAND;\r
33\r
34typedef enum _EFI_SMBUS_OPERATION\r
35{\r
36 EfiSmbusQuickRead,\r
37 EfiSmbusQuickWrite,\r
38 EfiSmbusReceiveByte,\r
39 EfiSmbusSendByte,\r
40 EfiSmbusReadByte,\r
41 EfiSmbusWriteByte,\r
42 EfiSmbusReadWord,\r
43 EfiSmbusWriteWord,\r
44 EfiSmbusReadBlock,\r
45 EfiSmbusWriteBlock,\r
46 EfiSmbusProcessCall,\r
47 EfiSmbusBWBRProcessCall\r
48} EFI_SMBUS_OPERATION;\r
49\r
50typedef struct {\r
51 UINT32 VendorSpecificId;\r
52 UINT16 SubsystemDeviceId;\r
53 UINT16 SubsystemVendorId;\r
54 UINT16 Interface;\r
55 UINT16 DeviceId;\r
56 UINT16 VendorId;\r
57 UINT8 VendorRevision;\r
58 UINT8 DeviceCapabilities;\r
59} EFI_SMBUS_UDID;\r
60\r
61\r
62typedef struct {\r
63 EFI_SMBUS_DEVICE_ADDRESS SmbusDeviceAddress;\r
64 EFI_SMBUS_UDID SmbusDeviceUdid;\r
65} EFI_SMBUS_DEVICE_MAP;\r
66\r
67\r
68\r
69#endif\r