summaryrefslogtreecommitdiff
path: root/ReferenceCode/ME/ActiveManagement/AlertStandardFormat/Heci/Common/AlertStandardFormatCommon.h
blob: 5949fb95249fda4da8ff610b5dc5560222a8ff41 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
/** @file
  Include file for ASF Driver

@copyright
  Copyright (c) 2010 - 2012 Intel Corporation. All rights
  reserved This software and associated documentation (if any)
  is furnished under a license and may only be used or copied in
  accordance with the terms of the license. Except as permitted
  by such license, no part of this software or documentation may
  be reproduced, stored in a retrieval system, or transmitted in
  any form or by any means without the express written consent
  of Intel Corporation.

  This file contains an 'Intel Peripheral Driver' and uniquely
  identified as "Intel Reference Module" and is
  licensed for Intel CPUs and chipsets under the terms of your
  license agreement with Intel or your vendor.  This file may
  be modified by the user, subject to additional terms of the
  license agreement
**/
#ifndef _ALERT_STANDARD_FORMAT_COMMON_H
#define _ALERT_STANDARD_FORMAT_COMMON_H

#define EFI_ASF_VERSION 0x10

//
// ASF SMBUS Messages
//
#define EFI_ASF_MESSAGE_COMMAND_SENSE_DEVICE_SYSTEM_STATE 0x01
#define EFI_ASF_MESSAGE_COMMAND_MANAGEMENT_CONTROL        0x02
#define EFI_ASF_MESSAGE_COMMAND_ASF_CONFIGURATION         0x03
#define EFI_ASF_MESSAGE_COMMAND_MESSAGE                   0x04
#define EFI_ASF_MESSAGE_COMMAND_GETUUID                   0xC7

#define EFI_ASF_MESSAGE_BYTECOUNT_RETURN_BOOT_OPT         0x0D
#define EFI_ASF_MESSAGE_BYTECOUNT_CLEAR_BOOT_OPT          0x02
#define EFI_ASF_MESSAGE_BYTEOUNTT_GET_BOOT_OPT            0x02
#define EFI_ASF_MESSAGE_BYTECOUNT_DEVICE_TYPE_POLL        0x03
#define EFI_ASF_MESSAGE_BYTECOUNT_STOP_WATCH_DOG_TIMER    0x02
#define EFI_ASF_MESSAGE_BYTECOUNT_START_WATCH_DOG_TIMER   0x0D

#define EFI_ASF_MESSAGE_SUBCOMMAND_RETURN_BOOT_OPT        0x16
#define EFI_ASF_MESSAGE_SUBCOMMAND_CLEAR_BOOT_OPT         0x15
#define EFI_ASF_MESSAGE_SUBCOMMAND_DEVICE_TYPE_POLL       0x13
#define EFI_ASF_MESSAGE_SUBCOMMAND_STOP_WATCH_DOG_TIMER   0x14
#define EFI_ASF_MESSAGE_SUBCOMMAND_START_WATCH_DOG_TIMER  0x13
#define EFI_ASF_MESSAGE_SUBCOMMAND_RETRANSMIT             0x15
#define EFI_ASF_MESSAGE_SUBCOMMAND_NORETRANSMIT           0x16
#define EFI_ASF_MESSAGE_SUBCOMMAND_SYSTEM_STATE           0x18

#define EFI_ASF_MESSAGE_VERSIONNUMBER                     0x10

//
// ASF Event Sensor Type Codes
//
#define EFI_ASF_EVENT_SENSOR_TYPE_SYS_FW_ERR_PROG     0x0F
#define EFI_ASF_EVENT_SENSOR_TYPE_POST_ERR_PROG       0x0F
#define EFI_ASF_EVENT_SENSOR_TYPE_BOOT_ERROR          0x1E
#define EFI_ASF_EVENT_SENSOR_TYPE_OS_BOOT             0x1F
#define EFI_ASF_EVENT_SENSOR_TYPE_ENTITY_PRESENCE     0x25
#define EFI_ASF_EVENT_SENSOR_TYPE_WATCHDOG2           0x23

