redefined the guids as _hi and _lo to deal with intel compiler's method of assigning...
[people/mcb30/edk2.git] / edk2 / EdkModulePkg / Include / Guid / ExtendedSalGuid.h
1 /*++\r
2 \r
3 Copyright (c) 2006, Intel Corporation                                                         \r
4 All rights reserved. This program and the accompanying materials                          \r
5 are licensed and made available under the terms and conditions of the BSD License         \r
6 which accompanies this distribution.  The full text of the license may be found at        \r
7 http://opensource.org/licenses/bsd-license.php                                            \r
8                                                                                           \r
9 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     \r
10 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             \r
11 \r
12 Module Name:\r
13 \r
14   ExtendedSalGuid.h\r
15 \r
16 Abstract:\r
17 \r
18                   \r
19 --*/\r
20 \r
21 #ifndef _EXTENDED_SAL_GUID_H_\r
22 #define _EXTENDED_SAL_GUID_H_\r
23 \r
24 //\r
25 // Extended SAL Services protocol GUIDs\r
26 //\r
27 \r
28 \r
29 #define GUID_STRUCTURE(Lo, Hi) \\r
30 { (Lo & 0xffffffff),           \\r
31   ((Lo >> 32) & 0xffff),         \\r
32   ((Lo >> 48) & 0xffff),         \\r
33   { (Hi & 0xff),               \\r
34     ((Hi >> 8) & 0xff),          \\r
35     ((Hi >> 16) & 0xff),         \\r
36     ((Hi >> 24) & 0xff),         \\r
37     ((Hi >> 32) & 0xff),         \\r
38     ((Hi >> 40) & 0xff),         \\r
39     ((Hi >> 48) & 0xff),         \\r
40     ((Hi >> 56) & 0xff)          \\r
41   }                            \\r
42 }         \r
43 \r
44 \r
45 #define EFI_EXTENDED_SAL_BASE_IO_SERVICES_PROTOCOL_GUID_LO 0x451531e15aea42b5\r
46 #define EFI_EXTENDED_SAL_BASE_IO_SERVICES_PROTOCOL_GUID_HI 0xa6657525d5b831bc\r
47 #define EFI_EXTENDED_SAL_BASE_IO_SERVICES_PROTOCOL_GUID \\r
48   { 0x5aea42b5, 0x31e1, 0x4515, {0xbc, 0x31, 0xb8, 0xd5, 0x25, 0x75, 0x65, 0xa6 } }\r
49 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_BASE_IO_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_BASE_IO_SERVICES_PROTOCOL_GUID_HI)\r
50 \r
51 #define EFI_EXTENDED_SAL_STALL_SERVICES_PROTOCOL_GUID_LO 0x4d8cac2753a58d06\r
52 #define EFI_EXTENDED_SAL_STALL_SERVICES_PROTOCOL_GUID_HI 0x704165808af0e9b5\r
53 #define EFI_EXTENDED_SAL_STALL_SERVICES_PROTOCOL_GUID \\r
54   { 0x53a58d06, 0xac27, 0x4d8c, {0xb5, 0xe9, 0xf0, 0x8a, 0x80, 0x65, 0x41, 0x70 } }\r
55 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_STALL_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_STALL_SERVICES_PROTOCOL_GUID_HI)\r
56 \r
57 #define EFI_EXTENDED_SAL_LOCK_SERVICES_PROTOCOL_GUID_LO 0x4e17fe4f76b75c23\r
58 #define EFI_EXTENDED_SAL_LOCK_SERVICES_PROTOCOL_GUID_HI 0x4a49bb3d651aada2\r
59 #define EFI_EXTENDED_SAL_LOCK_SERVICES_PROTOCOL_GUID  \\r
60   { 0x76b75c23, 0xfe4f, 0x4e17, {0xa2, 0xad, 0x1a, 0x65, 0x3d, 0xbb, 0x49, 0x4a } }\r
61 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_LOCK_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_LOCK_SERVICES_PROTOCOL_GUID_HI)\r
62 \r
63 #define EFI_EXTENDED_SAL_VIRTUAL_SERVICES_PROTOCOL_GUID_LO 0x4871260ec1a74056\r
64 #define EFI_EXTENDED_SAL_VIRTUAL_SERVICES_PROTOCOL_GUID_HI 0x116e5ba645e631a0\r
65 #define EFI_EXTENDED_SAL_VIRTUAL_SERVICES_PROTOCOL_GUID  \\r
66   { 0xc1a74056, 0x260e, 0x4871, {0xa0, 0x31, 0xe6, 0x45, 0xa6, 0x5b, 0x6e, 0x11 } }\r
67 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_VIRTUAL_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_VIRTUAL_SERVICES_PROTOCOL_GUID_HI)\r
68 \r
69 #define EFI_EXTENDED_SAL_RTC_SERVICES_PROTOCOL_GUID_LO 0x4d02efdb7e97a470\r
70 #define EFI_EXTENDED_SAL_RTC_SERVICES_PROTOCOL_GUID_HI 0x96a27bd29061ce8f \r
71 #define EFI_EXTENDED_SAL_RTC_SERVICES_PROTOCOL_GUID  \\r
72   { 0x7e97a470, 0xefdb, 0x4d02, {0x8f, 0xce, 0x61, 0x90, 0xd2, 0x7b, 0xa2, 0x96 } }\r
73 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_RTC_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_RTC_SERVICES_PROTOCOL_GUID_HI)\r
74 \r
75 #define EFI_EXTENDED_SAL_VARIABLE_SERVICES_PROTOCOL_GUID_LO 0x4370c6414ecb6c53 \r
76 #define EFI_EXTENDED_SAL_VARIABLE_SERVICES_PROTOCOL_GUID_HI 0x78836e490e3bb28c\r
77 #define EFI_EXTENDED_SAL_VARIABLE_SERVICES_PROTOCOL_GUID  \\r
78   { 0x4ecb6c53, 0xc641, 0x4370, {0x8c, 0xb2, 0x3b, 0x0e, 0x49, 0x6e, 0x83, 0x78 } }\r
79 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_VARIABLE_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_VARIABLE_SERVICES_PROTOCOL_GUID_HI)\r
80 \r
81 #define EFI_EXTENDED_SAL_MTC_SERVICES_PROTOCOL_GUID_LO 0x408b75e8899afd18\r
82 #define EFI_EXTENDED_SAL_MTC_SERVICES_PROTOCOL_GUID_HI 0x54f4cd7e2e6e1aa4\r
83 #define EFI_EXTENDED_SAL_MTC_SERVICES_PROTOCOL_GUID  \\r
84   { 0x899afd18, 0x75e8, 0x408b, {0xa4, 0x1a, 0x6e, 0x2e, 0x7e, 0xcd, 0xf4, 0x54 } }\r
85 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_MTC_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_MTC_SERVICES_PROTOCOL_GUID_HI)\r
86 \r
87 #define EFI_EXTENDED_SAL_RESET_SERVICES_PROTOCOL_GUID_LO  0x46f58ce17d019990\r
88 #define EFI_EXTENDED_SAL_RESET_SERVICES_PROTOCOL_GUID_HI  0xa06a6798513c76a7\r
89 #define EFI_EXTENDED_SAL_RESET_SERVICES_PROTOCOL_GUID  \\r
90   { 0x7d019990, 0x8ce1, 0x46f5, {0xa7, 0x76, 0x3c, 0x51, 0x98, 0x67, 0x6a, 0xa0 } }\r
91 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_RESET_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_RESET_SERVICES_PROTOCOL_GUID_HI)\r
92 \r
93 #define EFI_EXTENDED_SAL_STATUS_CODE_SERVICES_PROTOCOL_GUID_LO 0x420f55e9dbd91d\r
94 #define EFI_EXTENDED_SAL_STATUS_CODE_SERVICES_PROTOCOL_GUID_HI 0x4fb437849f5e3996\r
95 #define EFI_EXTENDED_SAL_STATUS_CODE_SERVICES_PROTOCOL_GUID  \\r
96   { 0xdbd91d, 0x55e9, 0x420f, {0x96, 0x39, 0x5e, 0x9f, 0x84, 0x37, 0xb4, 0x4f } }\r
97 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_STATUS_CODE_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_STATUS_CODE_SERVICES_PROTOCOL_GUID_HI)\r
98 \r
99 #define EFI_EXTENDED_SAL_FV_BLOCK_SERVICES_PROTOCOL_GUID_LO 0x4f1dbcbba2271df1\r
100 #define EFI_EXTENDED_SAL_FV_BLOCK_SERVICES_PROTOCOL_GUID_HI 0x1a072f17bc06a998\r
101 #define EFI_EXTENDED_SAL_FV_BLOCK_SERVICES_PROTOCOL_GUID \\r
102   { 0xa2271df1, 0xbcbb, 0x4f1d, {0x98, 0xa9, 0x06, 0xbc, 0x17, 0x2f, 0x07, 0x1a } }\r
103 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_FV_BLOCK_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_FV_BLOCK_SERVICES_PROTOCOL_GUID_HI)\r
104 \r
105 #define EFI_EXTENDED_SAL_MP_SERVICES_PROTOCOL_GUID_LO 0x4dc0cf18697d81a2\r
106 #define EFI_EXTENDED_SAL_MP_SERVICES_PROTOCOL_GUID_HI 0x3f8a613b11060d9e\r
107 #define EFI_EXTENDED_SAL_MP_SERVICES_PROTOCOL_GUID \\r
108   { 0x697d81a2, 0xcf18, 0x4dc0, {0x9e, 0x0d, 0x06, 0x11, 0x3b, 0x61, 0x8a, 0x3f } }\r
109 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_MP_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_MP_SERVICES_PROTOCOL_GUID_HI)\r
110 \r
111 #define EFI_EXTENDED_SAL_PAL_SERVICES_PROTOCOL_GUID_LO 0x438d0fc2e1cd9d21\r
112 #define EFI_EXTENDED_SAL_PAL_SERVICES_PROTOCOL_GUID_HI 0x571e966de6040397\r
113 #define EFI_EXTENDED_SAL_PAL_SERVICES_PROTOCOL_GUID \\r
114   { 0xe1cd9d21, 0x0fc2, 0x438d, {0x97, 0x03, 0x04, 0xe6, 0x6d, 0x96, 0x1e, 0x57 } }\r
115 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_PAL_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_PAL_SERVICES_PROTOCOL_GUID_HI)\r
116 \r
117 #define EFI_EXTENDED_SAL_BASE_SERVICES_PROTOCOL_GUID_LO 0x41c30fe0d9e9fa06\r
118 #define EFI_EXTENDED_SAL_BASE_SERVICES_PROTOCOL_GUID_HI 0xf894335a4283fb96\r
119 #define EFI_EXTENDED_SAL_BASE_SERVICES_PROTOCOL_GUID \\r
120   { 0xd9e9fa06, 0x0fe0, 0x41c3, {0x96, 0xfb, 0x83, 0x42, 0x5a, 0x33, 0x94, 0xf8 } }\r
121 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_BASE_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_BASE_SERVICES_PROTOCOL_GUID_HI)\r
122 \r
123 #define EFI_EXTENDED_SAL_MCA_SERVICES_PROTOCOL_GUID_LO 0x42b16cc72a591128\r
124 #define EFI_EXTENDED_SAL_MCA_SERVICES_PROTOCOL_GUID_HI 0xbb2d683b9358f08a\r
125 #define EFI_EXTENDED_SAL_MCA_SERVICES_PROTOCOL_GUID \\r
126   { 0x2a591128, 0x6cc7, 0x42b1, {0x8a, 0xf0, 0x58, 0x93, 0x3b, 0x68, 0x2d, 0xbb } }\r
127 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_MCA_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_MCA_SERVICES_PROTOCOL_GUID_HI)\r
128 \r
129 #define EFI_EXTENDED_SAL_PCI_SERVICES_PROTOCOL_GUID_LO 0x4905ad66a46b1a31\r
130 #define EFI_EXTENDED_SAL_PCI_SERVICES_PROTOCOL_GUID_HI 0x6330dc59462bf692\r
131 #define EFI_EXTENDED_SAL_PCI_SERVICES_PROTOCOL_GUID \\r
132   { 0xa46b1a31, 0xad66, 0x4905, {0x92, 0xf6, 0x2b, 0x46, 0x59, 0xdc, 0x30, 0x63 } }\r
133 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_PCI_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_PCI_SERVICES_PROTOCOL_GUID_HI)\r
134 \r
135 #define EFI_EXTENDED_SAL_CACHE_SERVICES_PROTOCOL_GUID_LO 0x4ba52743edc9494\r
136 #define EFI_EXTENDED_SAL_CACHE_SERVICES_PROTOCOL_GUID_HI 0x88f11352ef0a1888\r
137 #define EFI_EXTENDED_SAL_CACHE_SERVICES_PROTOCOL_GUID \\r
138   { 0xedc9494, 0x2743, 0x4ba5, { 0x88, 0x18, 0x0a, 0xef, 0x52, 0x13, 0xf1, 0x88 } }\r
139 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_CACHE_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_CACHE_SERVICES_PROTOCOL_GUID_HI)\r
140 \r
141 #define EFI_EXTENDED_SAL_MCA_LOG_SERVICES_PROTOCOL_GUID_LO 0x4c0338a3cb3fd86e\r
142 #define EFI_EXTENDED_SAL_MCA_LOG_SERVICES_PROTOCOL_GUID_HI 0x7aaba2a3cf905c9a\r
143 #define EFI_EXTENDED_SAL_MCA_LOG_SERVICES_PROTOCOL_GUID \\r
144   { 0xcb3fd86e, 0x38a3, 0x4c03, {0x9a, 0x5c, 0x90, 0xcf, 0xa3, 0xa2, 0xab, 0x7a } }\r
145 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_MCA_LOG_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_MCA_LOG_SERVICES_PROTOCOL_GUID_HI)\r
146 \r
147 #define EFI_EXTENDED_SAL_ELOG_SERVICES_PROTOCOL_GUID_LO 0x453c3e0ad5e4ee5f\r
148 #define EFI_EXTENDED_SAL_ELOG_SERVICES_PROTOCOL_GUID_HI 0x5a3606bb92b625a7\r
149 #define EFI_EXTENDED_SAL_ELOG_SERVICES_PROTOCOL_GUID \\r
150   { 0xd5e4ee5f, 0x3e0a, 0x453c, {0xa7, 0x25, 0xb6, 0x92, 0xbb, 0x06, 0x36, 0x5a } }\r
151 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_ELOG_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_ELOG_SERVICES_PROTOCOL_GUID_HI)\r
152 \r
153 #define EFI_EXTENDED_SAL_SENSOR_SERVICES_PROTOCOL_GUID_LO 0x498285a14a153b6e\r
154 #define EFI_EXTENDED_SAL_SENSOR_SERVICES_PROTOCOL_GUID_HI 0xa1aba4fc8c6af498\r
155 #define EFI_EXTENDED_SAL_SENSOR_SERVICES_PROTOCOL_GUID \\r
156   { 0x4a153b6e, 0x85a1, 0x4982, {0x98, 0xf4, 0x6a, 0x8c, 0xfc, 0xa4, 0xab, 0xa1 } }\r
157 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_SENSOR_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_SENSOR_SERVICES_PROTOCOL_GUID_HI)\r
158 \r
159 #define EFI_EXTENDED_SAL_SM_COM_LAYER_SERVICES_PROTOCOL_GUID_LO 0x4e0881b74356799\r
160 #define EFI_EXTENDED_SAL_SM_COM_LAYER_SERVICES_PROTOCOL_GUID_HI 0x42ba47fa78d98da3\r
161 #define EFI_EXTENDED_SAL_SM_COM_LAYER_SERVICES_PROTOCOL_GUID \\r
162   { 0x4356799, 0x81b7, 0x4e08, { 0xa3, 0x8d, 0xd9, 0x78, 0xfa, 0x47, 0xba, 0x42 } }\r
163 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_SM_COM_LAYER_SERVICES_PROTOCOL_GUID_LO, EFI_EXTENDED_SAL_SM_COM_LAYER_SERVICES_PROTOCOL_GUID_HI)\r
164 \r
165 #define EFI_EXTENDED_SAL_SST_GUID_LO 0x4b4e868a38802700\r
166 #define EFI_EXTENDED_SAL_SST_GUID_HI 0x6fb4cfdc1b4fd481\r
167 #define EFI_EXTENDED_SAL_SST_GUID \\r
168   { 0x38802700, 0x868a, 0x4b4e, {0x81, 0xd4, 0x4f, 0x1b, 0xdc, 0xcf, 0xb4, 0x6f } }\r
169 //  GUID_STRUCTURE(EFI_EXTENDED_SAL_SST_GUID_LO, EFI_EXTENDED_SAL_SST_GUID_HI)\r
170 \r
171 //\r
172 // Extended Sal Proc Function IDs.\r
173 //\r
174 \r
175 //\r
176 // BugBug: These enums are name colisions waiting to happen. They should all be\r
177 //         prefixed with Esal! It might be better to just make them #define, so\r
178 //         they would be all caps.\r
179 //\r
180 \r
181 typedef enum {\r
182   IoRead,\r
183   IoWrite,\r
184   MemRead,\r
185   MemWrite\r
186 } EFI_EXTENDED_SAL_BASE_IO_SERVICES_FUNC_ID;\r
187 \r
188 typedef enum {\r
189   Stall\r
190 } EFI_EXTENDED_SAL_STALL_FUNC_ID;\r
191 \r
192 \r
193 typedef enum {\r
194   InitializeLockService,\r
195   AcquireLockService,\r
196   ReleaseLockService,\r
197   MaxLockServiceFunctionId\r
198 } EFI_EXTENDED_SAL_LOCK_SERVICES_FUNC_ID;\r
199 \r
200 //\r
201 // BugBug : Covert the first 3 functions into a lib functions\r
202 // and move SalRegisterPhysicalAddress to SAL BASE Class\r
203 //\r
204 typedef enum {\r
205   SetVirtualAddress,\r
206   IsVirtual,\r
207   IsEfiRuntime,\r
208   SalRegisterPhysicalAddress\r
209 } EFI_EXTENDED_SAL_VIRTUAL_SERVICES_FUNC_ID;\r
210 \r
211 typedef enum {\r
212   GetTime,\r
213   SetTime,\r
214   GetWakeupTime,\r
215   SetWakeupTime,\r
216   GetRtcFreq,\r
217   InitializeThreshold,\r
218   BumpThresholdCount,\r
219   GetThresholdCount\r
220 } EFI_EXTENDED_SAL_RTC_SERVICES_FUNC_ID;\r
221 \r
222 typedef enum {\r
223   EsalGetVariable,\r
224   EsalGetNextVariableName,\r
225   EsalSetVariable\r
226 #if (EFI_SPECIFICATION_VERSION >= 0x00020000)\r
227   ,\r
228   EsalQueryVariableInfo\r
229 #endif\r
230 } EFI_EXTENDED_SAL_VARIABLE_SERVICES_FUNC_ID;\r
231 \r
232 typedef enum {\r
233   GetNextHighMonotonicCount\r
234 } EFI_EXTENDED_SAL_MTC_SERVICES_FUNC_ID;\r
235 \r
236 typedef enum {\r
237   ResetSystem\r
238 } EFI_EXTENDED_SAL_RESET_SERVICES_FUNC_ID;\r
239 \r
240 typedef enum {\r
241   StatusCode\r
242 } EFI_EXTENDED_SAL_STATUS_CODE_FUNC_ID;\r
243 \r
244 typedef enum {\r
245   ReportStatusCodeService\r
246 } EFI_EXTENDED_SAL_STATUS_CODE_SERVICES_FUNC_ID;\r
247 \r
248 typedef enum {\r
249   Read,\r
250   Write,\r
251   EraseBlock,\r
252   GetVolumeAttributes,\r
253   SetVolumeAttributes,\r
254   GetPhysicalAddress,\r
255   GetBlockSize,\r
256   EraseCustomBlockRange,\r
257 } EFI_EXTENDED_SAL_FV_BLOCK_SERVICES_FUNC_ID;\r
258 \r
259 typedef enum {\r
260   AddCpuData,\r
261   RemoveCpuData,\r
262   ModifyCpuData,\r
263   GetCpuDataByID,\r
264   GetCpuDataByIndex,\r
265   SendIpi,\r
266   CurrentProcInfo,\r
267   NumProcessors,\r
268   SetMinState,\r
269   GetMinState\r
270 } EFI_EXTENDED_SAL_MP_SERVICES_FUNC_ID;\r
271 \r
272 typedef enum {\r
273   PalProc,\r
274   SetNewPalEntry,\r
275   GetNewPalEntry\r
276 } EFI_EXTENDED_SAL_PAL_SERVICES_FUNC_ID;\r
277 \r
278 typedef enum {\r
279   SalSetVectors,\r
280   SalMcRendez,\r
281   SalMcSetParams,\r
282   EsalGetVectors,\r
283   EsalMcGetParams,\r
284   EsalMcGetMcParams,\r
285   EsalGetMcCheckinFlags,\r
286   EsalGetPlatformBaseFreq\r
287 } EFI_EXTENDED_SAL_BASE_SERVICES_FUNC_ID;\r
288 \r
289 typedef enum {\r
290   McaGetStateInfo,\r
291   McaRegisterCpu\r
292 } EFI_EXTENDED_SAL_MCA_SERVICES_FUNC_ID;\r
293 \r
294 typedef enum {\r
295   SalPciConfigRead,\r
296   SalPciConfigWrite\r
297 } EFI_EXTENDED_SAL_PCI_SERVICES_FUNC_ID;\r
298 \r
299 typedef enum {\r
300   SalCacheInit,\r
301   SalCacheFlush\r
302 } EFI_EXTENDED_SAL_CACHE_SERVICES_FUNC_ID;\r
303 \r
304 typedef enum {\r
305   SalGetStateInfo,\r
306   SalGetStateInfoSize,\r
307   SalClearStateInfo,\r
308   EsalGetStateBuffer,\r
309   EsalSaveStateBuffer\r
310 } EFI_EXTENDED_SAL_MCA_LOG_SERVICES_FUNC_ID;\r
311 \r
312 typedef enum {\r
313   SalSetEventLogData,\r
314   SalGetEventLogData,\r
315   SalEraseEventLogData,\r
316   SalActivateEventLogData\r
317 } EFI_EXTENDED_SAL_ELOG_SERVICES_FUNC_ID;\r
318 \r
319 typedef enum {\r
320   EsalGetComControllerInfo,\r
321   EsalSendComData,\r
322   EsalReceiveComData \r
323 } EFI_EXTENDED_SAL_SM_COM_LAYER_SERVICES_FUNC_ID;\r
324 \r
325 typedef enum {\r
326   SalUpdatePal\r
327 } EFI_EXTENDED_SAL_UPDATE_PAL_SERVICES_FUNC_ID;\r
328 \r
329 typedef enum {\r
330   EsalReadSensorInfo,   \r
331   EsalReadSensorStatus,\r
332   EsalRearmSensor,\r
333   EsalReadSensorData  \r
334 } EFI_EXTENDED_SAL_SENSOR_SERVICES_FUNC_ID;\r
335 \r
336 typedef struct {\r
337   UINT64      ProtoData;       \r
338 } ESAL_GUID_DUMMY_PROTOCOL;\r
339 \r
340 extern EFI_GUID gEfiExtendedSalBaseIoServicesProtocolGuid;\r
341 extern EFI_GUID gEfiExtendedSalStallServicesProtocolGuid;\r
342 extern EFI_GUID gEfiExtendedSalLockServicesProtocolGuid;\r
343 extern EFI_GUID gEfiExtendedSalVirtualServicesProtocolGuid;\r
344 extern EFI_GUID gEfiExtendedSalRtcServicesProtocolGuid;\r
345 extern EFI_GUID gEfiExtendedSalVariableServicesProtocolGuid;\r
346 extern EFI_GUID gEfiExtendedSalMtcServicesProtocolGuid;\r
347 extern EFI_GUID gEfiExtendedSalResetServicesProtocolGuid;\r
348 extern EFI_GUID gEfiExtendedSalStatusCodeServicesProtocolGuid;\r
349 extern EFI_GUID gEfiExtendedSalFvBlockServicesProtocolGuid;\r
350 extern EFI_GUID gEfiExtendedSalMpServicesProtocolGuid;\r
351 extern EFI_GUID gEfiExtendedSalPalServicesProtocolGuid;\r
352 extern EFI_GUID gEfiExtendedSalBaseServicesProtocolGuid;\r
353 extern EFI_GUID gEfiExtendedSalMcaServicesProtocolGuid;\r
354 extern EFI_GUID gEfiExtendedSalPciServicesProtocolGuid;\r
355 extern EFI_GUID gEfiExtendedSalCacheServicesProtocolGuid;\r
356 extern EFI_GUID gEfiExtendedSalMcaLogServicesProtocolGuid;\r
357 extern EFI_GUID gEfiExtendedSalElogServicesProtocolGuid;\r
358 extern EFI_GUID gEfiExtendedSalSensorServicesProtocolGuid;\r
359 extern EFI_GUID gEfiExtendedSalSmComLayerServicesProtocolGuid;\r
360 extern EFI_GUID gEfiExtendedSalSstGuid;\r
361 \r
362 \r
363 #endif\r