#define EFI_ASF_EVENT_SENSOR_TYPE_TEMPERATURE         0x01
#define EFI_ASF_EVENT_SENSOR_TYPE_VOLTAGE             0x02
#define EFI_ASF_EVENT_SENSOR_TYPE_FAN                 0x04
#define EFI_ASF_EVENT_SENSOR_TYPE_CHASSIS_INTRUSION   0x05
#define EFI_ASF_EVENT_SENSOR_TYPE_SECURITY_VIOLATION  0x06
#define EFI_ASF_EVENT_SENSOR_TYPE_PROCESSOR           0x07
#define EFI_ASF_EVENT_SENSOR_TYPE_POWER_SUPPLY        0x08
#define EFI_ASF_EVENT_SENSOR_TYPE_POWER_UNIT          0x09
#define EFI_ASF_EVENT_SENSOR_TYPE_CHIPSET             0x19
#define EFI_ASF_EVENT_SENSOR_TYPE_BATTERY             0x29

//
// ASF Event Type Codes
// IPMI/PET related stuff
//
#define EFI_ASF_EVENT_TYPE_SENSOR_SPECIFIC                0x6F

#define EFI_ASF_EVENT_TYPE_THRESHOLD_BASED                0x01
#define EFI_ASF_EVENT_TYPE_USAGE_STATE                    0x02
#define EFI_ASF_EVENT_TYPE_DISCRETE_EVENT_STATE           0x03
#define EFI_ASF_EVENT_TYPE_DISCRETE_EVENT_PREDICTIVE_FAIL 0x04
#define EFI_ASF_EVENT_TYPE_DISCRETE_EVENT_LIMIT           0x05
#define EFI_ASF_EVENT_TYPE_DISCRETE_EVENT_PERFORMANCE     0x06
#define EFI_ASF_EVENT_TYPE_SEVERITY_STATE                 0x07
#define EFI_ASF_EVENT_TYPE_AVAILABILITY_STATUS_PRESENT    0x08
#define EFI_ASF_EVENT_TYPE_AVAILABILITY_STATUS_ENABLE     0x09
#define EFI_ASF_EVENT_TYPE_AVAILABILITY_STATUS_RUNNING    0x0A
#define EFI_ASF_EVENT_TYPE_AVAILABILITY_STATUS_OTHER      0x0B
#define EFI_ASF_EVENT_TYPE_DEVICE_POWER_STATES            0x0C

//
// ASF Event Offset Codes
// IPMI/PET related stuff
//
#define EFI_ASF_EVENT_OFFSET_ENTITY_PRESENT                           0x00
#define EFI_ASF_EVENT_OFFSET_TIMER_EXPIRED                            0x00
#define EFI_ASF_EVENT_OFFSET_SYS_FW_ERROR                             0x00
#define EFI_ASF_EVENT_OFFSET_SYS_FW_HANG                              0x01
#define EFI_ASF_EVENT_OFFSET_SYS_FW_PROGRESS                          0x02

#define EFI_ASF_EVENT_OFFSET_THRESHOLD_LOWER_NONCRITICAL              0x00
#define EFI_ASF_EVENT_OFFSET_THRESHOLD_LOWER_NONCRITICAL_GO_HIGH      0x01
#define EFI_ASF_EVENT_OFFSET_THRESHOLD_LOWER_CRITICAL                 0x02
#define EFI_ASF_EVENT_OFFSET_THRESHOLD_LOWER_CRITICAL_GO_HIGH         0x03
#define EFI_ASF_EVENT_OFFSET_THRESHOLD_LOWER_NONRECOVERABLE           0x04
#define EFI_ASF_EVENT_OFFSET_THRESHOLD_LOWER_NONRECOVERABLE_GO_HIGH   0x05
#define EFI_ASF_EVENT_OFFSET_THRESHOLD_UPPER_NONCRITICAL_GO_LOW       0x06
#define EFI_ASF_EVENT_OFFSET_THRESHOLD_UPPER_NONCRITICAL              0x07
#define EFI_ASF_EVENT_OFFSET_THRESHOLD_UPPER_CRITICAL_GO_LOW          0x08
#define EFI_ASF_EVENT_OFFSET_THRESHOLD_UPPER_CRITICAL                 0x09
#define EFI_ASF_EVENT_OFFSET_THRESHOLD_UPPER_NONRECOVERABLE_GO_LOW    0x0A
#define EFI_ASF_EVENT_OFFSET_THRESHOLD_UPPER_NONRECOVERABLE           0x0B

#define EFI_ASF_EVENT_OFFSET_DISCRETE_EVENT_PREDICTIVE_FAIL_DEASSERT  0x00
#define EFI_ASF_EVENT_OFFSET_DISCRETE_EVENT_PREDICTIVE_FAIL_ASSERT    0x01

#define EFI_ASF_EVENT_OFFSET_SEVERITY_TO_OK                           0x00
#define EFI_ASF_EVENT_OFFSET_SEVERITY_MORE_NONCRITICAL                0x01
#define EFI_ASF_EVENT_OFFSET_SEVERITY_MORE_CRITICAL                   0x02
#define EFI_ASF_EVENT_OFFSET_SEVERITY_MORE_NONRECOVERABLE             0x03
#define EFI_ASF_EVENT_OFFSET_SEVERITY_LESS_NONCRITICAL                0x04
#define EFI_ASF_EVENT_OFFSET_SEVERITY_LESS_CRITICAL                   0x05
#define EFI_ASF_EVENT_OFFSET_SEVERITY_TO_NONRECOVERABLE               0x06
#define EFI_ASF_EVENT_OFFSET_SEVERITY_MONITOR                         0x07
#define EFI_ASF_EVENT_OFFSET_SEVERITY_INFORMATIONAL                   0x08

#define EFI_ASF_EVENT_OFFSET_CHASSIS_INTRUSION_GENERIC                0x00

#define EFI_ASF_EVENT_OFFSET_PROCESSOR_IERR                           0x00

#define EFI_ASF_EVENT_OFFSET_SECURITY_VIOLATION_USER_PASSWORD         0x01
#define EFI_ASF_EVENT_OFFSET_SECURITY_VIOLATION_SUPERVISOR_PASSWORD   0x02
#define EFI_ASF_EVENT_OFFSET_SECURITY_VIOLATION_NETWORK_PASSWORD      0x03
#define EFI_ASF_EVENT_OFFSET_SECURITY_VIOLATION_OTHER_PASSWORD        0x04
#define EFI_ASF_EVENT_OFFSET_SECURITY_VIOLATION_OUTOFBAND_PASSWORD    0x05

#define EFI_ASF_EVENT_OFFSET_BATTERY_LOW_WARNING                      0x00
#define EFI_ASF_EVENT_OFFSET_BATTERY_LOW_CRITICAL                     0x01
#define EFI_ASF_EVENT_OFFSET_BATTERY_PRESENCE_DETECTED                0x02

#define EFI_ASF_EVENT_OFFSET_POWER_SUPPLY_PRESENCE                    0x00
#define EFI_ASF_EVENT_OFFSET_POWER_SUPPLY_FAILURE                     0x01
#define EFI_ASF_EVENT_OFFSET_POWER_SUPPLY_PREDICTIVE_FAILURE          0x02

#define EFI_ASF_EVENT_OFFSET_POWER_UNIT_DOWN                          0x00
#define EFI_ASF_EVENT_OFFSET_POWER_UNIT_CYCLE                         0x01
#define EFI_ASF_EVENT_OFFSET_POWER_UNIT_240VA_DOWN                    0x02
#define EFI_ASF_EVENT_OFFSET_POWER_UNIT_INTERLOCK_DOWN                0x03
#define EFI_ASF_EVENT_OFFSET_POWER_UNIT_AC_LOST                       0x04
#define EFI_ASF_EVENT_OFFSET_POWER_UNIT_SOFT_CONTROL_FAILURE          0x05
#define EFI_ASF_EVENT_OFFSET_POWER_UNIT_FAILURE                       0x06

//
// ASF Event Source Type Code
// IPMI/PET related stuff
//
#define EFI_ASF_EVENT_SOURCE_TYPE_ASF10             0x68
#define EFI_ASF_EVENT_SOURCE_TYPE_PLATFORM_FIRMWARE 0x00
#define EFI_ASF_EVENT_SOURCE_TYPE_OS                0x48

//
// ASF Event Severity Codes
// IPMI/PET related stuff
//
#define EFI_ASF_EVENT_SEVERITY_CODE_MONITOR         0x01
#define EFI_ASF_EVENT_SEVERITY_CODE_INFORMATION     0x02
#define EFI_ASF_EVENT_SEVERITY_CODE_OK              0x04
#define EFI_ASF_EVENT_SEVERITY_CODE_NONCRITICAL     0x08
#define EFI_ASF_EVENT_SEVERITY_CODE_CRITICAL        0x10
#define EFI_ASF_EVENT_SEVERITY_CODE_NONRECOVERABLE  0x20

///
/// ASF Sensor Device Codes
/// IPMI/PET related stuff
///
#define EFI_ASF_SENSOR_DEVICE 0xFF

///
/// ASF Sensor Number Codes
/// IPMI/PET related stuff
///
#define EFI_ASF_SENSOR_NUMBER 0xFF

//
// ASF Entity Codes
// IPMI/PET related stuff
//
#define EFI_ASF_ENTITY_UNSPECIFIED              0x00
#define EFI_ASF_ENTITY_OTHER                    0x01
#define EFI_ASF_ENTITY_UNKNOWN                  0x02
#define EFI_ASF_ENTITY_PROCESSOR                0x03
#define EFI_ASF_ENTITY_DISK                     0x04
#define EFI_ASF_ENTITY_PERIPHERAL               0x05
#define EFI_ASF_ENTITY_SYSTEM_MGMT_MOD          0x06
#define EFI_ASF_ENTITY_SYSTEM_BOARD             0x07
#define EFI_ASF_ENTITY_POWER_SUPPLY             0x0A
#define EFI_ASF_ENTITY_ADDIN_CARD               0x0B
#define EFI_ASF_ENTITY_CHASIS_BACK_PANEL_BOARD  0x17
#define EFI_ASF_ENTITY_MEMORY                   0x20
#define EFI_ASF_ENTITY_SYSTEM_MGMT_SW           0x21
#define EFI_ASF_ENTITY_BIOS                     0x22
#define EFI_ASF_ENTITY_OS                       0x23
#define EFI_ASF_ENTITY_REMOTE_OOB_MGMT          0x26
#define EFI_ASF_ENTITY_INTEL_AMT                0x26

///
/// ASF Event Data Codes for System Firmware Progress Events
/// IPMI/PET related stuff
///
#define EFI_ASF_FP_EVENT_DATA0          0x40

#define EFI_ASF_FP_UNSPECIFIED          0x00
#define EFI_ASF_FP_MEMORY_INIT          0x01
#define EFI_ASF_FP_HDD_INIT             0x02
#define EFI_ASF_FP_AP_INIT              0x03
#define EFI_ASF_FP_USER_AUTHENTICATION  0x04
#define EFI_ASF_FP_USER_SETUP           0x05
#define EFI_ASF_FP_USB_RESOURCE_CONFIG  0x06
#define EFI_ASF_FP_PCI_RESOURCE_CONFIG  0x07
#define EFI_ASF_FP_OPTION_ROM_INIT      0x08
#define EFI_ASF_FP_VIDEO_INIT           0x09
#define EFI_ASF_FP_CACHE_INIT           0x0A
#define EFI_ASF_FP_SMBUS_INIT           0x0B
#define EFI_ASF_FP_KBC_INIT             0x0C
#define EFI_ASF_FP_EC_INIT              0x0D
#define EFI_ASF_FP_AMTBX_INIT           0x0D
#define EFI_ASF_FP_ATTACH_DOCK          0x0E
#define EFI_ASF_FP_ENABLE_DOCK          0x0F
#define EFI_ASF_FP_EJECT_DOCK           0x10
#define EFI_ASF_FP_DISABLE_DOCK         0x11
#define EFI_ASF_FP_WAKE_OS              0x12
#define EFI_ASF_FP_BOOT_OS              0x13
#define EFI_ASF_FP_BOARD_INIT           0x14
#define EFI_ASF_FP_RESERVED             0x15
#define EFI_ASF_FP_FDC_INIT             0x16
#define EFI_ASF_FP_KBD_TEST             0x17
#define EFI_ASF_FP_MOUSE_TEST           0x18
#define EFI_ASF_FP_BSP_INIT             0x19

///
/// ASF Event Data Codes for System Firmware Error Events
/// IPMI/PET related stuff
///
#define EFI_ASF_FE_EVENT_DATA0                    0x40

#define EFI_ASF_FE_UNSPECIFIED                    0x00
#define EFI_ASF_FE_AMTBX_FAILURE                  0x00
#define EFI_ASF_FE_NO_MEMORY                      0x01
#define EFI_ASF_FE_MEMORY_FAILURE                 0x02
#define EFI_ASF_FE_HDD_FAILURE                    0x03
#define EFI_ASF_FE_BOARD_FAILURE                  0x04
#define EFI_ASF_FE_FDC_FAILURE                    0x05
#define EFI_ASF_FE_HDC_FAILURE                    0x06
#define EFI_ASF_FE_KBD_FAILURE                    0x07
#define EFI_ASF_FE_REMOVABLE_BOOT_MEDIA_NOT_FOUND 0x08
#define EFI_ASF_FE_VIDEO_CONTROLLER_FAILURE       0x09
#define EFI_ASF_FE_VIDEO_DEVICE_NOT_FOUND         0x0A
#define EFI_ASF_FE_ROM_CORRUPTED                  0x0B
#define EFI_ASF_FE_CPU_VOLTAGE_FAILURE            0x0C
#define EFI_ASF_FE_CPU_MISMATCH_FAILURE           0x0D

//
// AMT BX Software Class DXE Subclass Progress Code definitions.
//
#define EFI_SW_DXE_AMTBX_OPROM_DONE               (EFI_OEM_SPECIFIC | 0x00000000)
#define EFI_SW_DXE_AMTBX_OPROM_NOT_STARTED        (EFI_OEM_SPECIFIC | 0x00000001)
#define EFI_SW_DXE_AMTBX_SLEEP_S4_NOT_TAKEN       (EFI_OEM_SPECIFIC | 0x00000002)
#define EFI_SW_DXE_AMTBX_SLEEP_S5_NOT_TAKEN       (EFI_OEM_SPECIFIC | 0x00000003)
#define EFI_SW_DXE_AMTBX_SLEEP_UNSPECD_NOT_TAKEN  (EFI_OEM_SPECIFIC | 0x00000004)
#define EFI_SW_DXE_AMTBX_ERROR_ACTION_INTF        (EFI_OEM_SPECIFIC | 0x00000005)
#define EFI_SW_DXE_AMTBX_ERROR_ACTION_INV         (EFI_OEM_SPECIFIC | 0x00000006)
#define EFI_SW_DXE_AMTBX_ERROR_ACTION_SETUP       (EFI_OEM_SPECIFIC | 0x00000007)
#define EFI_SW_DXE_AMTBX_ERROR_ACTION_FAIL        (EFI_OEM_SPECIFIC | 0x00000008)
#define EFI_SW_DXE_AMTBX_ERROR_ACTION_UNSPECD     (EFI_OEM_SPECIFIC | 0x00000009)
#define EFI_SW_DXE_AMTBX_OTHER_UNSPECD            (EFI_OEM_SPECIFIC | 0x00000009)

typedef enum {
  EfiAsfMessageBiosPresent,
  EfiAsfMessageMemInit,
  EfiAsfMessageMemInitDone,
  EfiAsfMessageHddInit,
  EfiAsfMessageApInit,
  EfiAsfMessageUserAuthentication,
  EfiAsfMessageUserInitSetup,
  EfiAsfMessageUsbResourceConfig,
  EfiAsfMessagePciResourceConfig,
  EfiAsfMessageOptionRomInit,
  EfiAsfMessageVideoInit,
  EfiAsfMessageCacheInit,
  EfiAsfMessageSmbusInit,
  EfiAsfMessageKbcInit,
  EfiAsfMessageEmControllerInit,
  EfiAsfMessageDockAttached,
  EfiAsfMessageEnableDock,
  EfiAsfMessageDockEject,
  EfiAsfMessageDisableDock,
  EfiAsfMessageOSWakeVector,
  EfiAsfMessageMotherBoardInit,
  EfiAsfMessageFdcInit,
  EfiAsfMessageKeyboardTest,
  EfiAsfMessageMouseTest,
  EfiAsfMessageBspInit,
  EfiAsfMessageAmtBxDone,
  EfiAsfMessageAmtBxNotStarted,
  EfiAsfMessageAmtBxSleepS4ReportedNotTaken,
  EfiAsfMessageAmtBxSleepS5ReportedNotTaken,
  EfiAsfMessageAmtBxSleepUnspecifiedReportedNotTaken,
  EfiAsfMessageAmtBxErrActionIntF,
  EfiAsfMessageAmtBxErrActionInv,
  EfiAsfMessageAmtBxErrActionSetup,
  EfiAsfMessageAmtBxErrActionFailure,
  EfiAsfMessageAmtBxErrActionUnspecified,
  EfiAsfMessageAmtBxOtherUnspecified,
  EfiAsfMessageNoMemory,
  EfiAsfMessageMemoryFailure,
  EfiAsfMessageHddFailure,
  EfiAsfMessageBoardFailure,
  EfiAsfMessageFdcFailure,
  EfiAsfMessageHdcFailure,
  EfiAsfMessageKbdFailure,
  EfiAsfMessageNoFdd,
  EfiAsfMessageVideoControllerFailure,
  EfiAsfMessageNoVideo,
  EfiAsfMessageFirmwareCorruption,
  EfiAsfMessageCpuVidMismatch,
  EfiAsfMessageCpuSpeedMatchingFailure,
  EfiAsfMessageUserAuthenticationInvalid,
  EfiAsfMessageHddAuthenticationInvalid,
  EfiAsfMessageNoBootMedia,
  EfiAsfMessageTemperatureGenericCritical,
  EfiAsfMessageTemperatureGenericWarning,
  EfiAsfMessageTemperatureOverCritical,
  EfiAsfMessageTemperatureOverWarning,
  EfiAsfMessageTemperatureUnderCritical,
  EfiAsfMessageTemperatureUnderWarning,
  EfiAsfMessageVoltageGenericCritical,
  EfiAsfMessageVoltageOverCritical,
  EfiAsfMessageVoltageUnderCritical,
  EfiAsfMessageFanGenericCritical,
  EfiAsfMessageFanPredictiveFailure,
  EfiAsfMessageFanLowSpeedCritical,
  EfiAsfMessageFanLowSpeedWarning,
  EfiAsfMessageBatteryLowWarning,
  EfiAsfMessageBatteryLowCritical,
  EfiAsfMessageBatteryPresenceDetected,
  EfiAsfMessagePowerFailure,
  EfiAsfMessageChassisIntrusion,
} EFI_FRAMEWORK_MESSAGE_TYPE;

//
// StatusCode extension for ASF -- start
//
#define EFI_CU_HP_EC_VID_MISMATCH                   (EFI_SUBCLASS_SPECIFIC | 0x0000000E)
#define EFI_CU_HP_EC_SPEED_MATCHING_FAILURE         (EFI_SUBCLASS_SPECIFIC | 0x0000000F)

#define EFI_PERIPHERAL_EMBEDDED_CONTROLLER          (EFI_PERIPHERAL | 0x000D0000)
#define EFI_PERIPHERAL_DOCK                         (EFI_PERIPHERAL | 0x000E0000)

#define EFI_PERIPHERAL_BATTERY                      (EFI_PERIPHERAL | 0x000F0000)
#define EFI_P_BATTERY_PC_LOW_WARNING                (EFI_SUBCLASS_SPECIFIC | 0x00000000)
#define EFI_P_BATTERY_EC_LOW_CRITICAL               (EFI_SUBCLASS_SPECIFIC | 0x00000000)

#define EFI_PERIPHERAL_FAN                          (EFI_PERIPHERAL | 0x00100000)
#define EFI_P_FAN_EC_GENERIC_CRITICAL               (EFI_SUBCLASS_SPECIFIC | 0x00000000)
#define EFI_P_FAN_EC_PREDICTIVE_FAILURE             (EFI_SUBCLASS_SPECIFIC | 0x00000001)
#define EFI_P_FAN_EC_LOW_SPEED_CRITICAL             (EFI_SUBCLASS_SPECIFIC | 0x00000002)
#define EFI_P_FAN_PC_LOW_SPEED_WARNING              (EFI_SUBCLASS_SPECIFIC | 0x00000002)

#define EFI_PERIPHERAL_TEMPERATURE                  (EFI_PERIPHERAL | 0x00110000)
#define EFI_P_TEMERATURE_EC_GENERIC_CRITICAL        (EFI_SUBCLASS_SPECIFIC | 0x00000000)
#define EFI_P_TEMERATURE_PC_GENERIC_WARNING         (EFI_SUBCLASS_SPECIFIC | 0x00000000)
#define EFI_P_TEMERATURE_EC_OVER_CRITICAL           (EFI_SUBCLASS_SPECIFIC | 0x00000001)
#define EFI_P_TEMERATURE_PC_OVER_WARNING            (EFI_SUBCLASS_SPECIFIC | 0x00000001)
#define EFI_P_TEMERATURE_EC_UNDER_CRITICAL          (EFI_SUBCLASS_SPECIFIC | 0x00000002)
#define EFI_P_TEMERATURE_PC_UNDER_WARNING           (EFI_SUBCLASS_SPECIFIC | 0x00000002)

#define EFI_PERIPHERAL_VOLTAGE                      (EFI_PERIPHERAL | 0x00120000)
#define EFI_P_VOLTAGE_EC_GENERIC_CRITICAL           (EFI_SUBCLASS_SPECIFIC | 0x00000000)
#define EFI_P_VOLTAGE_EC_OVER_CRITICAL              (EFI_SUBCLASS_SPECIFIC | 0x00000001)
#define EFI_P_VOLTAGE_EC_UNDER_CRITICAL             (EFI_SUBCLASS_SPECIFIC | 0x00000002)

#define EFI_PERIPHERAL_POWER_SUPPLY                 (EFI_PERIPHERAL | 0x00130000)
#define EFI_P_POWER_SUPPLY_EC_FAILURE               (EFI_SUBCLASS_SPECIFIC | 0x00000000)
#define EFI_P_POWER_SUPPLY_EC_PREDICTIVE_FAILURE    (EFI_SUBCLASS_SPECIFIC | 0x00000001)

#define EFI_CU_CHIPSET_PC_INTRUDER_DETECT           (EFI_SUBCLASS_SPECIFIC | 0x00000000)

#define EFI_SW_DXE_BS_EC_NO_BOOT_MEDIA              (EFI_SUBCLASS_SPECIFIC | 0x00000001)
#define EFI_SW_DXE_BS_EC_AUTHENTICATE_USER_INVALID  (EFI_SUBCLASS_SPECIFIC | 0x00000002)
#define EFI_SW_DXE_BS_EC_AUTHENTICATE_HDD_INVALID   (EFI_SUBCLASS_SPECIFIC | 0x00000003)

//
// StatusCode extension for ASF -- end
//
#endif