eeb6794edf908bcaf3346d4835ea20a82cd82ddf
[mirror_edk2.git] / IntelFrameworkPkg / Include / Common / DataHubRecords.h
1 /** @file
2 This file defines GUIDs and associated data structures for records posted to the Data Hub.
3 The producers of these records use these definitions to construct records.
4 The consumers of these records use these definitions to retrieve, filter and parse records.
5
6 Copyright (c) 2007, Intel Corporation
7 All rights reserved. This program and the accompanying materials
8 are licensed and made available under the terms and conditions of the BSD License
9 which accompanies this distribution. The full text of the license may be found at
10 http://opensource.org/licenses/bsd-license.php
11
12 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
13 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
14
15 Module Name: DataHubRecords.h
16
17 @par Revision Reference:
18 DataHubRecord.h include all data hub sub class defitions from Cache subclass
19 spec 0.9, DataHub SubClass spec 0.9, Memory SubClass Spec 0.9, Processor
20 Subclass spec 0.9,Misc SubClass spec 0.9.
21
22 **/
23
24 #ifndef _DATAHUB_RECORDS_H_
25 #define _DATAHUB_RECORDS_H_
26
27 #define EFI_PROCESSOR_SUBCLASS_VERSION 0x00010000
28
29
30 #pragma pack(1)
31
32 typedef struct _USB_PORT_DEVICE_PATH {
33 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
34 PCI_DEVICE_PATH PciBusDevicePath;
35 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
36 } USB_PORT_DEVICE_PATH;
37
38 //
39 // IDE
40 //
41 typedef struct _IDE_DEVICE_PATH {
42 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
43 PCI_DEVICE_PATH PciBusDevicePath;
44 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
45 } IDE_DEVICE_PATH;
46
47 //
48 // RMC Connector
49 //
50 typedef struct _RMC_CONN_DEVICE_PATH {
51 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
52 PCI_DEVICE_PATH PciBridgeDevicePath;
53 PCI_DEVICE_PATH PciBusDevicePath;
54 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
55 } RMC_CONN_DEVICE_PATH;
56
57 //
58 // RIDE
59 //
60 typedef struct _RIDE_DEVICE_PATH {
61 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
62 PCI_DEVICE_PATH PciBridgeDevicePath;
63 PCI_DEVICE_PATH PciBusDevicePath;
64 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
65 } RIDE_DEVICE_PATH;
66
67 //
68 // Gigabit NIC
69 //
70 typedef struct _GB_NIC_DEVICE_PATH {
71 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
72 PCI_DEVICE_PATH PciBridgeDevicePath;
73 PCI_DEVICE_PATH PciXBridgeDevicePath;
74 PCI_DEVICE_PATH PciXBusDevicePath;
75 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
76 } GB_NIC_DEVICE_PATH;
77
78 //
79 // P/S2 Connector
80 //
81 typedef struct _PS2_CONN_DEVICE_PATH {
82 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
83 PCI_DEVICE_PATH LpcBridgeDevicePath;
84 ACPI_HID_DEVICE_PATH LpcBusDevicePath;
85 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
86 } PS2_CONN_DEVICE_PATH;
87
88 //
89 // Serial Port Connector
90 //
91 typedef struct _SERIAL_CONN_DEVICE_PATH {
92 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
93 PCI_DEVICE_PATH LpcBridgeDevicePath;
94 ACPI_HID_DEVICE_PATH LpcBusDevicePath;
95 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
96 } SERIAL_CONN_DEVICE_PATH;
97
98 //
99 // Parallel Port Connector
100 //
101 typedef struct _PARALLEL_CONN_DEVICE_PATH {
102 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
103 PCI_DEVICE_PATH LpcBridgeDevicePath;
104 ACPI_HID_DEVICE_PATH LpcBusDevicePath;
105 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
106 } PARALLEL_CONN_DEVICE_PATH;
107
108 //
109 // Floopy Connector
110 //
111 typedef struct _FLOOPY_CONN_DEVICE_PATH {
112 ACPI_HID_DEVICE_PATH PciRootBridgeDevicePath;
113 PCI_DEVICE_PATH LpcBridgeDevicePath;
114 ACPI_HID_DEVICE_PATH LpcBusDevicePath;
115 EFI_DEVICE_PATH_PROTOCOL EndDevicePath;
116 } FLOOPY_CONN_DEVICE_PATH;
117
118 typedef union _EFI_MISC_PORT_DEVICE_PATH {
119 USB_PORT_DEVICE_PATH UsbDevicePath;
120 IDE_DEVICE_PATH IdeDevicePath;
121 RMC_CONN_DEVICE_PATH RmcConnDevicePath;
122 RIDE_DEVICE_PATH RideDevicePath;
123 GB_NIC_DEVICE_PATH GbNicDevicePath;
124 PS2_CONN_DEVICE_PATH Ps2ConnDevicePath;
125 SERIAL_CONN_DEVICE_PATH SerialConnDevicePath;
126 PARALLEL_CONN_DEVICE_PATH ParallelConnDevicePath;
127 FLOOPY_CONN_DEVICE_PATH FloppyConnDevicePath;
128 } EFI_MISC_PORT_DEVICE_PATH;
129
130 #pragma pack()
131
132 //
133 // String Token Definition
134 //
135 #define EFI_STRING_TOKEN UINT16
136
137 typedef struct {
138 UINT32 Version;
139 UINT32 HeaderSize;
140 UINT16 Instance;
141 UINT16 SubInstance;
142 UINT32 RecordType;
143 } EFI_SUBCLASS_TYPE1_HEADER;
144
145 typedef struct {
146 EFI_GUID ProducerName;
147 UINT16 Instance;
148 UINT16 SubInstance;
149 } EFI_INTER_LINK_DATA;
150
151
152 //
153 // EXP data
154 //
155
156 typedef struct {
157 UINT16 Value;
158 UINT16 Exponent;
159 } EFI_EXP_BASE2_DATA;
160
161
162 typedef struct {
163 UINT16 Value;
164 UINT16 Exponent;
165 } EFI_EXP_BASE10_DATA;
166
167 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_MAX_CORE_FREQUENCY_DATA;
168
169 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA;
170
171 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_CORE_FREQUENCY_DATA;
172
173 typedef EFI_EXP_BASE10_DATA *EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA;
174
175 typedef EFI_EXP_BASE10_DATA *EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA;
176
177 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_FSB_FREQUENCY_DATA;
178
179 typedef STRING_REF EFI_PROCESSOR_VERSION_DATA;
180
181 typedef STRING_REF EFI_PROCESSOR_MANUFACTURER_DATA;
182
183 typedef STRING_REF EFI_PROCESSOR_SERIAL_NUMBER_DATA;
184
185 typedef STRING_REF EFI_PROCESSOR_ASSET_TAG_DATA;
186
187 typedef struct {
188 UINT32 ProcessorSteppingId:4;
189 UINT32 ProcessorModel: 4;
190 UINT32 ProcessorFamily: 4;
191 UINT32 ProcessorType: 2;
192 UINT32 ProcessorReserved1: 2;
193 UINT32 ProcessorXModel: 4;
194 UINT32 ProcessorXFamily: 8;
195 UINT32 ProcessorReserved2: 4;
196 } EFI_PROCESSOR_SIGNATURE;
197
198 typedef struct {
199 UINT32 ProcessorBrandIndex :8;
200 UINT32 ProcessorClflush :8;
201 UINT32 ProcessorReserved :8;
202 UINT32 ProcessorDfltApicId :8;
203 } EFI_PROCESSOR_MISC_INFO;
204
205 typedef struct {
206 UINT32 ProcessorFpu: 1;
207 UINT32 ProcessorVme: 1;
208 UINT32 ProcessorDe: 1;
209 UINT32 ProcessorPse: 1;
210 UINT32 ProcessorTsc: 1;
211 UINT32 ProcessorMsr: 1;
212 UINT32 ProcessorPae: 1;
213 UINT32 ProcessorMce: 1;
214 UINT32 ProcessorCx8: 1;
215 UINT32 ProcessorApic: 1;
216 UINT32 ProcessorReserved1: 1;
217 UINT32 ProcessorSep: 1;
218 UINT32 ProcessorMtrr: 1;
219 UINT32 ProcessorPge: 1;
220 UINT32 ProcessorMca: 1;
221 UINT32 ProcessorCmov: 1;
222 UINT32 ProcessorPat: 1;
223 UINT32 ProcessorPse36: 1;
224 UINT32 ProcessorPsn: 1;
225 UINT32 ProcessorClfsh: 1;
226 UINT32 ProcessorReserved2: 1;
227 UINT32 ProcessorDs: 1;
228 UINT32 ProcessorAcpi: 1;
229 UINT32 ProcessorMmx: 1;
230 UINT32 ProcessorFxsr: 1;
231 UINT32 ProcessorSse: 1;
232 UINT32 ProcessorSse2: 1;
233 UINT32 ProcessorSs: 1;
234 UINT32 ProcessorReserved3: 1;
235 UINT32 ProcessorTm: 1;
236 UINT32 ProcessorReserved4: 2;
237 } EFI_PROCESSOR_FEATURE_FLAGS;
238
239 typedef struct {
240 EFI_PROCESSOR_SIGNATURE Signature;
241 EFI_PROCESSOR_MISC_INFO MiscInfo;
242 UINT32 Reserved;
243 EFI_PROCESSOR_FEATURE_FLAGS FeatureFlags;
244 } EFI_PROCESSOR_ID_DATA;
245
246 typedef enum {
247 EfiProcessorOther = 1,
248 EfiProcessorUnknown = 2,
249 EfiCentralProcessor = 3,
250 EfiMathProcessor = 4,
251 EfiDspProcessor = 5,
252 EfiVideoProcessor = 6
253 } EFI_PROCESSOR_TYPE_DATA;
254
255 typedef enum {
256 EfiProcessorFamilyOther = 1,
257 EfiProcessorFamilyUnknown = 2,
258 EfiProcessorFamily8086 = 3,
259 EfiProcessorFamily80286 = 4,
260 EfiProcessorFamilyIntel386 = 5,
261 EfiProcessorFamilyIntel486 = 6,
262 EfiProcessorFamily8087 = 7,
263 EfiProcessorFamily80287 = 8,
264 EfiProcessorFamily80387 = 9,
265 EfiProcessorFamily80487 = 0x0A,
266 EfiProcessorFamilyPentium = 0x0B,
267 EfiProcessorFamilyPentiumPro = 0x0C,
268 EfiProcessorFamilyPentiumII = 0x0D,
269 EfiProcessorFamilyPentiumMMX = 0x0E,
270 EfiProcessorFamilyCeleron = 0x0F,
271 EfiProcessorFamilyPentiumIIXeon = 0x10,
272 EfiProcessorFamilyPentiumIII = 0x11,
273 EfiProcessorFamilyM1 = 0x12,
274 EfiProcessorFamilyM1Reserved1 = 0x13,
275 EfiProcessorFamilyM1Reserved2 = 0x14,
276 EfiProcessorFamilyM1Reserved3 = 0x15,
277 EfiProcessorFamilyM1Reserved4 = 0x16,
278 EfiProcessorFamilyM1Reserved5 = 0x17,
279 EfiProcessorFamilyM1Reserved6 = 0x18,
280 EfiProcessorFamilyK5 = 0x19,
281 EfiProcessorFamilyK5Reserved1 = 0x1A,
282 EfiProcessorFamilyK5Reserved2 = 0x1B,
283 EfiProcessorFamilyK5Reserved3 = 0x1C,
284 EfiProcessorFamilyK5Reserved4 = 0x1D,
285 EfiProcessorFamilyK5Reserved5 = 0x1E,
286 EfiProcessorFamilyK5Reserved6 = 0x1F,
287 EfiProcessorFamilyPowerPC = 0x20,
288 EfiProcessorFamilyPowerPC601 = 0x21,
289 EfiProcessorFamilyPowerPC603 = 0x22,
290 EfiProcessorFamilyPowerPC603Plus = 0x23,
291 EfiProcessorFamilyPowerPC604 = 0x24,
292 EfiProcessorFamilyAlpha2 = 0x30,
293 EfiProcessorFamilyMips = 0x40,
294 EfiProcessorFamilySparc = 0x50,
295 EfiProcessorFamily68040 = 0x60,
296 EfiProcessorFamily68xxx = 0x61,
297 EfiProcessorFamily68000 = 0x62,
298 EfiProcessorFamily68010 = 0x63,
299 EfiProcessorFamily68020 = 0x64,
300 EfiProcessorFamily68030 = 0x65,
301 EfiProcessorFamilyHobbit = 0x70,
302 EfiProcessorFamilyWeitek = 0x80,
303 EfiProcessorFamilyPARISC = 0x90,
304 EfiProcessorFamilyV30 = 0xA0,
305 EfiProcessorFamilyPentiumIIIXeon = 0xB0,
306 EfiProcessorFamilyPentiumIIISpeedStep = 0xB1,
307 EfiProcessorFamilyPentium4 = 0xB2,
308 EfiProcessorFamilyIntelXeon = 0xB3,
309 EfiProcessorFamilyAS400 = 0xB4,
310 EfiProcessorFamilyIntelXeonMP = 0xB5,
311 EfiProcessorFamilyAMDAthlonXP = 0xB6,
312 EfiProcessorFamilyAMDAthlonMP = 0xB7,
313 EfiProcessorFamilyIntelPentiumM = 0xB9,
314 EfiProcessorFamilyIntelCeleronD = 0xBA,
315 EfiProcessorFamilyIntelPentiumD = 0xBB,
316 EfiProcessorFamilyIntelPentiumEx = 0xBC,
317 EfiProcessorFamilyIBM390 = 0xC8,
318 EfiProcessorFamilyG4 = 0xC9,
319 EfiProcessorFamilyG5 = 0xCA,
320 EfiProcessorFamilyi860 = 0xFA,
321 EfiProcessorFamilyi960 = 0xFB
322 } EFI_PROCESSOR_FAMILY_DATA;
323
324 typedef EFI_EXP_BASE10_DATA EFI_PROCESSOR_VOLTAGE_DATA;
325
326 typedef EFI_PHYSICAL_ADDRESS EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA;
327
328 typedef UINT32 EFI_PROCESSOR_APIC_ID_DATA;
329
330 typedef UINT32 EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA;
331
332 typedef enum {
333 EfiProcessorIa32Microcode = 1,
334 EfiProcessorIpfPalAMicrocode = 2,
335 EfiProcessorIpfPalBMicrocode = 3
336 } EFI_PROCESSOR_MICROCODE_TYPE;
337
338 typedef struct {
339 EFI_PROCESSOR_MICROCODE_TYPE ProcessorMicrocodeType;
340 UINT32 ProcessorMicrocodeRevisionNumber;
341 } EFI_PROCESSOR_MICROCODE_REVISION_DATA;
342
343 typedef struct {
344 UINT32 CpuStatus :3;
345 UINT32 Reserved1 :3;
346 UINT32 SocketPopulated :1;
347 UINT32 Reserved2 :1;
348 UINT32 ApicEnable :1;
349 UINT32 BootApplicationProcessor :1;
350 UINT32 Reserved3 :22;
351 } EFI_PROCESSOR_STATUS_DATA;
352
353 typedef enum {
354 EfiCpuStatusUnknown = 0,
355 EfiCpuStatusEnabled = 1,
356 EfiCpuStatusDisabledByUser = 2,
357 EfiCpuStatusDisabledbyBios = 3,
358 EfiCpuStatusIdle = 4,
359 EfiCpuStatusOther = 7
360 } EFI_CPU_STATUS;
361
362 typedef enum {
363 EfiProcessorSocketOther = 1,
364 EfiProcessorSocketUnknown = 2,
365 EfiProcessorSocketDaughterBoard = 3,
366 EfiProcessorSocketZIF = 4,
367 EfiProcessorSocketReplacePiggyBack = 5,
368 EfiProcessorSocketNone = 6,
369 EfiProcessorSocketLIF = 7,
370 EfiProcessorSocketSlot1 = 8,
371 EfiProcessorSocketSlot2 = 9,
372 EfiProcessorSocket370Pin = 0xA,
373 EfiProcessorSocketSlotA = 0xB,
374 EfiProcessorSocketSlotM = 0xC,
375 EfiProcessorSocket423 = 0xD,
376 EfiProcessorSocketA462 = 0xE,
377 EfiProcessorSocket478 = 0xF,
378 EfiProcessorSocket754 = 0x10,
379 EfiProcessorSocket940 = 0x11,
380 EfiProcessorSocket939 = 0x12,
381 EfiProcessorSocketmPGA604 = 0x13,
382 EfiProcessorSocketLGA771 = 0x14,
383 EfiProcessorSocketLGA775 = 0x15
384
385 } EFI_PROCESSOR_SOCKET_TYPE_DATA;
386
387 typedef STRING_REF EFI_PROCESSOR_SOCKET_NAME_DATA;
388
389 typedef EFI_INTER_LINK_DATA EFI_CACHE_ASSOCIATION_DATA;
390
391 typedef enum {
392 EfiProcessorHealthy = 1,
393 EfiProcessorPerfRestricted = 2,
394 EfiProcessorFuncRestricted = 3
395 } EFI_PROCESSOR_HEALTH_STATUS;
396
397 typedef UINTN EFI_PROCESSOR_PACKAGE_NUMBER_DATA;
398
399
400 typedef enum {
401 ProcessorCoreFrequencyRecordType = 1,
402 ProcessorFsbFrequencyRecordType = 2,
403 ProcessorVersionRecordType = 3,
404 ProcessorManufacturerRecordType = 4,
405 ProcessorSerialNumberRecordType = 5,
406 ProcessorIdRecordType = 6,
407 ProcessorTypeRecordType = 7,
408 ProcessorFamilyRecordType = 8,
409 ProcessorVoltageRecordType = 9,
410 ProcessorApicBaseAddressRecordType = 10,
411 ProcessorApicIdRecordType = 11,
412 ProcessorApicVersionNumberRecordType = 12,
413 CpuUcodeRevisionDataRecordType = 13,
414 ProcessorStatusRecordType = 14,
415 ProcessorSocketTypeRecordType = 15,
416 ProcessorSocketNameRecordType = 16,
417 CacheAssociationRecordType = 17,
418 ProcessorMaxCoreFrequencyRecordType = 18,
419 ProcessorAssetTagRecordType = 19,
420 ProcessorMaxFsbFrequencyRecordType = 20,
421 ProcessorPackageNumberRecordType = 21,
422 ProcessorCoreFrequencyListRecordType = 22,
423 ProcessorFsbFrequencyListRecordType = 23,
424 ProcessorHealthStatusRecordType = 24
425 } EFI_CPU_VARIABLE_RECORD_TYPE;
426
427 typedef union {
428 EFI_PROCESSOR_CORE_FREQUENCY_LIST_DATA ProcessorCoreFrequencyList;
429 EFI_PROCESSOR_FSB_FREQUENCY_LIST_DATA ProcessorFsbFrequencyList;
430 EFI_PROCESSOR_SERIAL_NUMBER_DATA ProcessorSerialNumber;
431 EFI_PROCESSOR_CORE_FREQUENCY_DATA ProcessorCoreFrequency;
432 EFI_PROCESSOR_FSB_FREQUENCY_DATA ProcessorFsbFrequency;
433 EFI_PROCESSOR_MAX_CORE_FREQUENCY_DATA ProcessorMaxCoreFrequency;
434 EFI_PROCESSOR_MAX_FSB_FREQUENCY_DATA ProcessorMaxFsbFrequency;
435 EFI_PROCESSOR_VERSION_DATA ProcessorVersion;
436 EFI_PROCESSOR_MANUFACTURER_DATA ProcessorManufacturer;
437 EFI_PROCESSOR_ID_DATA ProcessorId;
438 EFI_PROCESSOR_TYPE_DATA ProcessorType;
439 EFI_PROCESSOR_FAMILY_DATA ProcessorFamily;
440 EFI_PROCESSOR_VOLTAGE_DATA ProcessorVoltage;
441 EFI_PROCESSOR_APIC_BASE_ADDRESS_DATA ProcessorApicBase;
442 EFI_PROCESSOR_APIC_ID_DATA ProcessorApicId;
443 EFI_PROCESSOR_APIC_VERSION_NUMBER_DATA ProcessorApicVersionNumber;
444 EFI_PROCESSOR_MICROCODE_REVISION_DATA CpuUcodeRevisionData;
445 EFI_PROCESSOR_STATUS_DATA ProcessorStatus;
446 EFI_PROCESSOR_SOCKET_TYPE_DATA ProcessorSocketType;
447 EFI_PROCESSOR_SOCKET_NAME_DATA ProcessorSocketName;
448 EFI_PROCESSOR_ASSET_TAG_DATA ProcessorAssetTag;
449 EFI_PROCESSOR_HEALTH_STATUS ProcessorHealthStatus;
450 EFI_PROCESSOR_PACKAGE_NUMBER_DATA ProcessorPackageNumber;
451 } EFI_CPU_VARIABLE_RECORD;
452
453 typedef struct {
454 EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader;
455 EFI_CPU_VARIABLE_RECORD VariableRecord;
456 } EFI_CPU_DATA_RECORD;
457
458 #define EFI_CACHE_SUBCLASS_VERSION 0x00010000
459
460
461 typedef EFI_EXP_BASE2_DATA EFI_CACHE_SIZE_DATA;
462
463 typedef EFI_EXP_BASE2_DATA EFI_MAXIMUM_CACHE_SIZE_DATA;
464
465 typedef EFI_EXP_BASE10_DATA EFI_CACHE_SPEED_DATA;
466
467 typedef STRING_REF EFI_CACHE_SOCKET_DATA;
468
469 typedef struct {
470 UINT32 Other :1;
471 UINT32 Unknown :1;
472 UINT32 NonBurst :1;
473 UINT32 Burst :1;
474 UINT32 PipelineBurst :1;
475 UINT32 Asynchronous :1;
476 UINT32 Synchronous :1;
477 UINT32 Reserved :25;
478 } EFI_CACHE_SRAM_TYPE_DATA;
479
480 typedef enum {
481 EfiCacheErrorOther = 1,
482 EfiCacheErrorUnknown = 2,
483 EfiCacheErrorNone = 3,
484 EfiCacheErrorParity = 4,
485 EfiCacheErrorSingleBit = 5,
486 EfiCacheErrorMultiBit = 6
487 } EFI_CACHE_ERROR_TYPE_DATA;
488
489 typedef enum {
490 EfiCacheTypeOther = 1,
491 EfiCacheTypeUnknown = 2,
492 EfiCacheTypeInstruction = 3,
493 EfiCacheTypeData = 4,
494 EfiCacheTypeUnified = 5
495 } EFI_CACHE_TYPE_DATA;
496
497 typedef enum {
498 EfiCacheAssociativityOther = 1,
499 EfiCacheAssociativityUnknown = 2,
500 EfiCacheAssociativityDirectMapped = 3,
501 EfiCacheAssociativity2Way = 4,
502 EfiCacheAssociativity4Way = 5,
503 EfiCacheAssociativityFully = 6,
504 EfiCacheAssociativity8Way = 7,
505 EfiCacheAssociativity16Way = 8
506 } EFI_CACHE_ASSOCIATIVITY_DATA;
507
508 typedef struct {
509 UINT32 Level :3;
510 UINT32 Socketed :1;
511 UINT32 Reserved2 :1;
512 UINT32 Location :2;
513 UINT32 Enable :1;
514 UINT32 OperationalMode :2;
515 UINT32 Reserved1 :22;
516 } EFI_CACHE_CONFIGURATION_DATA;
517
518 #define EFI_CACHE_L1 1
519 #define EFI_CACHE_L2 2
520 #define EFI_CACHE_L3 3
521 #define EFI_CACHE_L4 4
522 #define EFI_CACHE_LMAX EFI_CACHE_L4
523
524 #define EFI_CACHE_SOCKETED 1
525 #define EFI_CACHE_NOT_SOCKETED 0
526
527 typedef enum {
528 EfiCacheInternal = 0,
529 EfiCacheExternal = 1,
530 EfiCacheReserved = 2,
531 EfiCacheUnknown = 3
532 } EFI_CACHE_LOCATION;
533
534 #define EFI_CACHE_ENABLED 1
535 #define EFI_CACHE_DISABLED 0
536
537 typedef enum {
538 EfiCacheWriteThrough = 0,
539 EfiCacheWriteBack = 1,
540 EfiCacheDynamicMode = 2,
541 EfiCacheUnknownMode = 3
542 } EFI_CACHE_OPERATIONAL_MODE;
543
544
545
546 typedef enum {
547 CacheSizeRecordType = 1,
548 MaximumSizeCacheRecordType = 2,
549 CacheSpeedRecordType = 3,
550 CacheSocketRecordType = 4,
551 CacheSramTypeRecordType = 5,
552 CacheInstalledSramTypeRecordType = 6,
553 CacheErrorTypeRecordType = 7,
554 CacheTypeRecordType = 8,
555 CacheAssociativityRecordType = 9,
556 CacheConfigRecordType = 10
557 } EFI_CACHE_VARIABLE_RECORD_TYPE;
558
559
560 typedef union {
561 EFI_CACHE_SIZE_DATA CacheSize;
562 EFI_MAXIMUM_CACHE_SIZE_DATA MaximumCacheSize;
563 EFI_CACHE_SPEED_DATA CacheSpeed;
564 EFI_CACHE_SOCKET_DATA CacheSocket;
565 EFI_CACHE_SRAM_TYPE_DATA CacheSramType;
566 EFI_CACHE_SRAM_TYPE_DATA CacheInstalledSramType;
567 EFI_CACHE_ERROR_TYPE_DATA CacheErrorType;
568 EFI_CACHE_TYPE_DATA CacheType;
569 EFI_CACHE_ASSOCIATIVITY_DATA CacheAssociativity;
570 EFI_CACHE_CONFIGURATION_DATA CacheConfig;
571 EFI_CACHE_ASSOCIATION_DATA CacheAssociation;
572 } EFI_CACHE_VARIABLE_RECORD;
573
574 typedef struct {
575 EFI_SUBCLASS_TYPE1_HEADER DataRecordHeader;
576 EFI_CACHE_VARIABLE_RECORD VariableRecord;
577 } EFI_CACHE_DATA_RECORD;
578
579 #define EFI_MEMORY_SUBCLASS_VERSION 0x0100
580
581
582 #define EFI_MEMORY_SIZE_RECORD_NUMBER 0x00000001
583
584 typedef enum _EFI_MEMORY_REGION_TYPE {
585 EfiMemoryRegionMemory = 0x01,
586 EfiMemoryRegionReserved = 0x02,
587 EfiMemoryRegionAcpi = 0x03,
588 EfiMemoryRegionNvs = 0x04
589 } EFI_MEMORY_REGION_TYPE;
590
591 typedef struct {
592 UINT32 ProcessorNumber;
593 UINT16 StartBusNumber;
594 UINT16 EndBusNumber;
595 EFI_MEMORY_REGION_TYPE MemoryRegionType;
596 EFI_EXP_BASE2_DATA MemorySize;
597 EFI_PHYSICAL_ADDRESS MemoryStartAddress;
598 } EFI_MEMORY_SIZE_DATA;
599
600
601 #define EFI_MEMORY_ARRAY_LOCATION_RECORD_NUMBER 0x00000002
602
603 typedef enum _EFI_MEMORY_ARRAY_LOCATION {
604 EfiMemoryArrayLocationOther = 0x01,
605 EfiMemoryArrayLocationUnknown = 0x02,
606 EfiMemoryArrayLocationSystemBoard = 0x03,
607 EfiMemoryArrayLocationIsaAddonCard = 0x04,
608 EfiMemoryArrayLocationEisaAddonCard = 0x05,
609 EfiMemoryArrayLocationPciAddonCard = 0x06,
610 EfiMemoryArrayLocationMcaAddonCard = 0x07,
611 EfiMemoryArrayLocationPcmciaAddonCard = 0x08,
612 EfiMemoryArrayLocationProprietaryAddonCard = 0x09,
613 EfiMemoryArrayLocationNuBus = 0x0A,
614 EfiMemoryArrayLocationPc98C20AddonCard = 0xA0,
615 EfiMemoryArrayLocationPc98C24AddonCard = 0xA1,
616 EfiMemoryArrayLocationPc98EAddonCard = 0xA2,
617 EfiMemoryArrayLocationPc98LocalBusAddonCard = 0xA3
618 } EFI_MEMORY_ARRAY_LOCATION;
619
620 typedef enum _EFI_MEMORY_ARRAY_USE {
621 EfiMemoryArrayUseOther = 0x01,
622 EfiMemoryArrayUseUnknown = 0x02,
623 EfiMemoryArrayUseSystemMemory = 0x03,
624 EfiMemoryArrayUseVideoMemory = 0x04,
625 EfiMemoryArrayUseFlashMemory = 0x05,
626 EfiMemoryArrayUseNonVolatileRam = 0x06,
627 EfiMemoryArrayUseCacheMemory = 0x07,
628 } EFI_MEMORY_ARRAY_USE;
629
630 typedef enum _EFI_MEMORY_ERROR_CORRECTION {
631 EfiMemoryErrorCorrectionOther = 0x01,
632 EfiMemoryErrorCorrectionUnknown = 0x02,
633 EfiMemoryErrorCorrectionNone = 0x03,
634 EfiMemoryErrorCorrectionParity = 0x04,
635 EfiMemoryErrorCorrectionSingleBitEcc = 0x05,
636 EfiMemoryErrorCorrectionMultiBitEcc = 0x06,
637 EfiMemoryErrorCorrectionCrc = 0x07,
638 } EFI_MEMORY_ERROR_CORRECTION;
639
640 typedef struct {
641 EFI_MEMORY_ARRAY_LOCATION MemoryArrayLocation;
642 EFI_MEMORY_ARRAY_USE MemoryArrayUse;
643 EFI_MEMORY_ERROR_CORRECTION MemoryErrorCorrection;
644 EFI_EXP_BASE2_DATA MaximumMemoryCapacity;
645 UINT16 NumberMemoryDevices;
646 } EFI_MEMORY_ARRAY_LOCATION_DATA;
647
648
649 #define EFI_MEMORY_ARRAY_LINK_RECORD_NUMBER 0x00000003
650
651 typedef enum _EFI_MEMORY_FORM_FACTOR {
652 EfiMemoryFormFactorOther = 0x01,
653 EfiMemoryFormFactorUnknown = 0x02,
654 EfiMemoryFormFactorSimm = 0x03,
655 EfiMemoryFormFactorSip = 0x04,
656 EfiMemoryFormFactorChip = 0x05,
657 EfiMemoryFormFactorDip = 0x06,
658 EfiMemoryFormFactorZip = 0x07,
659 EfiMemoryFormFactorProprietaryCard = 0x08,
660 EfiMemoryFormFactorDimm = 0x09,
661 EfiMemoryFormFactorTsop = 0x0A,
662 EfiMemoryFormFactorRowOfChips = 0x0B,
663 EfiMemoryFormFactorRimm = 0x0C,
664 EfiMemoryFormFactorSodimm = 0x0D,
665 EfiMemoryFormFactorSrimm = 0x0E,
666 EfiMemoryFormFactorFbDimm = 0x0F
667 } EFI_MEMORY_FORM_FACTOR;
668
669 typedef enum _EFI_MEMORY_ARRAY_TYPE {
670 EfiMemoryTypeOther = 0x01,
671 EfiMemoryTypeUnknown = 0x02,
672 EfiMemoryTypeDram = 0x03,
673 EfiMemoryTypeEdram = 0x04,
674 EfiMemoryTypeVram = 0x05,
675 EfiMemoryTypeSram = 0x06,
676 EfiMemoryTypeRam = 0x07,
677 EfiMemoryTypeRom = 0x08,
678 EfiMemoryTypeFlash = 0x09,
679 EfiMemoryTypeEeprom = 0x0A,
680 EfiMemoryTypeFeprom = 0x0B,
681 EfiMemoryTypeEprom = 0x0C,
682 EfiMemoryTypeCdram = 0x0D,
683 EfiMemoryType3Dram = 0x0E,
684 EfiMemoryTypeSdram = 0x0F,
685 EfiMemoryTypeSgram = 0x10,
686 EfiMemoryTypeRdram = 0x11,
687 EfiMemoryTypeDdr = 0x12,
688 EfiMemoryTypeDdr2 = 0x13,
689 EfiMemoryTypeDdr2FbDimm = 0x14
690 } EFI_MEMORY_ARRAY_TYPE;
691
692 typedef struct {
693 UINT32 Reserved :1;
694 UINT32 Other :1;
695 UINT32 Unknown :1;
696 UINT32 FastPaged :1;
697 UINT32 StaticColumn :1;
698 UINT32 PseudoStatic :1;
699 UINT32 Rambus :1;
700 UINT32 Synchronous :1;
701 UINT32 Cmos :1;
702 UINT32 Edo :1;
703 UINT32 WindowDram :1;
704 UINT32 CacheDram :1;
705 UINT32 Nonvolatile :1;
706 UINT32 Reserved1 :19;
707 } EFI_MEMORY_TYPE_DETAIL;
708
709 typedef enum {
710 EfiMemoryStateEnabled = 0,
711 EfiMemoryStateUnknown = 1,
712 EfiMemoryStateUnsupported = 2,
713 EfiMemoryStateError = 3,
714 EfiMemoryStateAbsent = 4,
715 EfiMemoryStateDisabled = 5,
716 EfiMemoryStatePartial = 6
717 } EFI_MEMORY_STATE;
718
719 typedef struct {
720 STRING_REF MemoryDeviceLocator;
721 STRING_REF MemoryBankLocator;
722 STRING_REF MemoryManufacturer;
723 STRING_REF MemorySerialNumber;
724 STRING_REF MemoryAssetTag;
725 STRING_REF MemoryPartNumber;
726 EFI_INTER_LINK_DATA MemoryArrayLink;
727 EFI_INTER_LINK_DATA MemorySubArrayLink;
728 UINT16 MemoryTotalWidth;
729 UINT16 MemoryDataWidth;
730 EFI_EXP_BASE2_DATA MemoryDeviceSize;
731 EFI_MEMORY_FORM_FACTOR MemoryFormFactor;
732 UINT8 MemoryDeviceSet;
733 EFI_MEMORY_ARRAY_TYPE MemoryType;
734 EFI_MEMORY_TYPE_DETAIL MemoryTypeDetail;
735 EFI_EXP_BASE10_DATA MemorySpeed;
736 EFI_MEMORY_STATE MemoryState;
737 } EFI_MEMORY_ARRAY_LINK_DATA;
738
739
740 #define EFI_MEMORY_ARRAY_START_ADDRESS_RECORD_NUMBER 0x00000004
741
742 typedef struct {
743 EFI_PHYSICAL_ADDRESS MemoryArrayStartAddress;
744 EFI_PHYSICAL_ADDRESS MemoryArrayEndAddress;
745 EFI_INTER_LINK_DATA PhysicalMemoryArrayLink;
746 UINT16 MemoryArrayPartitionWidth;
747 } EFI_MEMORY_ARRAY_START_ADDRESS_DATA;
748
749
750 #define EFI_MEMORY_DEVICE_START_ADDRESS_RECORD_NUMBER 0x00000005
751
752 typedef struct {
753 EFI_PHYSICAL_ADDRESS MemoryDeviceStartAddress;
754 EFI_PHYSICAL_ADDRESS MemoryDeviceEndAddress;
755 EFI_INTER_LINK_DATA PhysicalMemoryDeviceLink;
756 EFI_INTER_LINK_DATA PhysicalMemoryArrayLink;
757 UINT8 MemoryDevicePartitionRowPosition;
758 UINT8 MemoryDeviceInterleavePosition;
759 UINT8 MemoryDeviceInterleaveDataDepth;
760 } EFI_MEMORY_DEVICE_START_ADDRESS_DATA;
761
762
763 //
764 // Memory. Channel Device Type - SMBIOS Type 37
765 //
766
767 #define EFI_MEMORY_CHANNEL_TYPE_RECORD_NUMBER 0x00000006
768
769 typedef enum _EFI_MEMORY_CHANNEL_TYPE {
770 EfiMemoryChannelTypeOther = 1,
771 EfiMemoryChannelTypeUnknown = 2,
772 EfiMemoryChannelTypeRambus = 3,
773 EfiMemoryChannelTypeSyncLink = 4
774 } EFI_MEMORY_CHANNEL_TYPE;
775
776 typedef struct {
777 EFI_MEMORY_CHANNEL_TYPE MemoryChannelType;
778 UINT8 MemoryChannelMaximumLoad;
779 UINT8 MemoryChannelDeviceCount;
780 } EFI_MEMORY_CHANNEL_TYPE_DATA;
781
782 #define EFI_MEMORY_CHANNEL_DEVICE_RECORD_NUMBER 0x00000007
783
784 typedef struct {
785 UINT8 DeviceId;
786 EFI_INTER_LINK_DATA DeviceLink;
787 UINT8 MemoryChannelDeviceLoad;
788 } EFI_MEMORY_CHANNEL_DEVICE_DATA;
789
790
791
792 typedef union _EFI_MEMORY_SUBCLASS_RECORDS {
793 EFI_MEMORY_SIZE_DATA SizeData;
794 EFI_MEMORY_ARRAY_LOCATION_DATA ArrayLocationData;
795 EFI_MEMORY_ARRAY_LINK_DATA ArrayLink;
796 EFI_MEMORY_ARRAY_START_ADDRESS_DATA ArrayStartAddress;
797 EFI_MEMORY_DEVICE_START_ADDRESS_DATA DeviceStartAddress;
798 EFI_MEMORY_CHANNEL_TYPE_DATA ChannelTypeData;
799 EFI_MEMORY_CHANNEL_DEVICE_DATA ChannelDeviceData;
800 } EFI_MEMORY_SUBCLASS_RECORDS;
801
802 typedef struct {
803 EFI_SUBCLASS_TYPE1_HEADER Header;
804 EFI_MEMORY_SUBCLASS_RECORDS Record;
805 } EFI_MEMORY_SUBCLASS_DRIVER_DATA;
806
807 #define EFI_MISC_SUBCLASS_VERSION 0x0100
808
809 #pragma pack(1)
810 //
811 //////////////////////////////////////////////////////////////////////////////
812 //
813 // Last PCI Bus Number
814 //
815 #define EFI_MISC_LAST_PCI_BUS_RECORD_NUMBER 0x00000001
816
817 typedef struct {
818 UINT8 LastPciBus;
819 } EFI_MISC_LAST_PCI_BUS_DATA;
820
821 //
822 //////////////////////////////////////////////////////////////////////////////
823 //
824 // Misc. BIOS Vendor - SMBIOS Type 0
825 //
826 #define EFI_MISC_BIOS_VENDOR_RECORD_NUMBER 0x00000002
827
828 typedef struct {
829 UINT64 Reserved1 :2;
830 UINT64 Unknown :1;
831 UINT64 BiosCharacteristicsNotSupported :1;
832 UINT64 IsaIsSupported :1;
833 UINT64 McaIsSupported :1;
834 UINT64 EisaIsSupported :1;
835 UINT64 PciIsSupported :1;
836 UINT64 PcmciaIsSupported :1;
837 UINT64 PlugAndPlayIsSupported :1;
838 UINT64 ApmIsSupported :1;
839 UINT64 BiosIsUpgradable :1;
840 UINT64 BiosShadowingAllowed :1;
841 UINT64 VlVesaIsSupported :1;
842 UINT64 EscdSupportIsAvailable :1;
843 UINT64 BootFromCdIsSupported :1;
844 UINT64 SelectableBootIsSupported :1;
845 UINT64 RomBiosIsSocketed :1;
846 UINT64 BootFromPcmciaIsSupported :1;
847 UINT64 EDDSpecificationIsSupported :1;
848 UINT64 JapaneseNecFloppyIsSupported :1;
849 UINT64 JapaneseToshibaFloppyIsSupported :1;
850 UINT64 Floppy525_360IsSupported :1;
851 UINT64 Floppy525_12IsSupported :1;
852 UINT64 Floppy35_720IsSupported :1;
853 UINT64 Floppy35_288IsSupported :1;
854 UINT64 PrintScreenIsSupported :1;
855 UINT64 Keyboard8042IsSupported :1;
856 UINT64 SerialIsSupported :1;
857 UINT64 PrinterIsSupported :1;
858 UINT64 CgaMonoIsSupported :1;
859 UINT64 NecPc98 :1;
860 UINT64 AcpiIsSupported :1;
861 UINT64 UsbLegacyIsSupported :1;
862 UINT64 AgpIsSupported :1;
863 UINT64 I20BootIsSupported :1;
864 UINT64 Ls120BootIsSupported :1;
865 UINT64 AtapiZipDriveBootIsSupported :1;
866 UINT64 Boot1394IsSupported :1;
867 UINT64 SmartBatteryIsSupported :1;
868 UINT64 BiosBootSpecIsSupported :1;
869 UINT64 FunctionKeyNetworkBootIsSupported :1;
870 UINT64 Reserved :22;
871 } EFI_MISC_BIOS_CHARACTERISTICS;
872
873 typedef struct {
874 UINT64 BiosReserved :16;
875 UINT64 SystemReserved :16;
876 UINT64 Reserved :32;
877 } EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION;
878
879 typedef struct {
880 STRING_REF BiosVendor;
881 STRING_REF BiosVersion;
882 STRING_REF BiosReleaseDate;
883 EFI_PHYSICAL_ADDRESS BiosStartingAddress;
884 EFI_EXP_BASE2_DATA BiosPhysicalDeviceSize;
885 EFI_MISC_BIOS_CHARACTERISTICS BiosCharacteristics1;
886 EFI_MISC_BIOS_CHARACTERISTICS_EXTENSION BiosCharacteristics2;
887 UINT8 BiosMajorRelease;
888 UINT8 BiosMinorRelease;
889 UINT8 BiosEmbeddedFirmwareMajorRelease;
890 UINT8 BiosEmbeddedFirmwareMinorRelease;
891 } EFI_MISC_BIOS_VENDOR_DATA;
892
893 //
894 //////////////////////////////////////////////////////////////////////////////
895 //
896 // Misc. System Manufacturer - SMBIOS Type 1
897 //
898 #define EFI_MISC_SYSTEM_MANUFACTURER_RECORD_NUMBER 0x00000003
899
900 typedef enum {
901 EfiSystemWakeupTypeReserved = 0,
902 EfiSystemWakeupTypeOther = 1,
903 EfiSystemWakeupTypeUnknown = 2,
904 EfiSystemWakeupTypeApmTimer = 3,
905 EfiSystemWakeupTypeModemRing = 4,
906 EfiSystemWakeupTypeLanRemote = 5,
907 EfiSystemWakeupTypePowerSwitch = 6,
908 EfiSystemWakeupTypePciPme = 7,
909 EfiSystemWakeupTypeAcPowerRestored = 8,
910 } EFI_MISC_SYSTEM_WAKEUP_TYPE;
911
912 typedef struct {
913 STRING_REF SystemManufacturer;
914 STRING_REF SystemProductName;
915 STRING_REF SystemVersion;
916 STRING_REF SystemSerialNumber;
917 EFI_GUID SystemUuid;
918 EFI_MISC_SYSTEM_WAKEUP_TYPE SystemWakeupType;
919 STRING_REF SystemSKUNumber;
920 STRING_REF SystemFamily;
921 } EFI_MISC_SYSTEM_MANUFACTURER_DATA;
922
923 //
924 //////////////////////////////////////////////////////////////////////////////
925 //
926 // Misc. Base Board Manufacturer - SMBIOS Type 2
927 //
928 #define EFI_MISC_BASE_BOARD_MANUFACTURER_RECORD_NUMBER 0x00000004
929
930 typedef struct {
931 UINT32 Motherboard :1;
932 UINT32 RequiresDaughterCard :1;
933 UINT32 Removable :1;
934 UINT32 Replaceable :1;
935 UINT32 HotSwappable :1;
936 UINT32 Reserved :27;
937 } EFI_BASE_BOARD_FEATURE_FLAGS;
938
939 typedef enum {
940 EfiBaseBoardTypeUnknown = 1,
941 EfiBaseBoardTypeOther = 2,
942 EfiBaseBoardTypeServerBlade = 3,
943 EfiBaseBoardTypeConnectivitySwitch = 4,
944 EfiBaseBoardTypeSystemManagementModule = 5,
945 EfiBaseBoardTypeProcessorModule = 6,
946 EfiBaseBoardTypeIOModule = 7,
947 EfiBaseBoardTypeMemoryModule = 8,
948 EfiBaseBoardTypeDaughterBoard = 9,
949 EfiBaseBoardTypeMotherBoard = 0xA,
950 EfiBaseBoardTypeProcessorMemoryModule = 0xB,
951 EfiBaseBoardTypeProcessorIOModule = 0xC,
952 EfiBaseBoardTypeInterconnectBoard = 0xD,
953 } EFI_BASE_BOARD_TYPE;
954
955 typedef struct {
956 STRING_REF BaseBoardManufacturer;
957 STRING_REF BaseBoardProductName;
958 STRING_REF BaseBoardVersion;
959 STRING_REF BaseBoardSerialNumber;
960 STRING_REF BaseBoardAssetTag;
961 STRING_REF BaseBoardChassisLocation;
962 EFI_BASE_BOARD_FEATURE_FLAGS BaseBoardFeatureFlags;
963 EFI_BASE_BOARD_TYPE BaseBoardType;
964 EFI_INTER_LINK_DATA BaseBoardChassisLink;
965 UINT32 BaseBoardNumberLinks;
966 EFI_INTER_LINK_DATA LinkN;
967 } EFI_MISC_BASE_BOARD_MANUFACTURER_DATA;
968
969 //
970 //////////////////////////////////////////////////////////////////////////////
971 //
972 // Misc. System/Chassis Enclosure - SMBIOS Type 3
973 //
974 #define EFI_MISC_CHASSIS_MANUFACTURER_RECORD_NUMBER 0x00000005
975
976 typedef enum {
977 EfiMiscChassisTypeOther = 0x1,
978 EfiMiscChassisTypeUnknown = 0x2,
979 EfiMiscChassisTypeDeskTop = 0x3,
980 EfiMiscChassisTypeLowProfileDesktop = 0x4,
981 EfiMiscChassisTypePizzaBox = 0x5,
982 EfiMiscChassisTypeMiniTower = 0x6,
983 EfiMiscChassisTypeTower = 0x7,
984 EfiMiscChassisTypePortable = 0x8,
985 EfiMiscChassisTypeLapTop = 0x9,
986 EfiMiscChassisTypeNotebook = 0xA,
987 EfiMiscChassisTypeHandHeld = 0xB,
988 EfiMiscChassisTypeDockingStation = 0xC,
989 EfiMiscChassisTypeAllInOne = 0xD,
990 EfiMiscChassisTypeSubNotebook = 0xE,
991 EfiMiscChassisTypeSpaceSaving = 0xF,
992 EfiMiscChassisTypeLunchBox = 0x10,
993 EfiMiscChassisTypeMainServerChassis = 0x11,
994 EfiMiscChassisTypeExpansionChassis = 0x12,
995 EfiMiscChassisTypeSubChassis = 0x13,
996 EfiMiscChassisTypeBusExpansionChassis = 0x14,
997 EfiMiscChassisTypePeripheralChassis = 0x15,
998 EfiMiscChassisTypeRaidChassis = 0x16,
999 EfiMiscChassisTypeRackMountChassis = 0x17,
1000 EfiMiscChassisTypeSealedCasePc = 0x18,
1001 EfiMiscChassisMultiSystemChassis = 0x19,
1002 } EFI_MISC_CHASSIS_TYPE;
1003
1004 typedef struct {
1005 UINT32 ChassisType :16;
1006 UINT32 ChassisLockPresent:1;
1007 UINT32 Reserved :15;
1008 } EFI_MISC_CHASSIS_STATUS;
1009
1010 typedef enum {
1011 EfiChassisStateOther = 0x01,
1012 EfiChassisStateUnknown = 0x02,
1013 EfiChassisStateSafe = 0x03,
1014 EfiChassisStateWarning = 0x04,
1015 EfiChassisStateCritical = 0x05,
1016 EfiChassisStateNonRecoverable = 0x06,
1017 } EFI_MISC_CHASSIS_STATE;
1018
1019 typedef enum {
1020 EfiChassisSecurityStatusOther = 0x01,
1021 EfiChassisSecurityStatusUnknown = 0x02,
1022 EfiChassisSecurityStatusNone = 0x03,
1023 EfiChassisSecurityStatusExternalInterfaceLockedOut = 0x04,
1024 EfiChassisSecurityStatusExternalInterfaceLockedEnabled = 0x05,
1025 } EFI_MISC_CHASSIS_SECURITY_STATE;
1026
1027 typedef struct {
1028 UINT32 RecordType :1;
1029 UINT32 Reserved :24;
1030 } EFI_MISC_ELEMENT_TYPE;
1031
1032 typedef struct {
1033 EFI_MISC_ELEMENT_TYPE ChassisElementType;
1034 EFI_INTER_LINK_DATA ChassisElementStructure;
1035 EFI_BASE_BOARD_TYPE ChassisBaseBoard;
1036 UINT32 ChassisElementMinimum;
1037 UINT32 ChassisElementMaximum;
1038 } EFI_MISC_ELEMENTS;
1039
1040 typedef struct {
1041 STRING_REF ChassisManufacturer;
1042 STRING_REF ChassisVersion;
1043 STRING_REF ChassisSerialNumber;
1044 STRING_REF ChassisAssetTag;
1045 EFI_MISC_CHASSIS_STATUS ChassisType;
1046 EFI_MISC_CHASSIS_STATE ChassisBootupState;
1047 EFI_MISC_CHASSIS_STATE ChassisPowerSupplyState;
1048 EFI_MISC_CHASSIS_STATE ChassisThermalState;
1049 EFI_MISC_CHASSIS_SECURITY_STATE ChassisSecurityState;
1050 UINT32 ChassisOemDefined;
1051 UINT32 ChassisHeight;
1052 UINT32 ChassisNumberPowerCords;
1053 UINT32 ChassisElementCount;
1054 UINT32 ChassisElementRecordLength;//
1055 EFI_MISC_ELEMENTS ChassisElements;
1056 } EFI_MISC_CHASSIS_MANUFACTURER_DATA;
1057
1058 //
1059 //////////////////////////////////////////////////////////////////////////////
1060 //
1061 // Misc. Port Connector Information - SMBIOS Type 8
1062 //
1063 #define EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_RECORD_NUMBER 0x00000006
1064
1065 typedef enum {
1066 EfiPortConnectorTypeNone = 0x00,
1067 EfiPortConnectorTypeCentronics = 0x01,
1068 EfiPortConnectorTypeMiniCentronics = 0x02,
1069 EfiPortConnectorTypeProprietary = 0x03,
1070 EfiPortConnectorTypeDB25Male = 0x04,
1071 EfiPortConnectorTypeDB25Female = 0x05,
1072 EfiPortConnectorTypeDB15Male = 0x06,
1073 EfiPortConnectorTypeDB15Female = 0x07,
1074 EfiPortConnectorTypeDB9Male = 0x08,
1075 EfiPortConnectorTypeDB9Female = 0x09,
1076 EfiPortConnectorTypeRJ11 = 0x0A,
1077 EfiPortConnectorTypeRJ45 = 0x0B,
1078 EfiPortConnectorType50PinMiniScsi = 0x0C,
1079 EfiPortConnectorTypeMiniDin = 0x0D,
1080 EfiPortConnectorTypeMicriDin = 0x0E,
1081 EfiPortConnectorTypePS2 = 0x0F,
1082 EfiPortConnectorTypeInfrared = 0x10,
1083 EfiPortConnectorTypeHpHil = 0x11,
1084 EfiPortConnectorTypeUsb = 0x12,
1085 EfiPortConnectorTypeSsaScsi = 0x13,
1086 EfiPortConnectorTypeCircularDin8Male = 0x14,
1087 EfiPortConnectorTypeCircularDin8Female = 0x15,
1088 EfiPortConnectorTypeOnboardIde = 0x16,
1089 EfiPortConnectorTypeOnboardFloppy = 0x17,
1090 EfiPortConnectorType9PinDualInline = 0x18,
1091 EfiPortConnectorType25PinDualInline = 0x19,
1092 EfiPortConnectorType50PinDualInline = 0x1A,
1093 EfiPortConnectorType68PinDualInline = 0x1B,
1094 EfiPortConnectorTypeOnboardSoundInput = 0x1C,
1095 EfiPortConnectorTypeMiniCentronicsType14 = 0x1D,
1096 EfiPortConnectorTypeMiniCentronicsType26 = 0x1E,
1097 EfiPortConnectorTypeHeadPhoneMiniJack = 0x1F,
1098 EfiPortConnectorTypeBNC = 0x20,
1099 EfiPortConnectorType1394 = 0x21,
1100 EfiPortConnectorTypePC98 = 0xA0,
1101 EfiPortConnectorTypePC98Hireso = 0xA1,
1102 EfiPortConnectorTypePCH98 = 0xA2,
1103 EfiPortConnectorTypePC98Note = 0xA3,
1104 EfiPortConnectorTypePC98Full = 0xA4,
1105 EfiPortConnectorTypeOther = 0xFF,
1106 } EFI_MISC_PORT_CONNECTOR_TYPE;
1107
1108 typedef enum {
1109 EfiPortTypeNone = 0x00,
1110 EfiPortTypeParallelXtAtCompatible = 0x01,
1111 EfiPortTypeParallelPortPs2 = 0x02,
1112 EfiPortTypeParallelPortEcp = 0x03,
1113 EfiPortTypeParallelPortEpp = 0x04,
1114 EfiPortTypeParallelPortEcpEpp = 0x05,
1115 EfiPortTypeSerialXtAtCompatible = 0x06,
1116 EfiPortTypeSerial16450Compatible = 0x07,
1117 EfiPortTypeSerial16550Compatible = 0x08,
1118 EfiPortTypeSerial16550ACompatible = 0x09,
1119 EfiPortTypeScsi = 0x0A,
1120 EfiPortTypeMidi = 0x0B,
1121 EfiPortTypeJoyStick = 0x0C,
1122 EfiPortTypeKeyboard = 0x0D,
1123 EfiPortTypeMouse = 0x0E,
1124 EfiPortTypeSsaScsi = 0x0F,
1125 EfiPortTypeUsb = 0x10,
1126 EfiPortTypeFireWire = 0x11,
1127 EfiPortTypePcmciaTypeI = 0x12,
1128 EfiPortTypePcmciaTypeII = 0x13,
1129 EfiPortTypePcmciaTypeIII = 0x14,
1130 EfiPortTypeCardBus = 0x15,
1131 EfiPortTypeAccessBusPort = 0x16,
1132 EfiPortTypeScsiII = 0x17,
1133 EfiPortTypeScsiWide = 0x18,
1134 EfiPortTypePC98 = 0x19,
1135 EfiPortTypePC98Hireso = 0x1A,
1136 EfiPortTypePCH98 = 0x1B,
1137 EfiPortTypeVideoPort = 0x1C,
1138 EfiPortTypeAudioPort = 0x1D,
1139 EfiPortTypeModemPort = 0x1E,
1140 EfiPortTypeNetworkPort = 0x1F,
1141 EfiPortType8251Compatible = 0xA0,
1142 EfiPortType8251FifoCompatible = 0xA1,
1143 EfiPortTypeOther = 0xFF,
1144 } EFI_MISC_PORT_TYPE;
1145
1146 typedef struct {
1147 STRING_REF PortInternalConnectorDesignator;
1148 STRING_REF PortExternalConnectorDesignator;
1149 EFI_MISC_PORT_CONNECTOR_TYPE PortInternalConnectorType;
1150 EFI_MISC_PORT_CONNECTOR_TYPE PortExternalConnectorType;
1151 EFI_MISC_PORT_TYPE PortType;
1152 EFI_MISC_PORT_DEVICE_PATH PortPath;
1153 } EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA;
1154
1155 //
1156 //////////////////////////////////////////////////////////////////////////////
1157 //
1158 // Misc. System Slots - SMBIOS Type 9
1159 //
1160 #define EFI_MISC_SYSTEM_SLOT_DESIGNATION_RECORD_NUMBER 0x00000007
1161
1162 typedef enum {
1163 EfiSlotTypeOther = 0x01,
1164 EfiSlotTypeUnknown = 0x02,
1165 EfiSlotTypeIsa = 0x03,
1166 EfiSlotTypeMca = 0x04,
1167 EfiSlotTypeEisa = 0x05,
1168 EfiSlotTypePci = 0x06,
1169 EfiSlotTypePcmcia = 0x07,
1170 EfiSlotTypeVlVesa = 0x08,
1171 EfiSlotTypeProprietary = 0x09,
1172 EfiSlotTypeProcessorCardSlot = 0x0A,
1173 EfiSlotTypeProprietaryMemoryCardSlot = 0x0B,
1174 EfiSlotTypeIORiserCardSlot = 0x0C,
1175 EfiSlotTypeNuBus = 0x0D,
1176 EfiSlotTypePci66MhzCapable = 0x0E,
1177 EfiSlotTypeAgp = 0x0F,
1178 EfiSlotTypeApg2X = 0x10,
1179 EfiSlotTypeAgp4X = 0x11,
1180 EfiSlotTypePciX = 0x12,
1181 EfiSlotTypeAgp4x = 0x13,
1182 EfiSlotTypePC98C20 = 0xA0,
1183 EfiSlotTypePC98C24 = 0xA1,
1184 EfiSlotTypePC98E = 0xA2,
1185 EfiSlotTypePC98LocalBus = 0xA3,
1186 EfiSlotTypePC98Card = 0xA4,
1187 EfiSlotTypePciExpress = 0xA5
1188 } EFI_MISC_SLOT_TYPE;
1189
1190 typedef enum {
1191 EfiSlotDataBusWidthOther = 0x01,
1192 EfiSlotDataBusWidthUnknown = 0x02,
1193 EfiSlotDataBusWidth8Bit = 0x03,
1194 EfiSlotDataBusWidth16Bit = 0x04,
1195 EfiSlotDataBusWidth32Bit = 0x05,
1196 EfiSlotDataBusWidth64Bit = 0x06,
1197 EfiSlotDataBusWidth128Bit = 0x07,
1198 } EFI_MISC_SLOT_DATA_BUS_WIDTH;
1199
1200 typedef enum {
1201 EfiSlotUsageOther = 1,
1202 EfiSlotUsageUnknown = 2,
1203 EfiSlotUsageAvailable = 3,
1204 EfiSlotUsageInUse = 4,
1205 } EFI_MISC_SLOT_USAGE;
1206
1207 typedef enum {
1208 EfiSlotLengthOther = 1,
1209 EfiSlotLengthUnknown = 2,
1210 EfiSlotLengthShort = 3,
1211 EfiSlotLengthLong = 4
1212 } EFI_MISC_SLOT_LENGTH;
1213
1214 typedef struct {
1215 UINT32 CharacteristicsUnknown :1;
1216 UINT32 Provides50Volts :1;
1217 UINT32 Provides33Volts :1;
1218 UINT32 SharedSlot :1;
1219 UINT32 PcCard16Supported :1;
1220 UINT32 CardBusSupported :1;
1221 UINT32 ZoomVideoSupported :1;
1222 UINT32 ModemRingResumeSupported:1;
1223 UINT32 PmeSignalSupported :1;
1224 UINT32 HotPlugDevicesSupported :1;
1225 UINT32 SmbusSignalSupported :1;
1226 UINT32 Reserved :21;
1227 } EFI_MISC_SLOT_CHARACTERISTICS;
1228
1229 typedef struct {
1230 STRING_REF SlotDesignation;
1231 EFI_MISC_SLOT_TYPE SlotType;
1232 EFI_MISC_SLOT_DATA_BUS_WIDTH SlotDataBusWidth;
1233 EFI_MISC_SLOT_USAGE SlotUsage;
1234 EFI_MISC_SLOT_LENGTH SlotLength;
1235 UINT16 SlotId;
1236 EFI_MISC_SLOT_CHARACTERISTICS SlotCharacteristics;
1237 EFI_DEVICE_PATH_PROTOCOL SlotDevicePath;
1238 } EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA;
1239
1240 //
1241 //////////////////////////////////////////////////////////////////////////////
1242 //
1243 // Misc. Onboard Device - SMBIOS Type 10
1244 //
1245 #define EFI_MISC_ONBOARD_DEVICE_RECORD_NUMBER 0x00000008
1246
1247 typedef enum {
1248 EfiOnBoardDeviceTypeOther = 1,
1249 EfiOnBoardDeviceTypeUnknown = 2,
1250 EfiOnBoardDeviceTypeVideo = 3,
1251 EfiOnBoardDeviceTypeScsiController = 4,
1252 EfiOnBoardDeviceTypeEthernet = 5,
1253 EfiOnBoardDeviceTypeTokenRing = 6,
1254 EfiOnBoardDeviceTypeSound = 7,
1255 } EFI_MISC_ONBOARD_DEVICE_TYPE;
1256
1257 typedef struct {
1258 UINT32 DeviceType :16;
1259 UINT32 DeviceEnabled :1;
1260 UINT32 Reserved :15;
1261 } EFI_MISC_ONBOARD_DEVICE_STATUS;
1262
1263 typedef struct {
1264 STRING_REF OnBoardDeviceDescription;
1265 EFI_MISC_ONBOARD_DEVICE_STATUS OnBoardDeviceStatus;
1266 EFI_DEVICE_PATH_PROTOCOL OnBoardDevicePath;
1267 } EFI_MISC_ONBOARD_DEVICE_DATA;
1268
1269 //
1270 //////////////////////////////////////////////////////////////////////////////
1271 //
1272 // Misc. BIOS Language Information - SMBIOS Type 11
1273 //
1274 #define EFI_MISC_OEM_STRING_RECORD_NUMBER 0x00000009
1275
1276 typedef struct {
1277 STRING_REF OemStringRef[1];
1278 } EFI_MISC_OEM_STRING_DATA;
1279
1280 //
1281 //////////////////////////////////////////////////////////////////////////////
1282 //
1283 // Misc. System Options - SMBIOS Type 12
1284 //
1285 typedef struct {
1286 STRING_REF SystemOptionStringRef[1];
1287 } EFI_MISC_SYSTEM_OPTION_STRING_DATA;
1288
1289 #define EFI_MISC_SYSTEM_OPTION_STRING_RECORD_NUMBER 0x0000000A
1290
1291 //
1292 //////////////////////////////////////////////////////////////////////////////
1293 //
1294 // Misc. Number of Installable Languages - SMBIOS Type 13
1295 //
1296 #define EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_RECORD_NUMBER 0x0000000B
1297
1298 typedef struct {
1299 UINT32 AbbreviatedLanguageFormat :1;
1300 UINT32 Reserved :31;
1301 } EFI_MISC_LANGUAGE_FLAGS;
1302
1303 typedef struct {
1304 UINT16 NumberOfInstallableLanguages;
1305 EFI_MISC_LANGUAGE_FLAGS LanguageFlags;
1306 UINT16 CurrentLanguageNumber;
1307 } EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA;
1308
1309 //
1310 //////////////////////////////////////////////////////////////////////////////
1311 //
1312 // Misc. System Language String
1313 //
1314 #define EFI_MISC_SYSTEM_LANGUAGE_STRING_RECORD_NUMBER 0x0000000C
1315
1316 typedef struct {
1317 UINT16 LanguageId;
1318 STRING_REF SystemLanguageString;
1319 } EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA;
1320
1321 //
1322 //////////////////////////////////////////////////////////////////////////////
1323 //
1324 // Group Associations - SMBIOS Type 14
1325 //
1326 #define EFI_MISC_GROUP_NAME_RECORD_NUMBER 0x0000000D
1327
1328 typedef struct {
1329 STRING_REF GroupName;
1330 UINT16 NumberGroupItems;
1331 UINT16 GroupId;
1332 } EFI_MISC_GROUP_NAME_DATA;
1333
1334 //
1335 //////////////////////////////////////////////////////////////////////////////
1336 //
1337 // Group Item Set Element
1338 //
1339 #define EFI_MISC_GROUP_ITEM_SET_RECORD_NUMBER 0x0000000E
1340
1341 typedef struct {
1342 EFI_GUID SubClass;
1343 EFI_INTER_LINK_DATA GroupLink;
1344 UINT16 GroupId;
1345 UINT16 GroupElementId;
1346 } EFI_MISC_GROUP_ITEM_SET_DATA;
1347
1348 // Misc. System Event Log - SMBIOS Type 15
1349 //
1350 #define EFI_MISC_SYSTEM_EVENT_LOG_RECORD_NUMBER 0x0000000D
1351 typedef struct {
1352 UINT16 LogAreaLength;
1353 UINT16 LogHeaderStartOffset;
1354 UINT16 LogDataStartOffset;
1355 UINT8 AccessMethod;
1356 UINT8 LogStatus;
1357 UINT32 LogChangeToken;
1358 UINT32 AccessMethodAddress;
1359 UINT8 LogHeaderFormat;
1360 UINT8 NumberOfSupportedLogType;
1361 UINT8 LengthOfLogDescriptor;
1362 } EFI_MISC_SYSTEM_EVENT_LOG_DATA;
1363
1364 //
1365 // Access Method.
1366 // 0x00~0x04: as following definition
1367 // 0x05~0x7f: Available for future assignment.
1368 // 0x80~0xff: BIOS Vendor/OEM-specific.
1369 //
1370 #define ACCESS_INDEXIO_1INDEX8BIT_DATA8BIT 0x00
1371 #define ACCESS_INDEXIO_2INDEX8BIT_DATA8BIT 0X01
1372 #define ACCESS_INDEXIO_1INDEX16BIT_DATA8BIT 0X02
1373 #define ACCESS_MEMORY_MAPPED 0x03
1374 #define ACCESS_GPNV 0x04
1375
1376 //
1377 //////////////////////////////////////////////////////////////////////////////
1378 //
1379 // Misc. Pointing Device Type - SMBIOS Type 21
1380 //
1381 #define EFI_MISC_POINTING_DEVICE_TYPE_RECORD_NUMBER 0x0000000F
1382
1383 typedef enum {
1384 EfiPointingDeviceTypeOther = 0x01,
1385 EfiPointingDeviceTypeUnknown = 0x02,
1386 EfiPointingDeviceTypeMouse = 0x03,
1387 EfiPointingDeviceTypeTrackBall = 0x04,
1388 EfiPointingDeviceTypeTrackPoint = 0x05,
1389 EfiPointingDeviceTypeGlidePoint = 0x06,
1390 EfiPointingDeviceTouchPad = 0x07,
1391 EfiPointingDeviceTouchScreen = 0x08,
1392 EfiPointingDeviceOpticalSensor = 0x09,
1393 } EFI_MISC_POINTING_DEVICE_TYPE;
1394
1395 typedef enum {
1396 EfiPointingDeviceInterfaceOther = 0x01,
1397 EfiPointingDeviceInterfaceUnknown = 0x02,
1398 EfiPointingDeviceInterfaceSerial = 0x03,
1399 EfiPointingDeviceInterfacePs2 = 0x04,
1400 EfiPointingDeviceInterfaceInfrared = 0x05,
1401 EfiPointingDeviceInterfaceHpHil = 0x06,
1402 EfiPointingDeviceInterfaceBusMouse = 0x07,
1403 EfiPointingDeviceInterfaceADB = 0x08,
1404 EfiPointingDeviceInterfaceBusMouseDB9 = 0xA0,
1405 EfiPointingDeviceInterfaceBusMouseMicroDin = 0xA1,
1406 EfiPointingDeviceInterfaceUsb = 0xA2,
1407 } EFI_MISC_POINTING_DEVICE_INTERFACE;
1408
1409 typedef struct {
1410 EFI_MISC_POINTING_DEVICE_TYPE PointingDeviceType;
1411 EFI_MISC_POINTING_DEVICE_INTERFACE PointingDeviceInterface;
1412 UINT16 NumberPointingDeviceButtons;
1413 EFI_DEVICE_PATH_PROTOCOL PointingDevicePath;
1414 } EFI_MISC_PORTING_DEVICE_TYPE_DATA;
1415
1416 //
1417 //////////////////////////////////////////////////////////////////////////////
1418 //
1419 // Portable Battery - SMBIOS Type 22
1420 //
1421 #define EFI_MISC_BATTERY_LOCATION_RECORD_NUMBER 0x00000010
1422
1423 typedef enum {
1424 EfiBatteryDeviceChemistryTypeOther = 0x01,
1425 EfiBatteryDeviceChemistryTypeUnknown = 0x02,
1426 EfiBatteryDeviceChemistryTypeLeadAcid = 0x03,
1427 EfiBatteryDeviceChemistryTypeNickelCadmium = 0x04,
1428 EfiBatteryDeviceChemistryTypeNickelMetalHydride = 0x05,
1429 EfiBatteryDeviceChemistryTypeLithiumIon = 0x06,
1430 EfiBatteryDeviceChemistryTypeZincAir = 0x07,
1431 EfiBatteryDeviceChemistryTypeLithiumPolymer = 0x08,
1432 } EFI_MISC_BATTERY_DEVICE_CHEMISTRY;
1433
1434 typedef struct {
1435 UINT32 Date :5;
1436 UINT32 Month :4;
1437 UINT32 Year :7;
1438 UINT32 Reserved :16;
1439 } EFI_MISC_BATTERY_SBDS_MANUFACTURE_DATE;
1440
1441 typedef struct {
1442 STRING_REF BatteryLocation;
1443 STRING_REF BatteryManufacturer;
1444 STRING_REF BatteryManufactureDate;
1445 STRING_REF BatterySerialNumber;
1446 STRING_REF BatteryDeviceName;
1447 STRING_REF BatterySbdsVersionNumber;
1448 STRING_REF BatterySbdsDeviceChemistry;
1449 EFI_MISC_BATTERY_DEVICE_CHEMISTRY BatteryDeviceChemistry;
1450 EFI_EXP_BASE10_DATA BatteryDesignCapacity;
1451 EFI_EXP_BASE10_DATA BatteryDesignVoltage;
1452 UINT16 BatteryMaximumError;
1453 UINT16 BatterySbdsSerialNumber;
1454 EFI_MISC_BATTERY_SBDS_MANUFACTURE_DATE
1455 BatterySbdsManufacturingDate;
1456 UINT32 BatteryOemSpecific;
1457 } EFI_MISC_BATTERY_LOCATION_DATA;
1458
1459 //
1460 //////////////////////////////////////////////////////////////////////////////
1461 //
1462 // Misc. Reset Capabilities - SMBIOS Type 23
1463 //
1464 #define EFI_MISC_RESET_CAPABILITIES_RECORD_NUMBER 0x00000011
1465
1466 typedef struct {
1467 UINT32 Status :1;
1468 UINT32 BootOption :2;
1469 UINT32 BootOptionOnLimit :2;
1470 UINT32 WatchdogTimerPresent:1;
1471 UINT32 Reserved :26;
1472 } EFI_MISC_RESET_CAPABILITIES_TYPE;
1473
1474 typedef struct {
1475 EFI_MISC_RESET_CAPABILITIES_TYPE ResetCapabilities;
1476 UINT16 ResetCount;
1477 UINT16 ResetLimit;
1478 UINT16 ResetTimerInterval;
1479 UINT16 ResetTimeout;
1480 } EFI_MISC_RESET_CAPABILITIES;
1481
1482 typedef struct {
1483 EFI_MISC_RESET_CAPABILITIES ResetCapabilities;
1484 UINT16 ResetCount;
1485 UINT16 ResetLimit;
1486 UINT16 ResetTimerInterval;
1487 UINT16 ResetTimeout;
1488 } EFI_MISC_RESET_CAPABILITIES_DATA;
1489
1490 //
1491 //////////////////////////////////////////////////////////////////////////////
1492 //
1493 // Misc. Hardware Security - SMBIOS Type 24
1494 //
1495 #define EFI_MISC_HARDWARE_SECURITY_RECORD_NUMBER 0x00000012
1496
1497 typedef enum {
1498 EfiHardwareSecurityStatusDisabled = 0,
1499 EfiHardwareSecurityStatusEnabled = 1,
1500 EfiHardwareSecurityStatusNotImplemented = 2,
1501 EfiHardwareSecurityStatusUnknown = 3
1502 } EFI_MISC_HARDWARE_SECURITY_STATUS;
1503
1504 typedef struct {
1505 EFI_MISC_HARDWARE_SECURITY_STATUS FrontPanelResetStatus :2;
1506 EFI_MISC_HARDWARE_SECURITY_STATUS AdministratorPasswordStatus :2;
1507 EFI_MISC_HARDWARE_SECURITY_STATUS KeyboardPasswordStatus :2;
1508 EFI_MISC_HARDWARE_SECURITY_STATUS PowerOnPasswordStatus :2;
1509 EFI_MISC_HARDWARE_SECURITY_STATUS Reserved :24;
1510 } EFI_MISC_HARDWARE_SECURITY_SETTINGS;
1511
1512 typedef struct {
1513 EFI_MISC_HARDWARE_SECURITY_SETTINGS HardwareSecuritySettings;
1514 } EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA;
1515
1516 //
1517 //////////////////////////////////////////////////////////////////////////////
1518 //
1519 // System Power Controls - SMBIOS Type 25
1520 //
1521 #define EFI_MISC_SCHEDULED_POWER_ON_MONTH_RECORD_NUMBER 0x00000013
1522
1523 typedef struct {
1524 UINT16 ScheduledPoweronMonth;
1525 UINT16 ScheduledPoweronDayOfMonth;
1526 UINT16 ScheduledPoweronHour;
1527 UINT16 ScheduledPoweronMinute;
1528 UINT16 ScheduledPoweronSecond;
1529 } EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA;
1530
1531 //
1532 //////////////////////////////////////////////////////////////////////////////
1533 //
1534 // Voltage Probe - SMBIOS Type 26
1535 //
1536 #define EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000014
1537
1538 typedef struct {
1539 UINT32 VoltageProbeSite :5;
1540 UINT32 VoltageProbeStatus :3;
1541 UINT32 Reserved :24;
1542 } EFI_MISC_VOLTAGE_PROBE_LOCATION;
1543
1544 typedef struct {
1545 STRING_REF VoltageProbeDescription;
1546 EFI_MISC_VOLTAGE_PROBE_LOCATION VoltageProbeLocation;
1547 EFI_EXP_BASE10_DATA VoltageProbeMaximumValue;
1548 EFI_EXP_BASE10_DATA VoltageProbeMinimumValue;
1549 EFI_EXP_BASE10_DATA VoltageProbeResolution;
1550 EFI_EXP_BASE10_DATA VoltageProbeTolerance;
1551 EFI_EXP_BASE10_DATA VoltageProbeAccuracy;
1552 EFI_EXP_BASE10_DATA VoltageProbeNominalValue;
1553 EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold;
1554 EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold;
1555 EFI_EXP_BASE10_DATA MDLowerCriticalThreshold;
1556 EFI_EXP_BASE10_DATA MDUpperCriticalThreshold;
1557 EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold;
1558 EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold;
1559 UINT32 VoltageProbeOemDefined;
1560 } EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA;
1561
1562 //
1563 //////////////////////////////////////////////////////////////////////////////
1564 //
1565 // Cooling Device - SMBIOS Type 27
1566 //
1567 #define EFI_MISC_COOLING_DEVICE_TEMP_LINK_RECORD_NUMBER 0x00000015
1568
1569 typedef struct {
1570 UINT32 CoolingDevice :5;
1571 UINT32 CoolingDeviceStatus :3;
1572 UINT32 Reserved :24;
1573 } EFI_MISC_COOLING_DEVICE_TYPE;
1574
1575 typedef struct {
1576 EFI_MISC_COOLING_DEVICE_TYPE CoolingDeviceType;
1577 EFI_INTER_LINK_DATA CoolingDeviceTemperatureLink;
1578 UINT16 CoolingDeviceUnitGroup;
1579 EFI_EXP_BASE10_DATA CoolingDeviceNominalSpeed;
1580 UINT32 CoolingDeviceOemDefined;
1581 } EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA;
1582
1583 //
1584 //////////////////////////////////////////////////////////////////////////////
1585 //
1586 // Temperature Probe - SMBIOS Type 28
1587 //
1588 #define EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000016
1589
1590 typedef struct {
1591 UINT32 TemperatureProbeSite :5;
1592 UINT32 TemperatureProbeStatus :3;
1593 UINT32 Reserved :24;
1594 } EFI_MISC_TEMPERATURE_PROBE_LOCATION;
1595
1596 typedef struct {
1597 STRING_REF TemperatureProbeDescription;
1598 EFI_MISC_TEMPERATURE_PROBE_LOCATION
1599 TemperatureProbeLocation;
1600 EFI_EXP_BASE10_DATA TemperatureProbeMaximumValue;
1601 EFI_EXP_BASE10_DATA TemperatureProbeMinimumValue;
1602 EFI_EXP_BASE10_DATA TemperatureProbeResolution;
1603 EFI_EXP_BASE10_DATA TemperatureProbeTolerance;
1604 EFI_EXP_BASE10_DATA TemperatureProbeAccuracy;
1605 EFI_EXP_BASE10_DATA TemperatureProbeNominalValue;
1606 EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold;
1607 EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold;
1608 EFI_EXP_BASE10_DATA MDLowerCriticalThreshold;
1609 EFI_EXP_BASE10_DATA MDUpperCriticalThreshold;
1610 EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold;
1611 EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold;
1612 UINT32 TemperatureProbeOemDefined;
1613 } EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA;
1614
1615 //
1616 //////////////////////////////////////////////////////////////////////////////
1617 //
1618 // Electrical Current Probe - SMBIOS Type 29
1619 //
1620
1621 #define EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_RECORD_NUMBER 0x00000017
1622
1623 typedef struct {
1624 UINT32 ElectricalCurrentProbeSite :5;
1625 UINT32 ElectricalCurrentProbeStatus :3;
1626 UINT32 Reserved :24;
1627 } EFI_MISC_ELECTRICAL_CURRENT_PROBE_LOCATION;
1628
1629 typedef struct {
1630 STRING_REF ElectricalCurrentProbeDescription;
1631 EFI_MISC_ELECTRICAL_CURRENT_PROBE_LOCATION
1632 ElectricalCurrentProbeLocation;
1633 EFI_EXP_BASE10_DATA ElectricalCurrentProbeMaximumValue;
1634 EFI_EXP_BASE10_DATA ElectricalCurrentProbeMinimumValue;
1635 EFI_EXP_BASE10_DATA ElectricalCurrentProbeResolution;
1636 EFI_EXP_BASE10_DATA ElectricalCurrentProbeTolerance;
1637 EFI_EXP_BASE10_DATA ElectricalCurrentProbeAccuracy;
1638 EFI_EXP_BASE10_DATA ElectricalCurrentProbeNominalValue;
1639 EFI_EXP_BASE10_DATA MDLowerNoncriticalThreshold;
1640 EFI_EXP_BASE10_DATA MDUpperNoncriticalThreshold;
1641 EFI_EXP_BASE10_DATA MDLowerCriticalThreshold;
1642 EFI_EXP_BASE10_DATA MDUpperCriticalThreshold;
1643 EFI_EXP_BASE10_DATA MDLowerNonrecoverableThreshold;
1644 EFI_EXP_BASE10_DATA MDUpperNonrecoverableThreshold;
1645 UINT32 ElectricalCurrentProbeOemDefined;
1646 } EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA;
1647
1648 //
1649 //////////////////////////////////////////////////////////////////////////////
1650 //
1651 // Out-of-Band Remote Access - SMBIOS Type 30
1652 //
1653
1654 #define EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_RECORD_NUMBER 0x00000018
1655
1656 typedef struct {
1657 UINT32 InboundConnectionEnabled :1;
1658 UINT32 OutboundConnectionEnabled :1;
1659 UINT32 Reserved :30;
1660 } EFI_MISC_REMOTE_ACCESS_CONNECTIONS;
1661
1662 typedef struct {
1663 STRING_REF RemoteAccessManufacturerNameDescription;
1664 EFI_MISC_REMOTE_ACCESS_CONNECTIONS RemoteAccessConnections;
1665 } EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA;
1666
1667 //
1668 //////////////////////////////////////////////////////////////////////////////
1669 //
1670 // Misc. BIS Entry Point - SMBIOS Type 31
1671 //
1672 #define EFI_MISC_BIS_ENTRY_POINT_RECORD_NUMBER 0x00000019
1673
1674 typedef struct {
1675 EFI_PHYSICAL_ADDRESS BisEntryPoint;
1676 } EFI_MISC_BIS_ENTRY_POINT_DATA;
1677
1678 //
1679 //////////////////////////////////////////////////////////////////////////////
1680 //
1681 // Misc. Boot Information - SMBIOS Type 32
1682 //
1683 #define EFI_MISC_BOOT_INFORMATION_STATUS_RECORD_NUMBER 0x0000001A
1684
1685 typedef enum {
1686 EfiBootInformationStatusNoError = 0x00,
1687 EfiBootInformationStatusNoBootableMedia = 0x01,
1688 EfiBootInformationStatusNormalOSFailedLoading = 0x02,
1689 EfiBootInformationStatusFirmwareDetectedFailure = 0x03,
1690 EfiBootInformationStatusOSDetectedFailure = 0x04,
1691 EfiBootInformationStatusUserRequestedBoot = 0x05,
1692 EfiBootInformationStatusSystemSecurityViolation = 0x06,
1693 EfiBootInformationStatusPreviousRequestedImage = 0x07,
1694 EfiBootInformationStatusWatchdogTimerExpired = 0x08,
1695 EfiBootInformationStatusStartReserved = 0x09,
1696 EfiBootInformationStatusStartOemSpecific = 0x80,
1697 EfiBootInformationStatusStartProductSpecific = 0xC0,
1698 } EFI_MISC_BOOT_INFORMATION_STATUS_DATA_TYPE;
1699
1700 typedef struct {
1701 EFI_MISC_BOOT_INFORMATION_STATUS_DATA_TYPE BootInformationStatus;
1702 UINT8 BootInformationData[9];
1703 } EFI_MISC_BOOT_INFORMATION_STATUS_DATA;
1704
1705 //
1706 //////////////////////////////////////////////////////////////////////////////
1707 //
1708 // Management Device - SMBIOS Type 34
1709 //
1710 #define EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_RECORD_NUMBER 0x0000001B
1711
1712 typedef enum {
1713 EfiManagementDeviceTypeOther = 0x01,
1714 EfiManagementDeviceTypeUnknown = 0x02,
1715 EfiManagementDeviceTypeLm75 = 0x03,
1716 EfiManagementDeviceTypeLm78 = 0x04,
1717 EfiManagementDeviceTypeLm79 = 0x05,
1718 EfiManagementDeviceTypeLm80 = 0x06,
1719 EfiManagementDeviceTypeLm81 = 0x07,
1720 EfiManagementDeviceTypeAdm9240 = 0x08,
1721 EfiManagementDeviceTypeDs1780 = 0x09,
1722 EfiManagementDeviceTypeMaxim1617 = 0x0A,
1723 EfiManagementDeviceTypeGl518Sm = 0x0B,
1724 EfiManagementDeviceTypeW83781D = 0x0C,
1725 EfiManagementDeviceTypeHt82H791 = 0x0D,
1726 } EFI_MISC_MANAGEMENT_DEVICE_TYPE;
1727
1728 typedef enum {
1729 EfiManagementDeviceAddressTypeOther = 1,
1730 EfiManagementDeviceAddressTypeUnknown = 2,
1731 EfiManagementDeviceAddressTypeIOPort = 3,
1732 EfiManagementDeviceAddressTypeMemory = 4,
1733 EfiManagementDeviceAddressTypeSmbus = 5
1734 } EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE;
1735
1736 typedef struct {
1737 STRING_REF ManagementDeviceDescription;
1738 EFI_MISC_MANAGEMENT_DEVICE_TYPE ManagementDeviceType;
1739 UINTN ManagementDeviceAddress;
1740 EFI_MISC_MANAGEMENT_DEVICE_ADDRESS_TYPE
1741 ManagementDeviceAddressType;
1742 } EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA;
1743
1744 //
1745 //////////////////////////////////////////////////////////////////////////////
1746 //
1747 // Management Device Component - SMBIOS Type 35
1748 //
1749
1750 #define EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_RECORD_NUMBER 0x0000001C
1751
1752 typedef struct {
1753 STRING_REF ManagementDeviceComponentDescription;
1754 EFI_INTER_LINK_DATA ManagementDeviceLink;
1755 EFI_INTER_LINK_DATA ManagementDeviceComponentLink;
1756 } EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA;
1757
1758 //
1759 //////////////////////////////////////////////////////////////////////////////
1760 //
1761 // IPMI Data Record - SMBIOS Type 38
1762 //
1763 typedef enum {
1764 EfiIpmiOther = 0,
1765 EfiIpmiKcs = 1,
1766 EfiIpmiSmic = 2,
1767 EfiIpmiBt = 3,
1768 } EFI_MISC_IPMI_INTERFACE_TYPE;
1769
1770 typedef struct {
1771 UINT16 IpmiSpecLeastSignificantDigit:4;
1772 UINT16 IpmiSpecMostSignificantDigit: 4;
1773 UINT16 Reserved: 8;
1774 } EFI_MISC_IPMI_SPECIFICATION_REVISION;
1775
1776 typedef struct {
1777 EFI_MISC_IPMI_INTERFACE_TYPE IpmiInterfaceType;
1778 EFI_MISC_IPMI_SPECIFICATION_REVISION IpmiSpecificationRevision;
1779 UINT16 IpmiI2CSlaveAddress;
1780 UINT16 IpmiNvDeviceAddress;
1781 UINT64 IpmiBaseAddress;
1782 EFI_DEVICE_PATH_PROTOCOL IpmiDevicePath;
1783 } EFI_MISC_IPMI_INTERFACE_TYPE_DATA;
1784
1785 #define EFI_MISC_IPMI_INTERFACE_TYPE_RECORD_NUMBER 0x0000001D
1786
1787 //
1788 //////////////////////////////////////////////////////////////////////////////
1789 //
1790 //System Power supply Record - SMBIOS Type 39
1791 //
1792 typedef struct {
1793 UINT16 PowerSupplyHotReplaceable :1;
1794 UINT16 PowerSupplyPresent :1;
1795 UINT16 PowerSupplyUnplugged :1;
1796 UINT16 InputVoltageRangeSwitch :4;
1797 UINT16 PowerSupplyStatus :3;
1798 UINT16 PowerSupplyType :4;
1799 UINT16 Reserved :2;
1800 } POWER_SUPPLY_CHARACTERISTICS;
1801
1802 typedef struct {
1803 UINT16 PowerUnitGroup;
1804 STRING_REF PowerSupplyLocation;
1805 STRING_REF PowerSupplyDeviceName;
1806 STRING_REF PowerSupplyManufacturer;
1807 STRING_REF PowerSupplySerialNumber;
1808 STRING_REF PowerSupplyAssetTagNumber;
1809 STRING_REF PowerSupplyModelPartNumber;
1810 STRING_REF PowerSupplyRevisionLevel;
1811 UINT16 PowerSupplyMaxPowerCapacity;
1812 POWER_SUPPLY_CHARACTERISTICS PowerSupplyCharacteristics;
1813 EFI_INTER_LINK_DATA PowerSupplyInputVoltageProbeLink;
1814 EFI_INTER_LINK_DATA PowerSupplyCoolingDeviceLink;
1815 EFI_INTER_LINK_DATA PowerSupplyInputCurrentProbeLink;
1816 } EFI_MISC_SYSTEM_POWER_SUPPLY_DATA;
1817
1818 #define EFI_MISC_SYSTEM_POWER_SUPPLY_RECORD_NUMBER 0x0000001E
1819
1820 //
1821 //////////////////////////////////////////////////////////////////////////////
1822 //
1823 // OEM Data Record - SMBIOS Type 0x80-0xFF
1824 //
1825 typedef struct {
1826 UINT8 Type;
1827 UINT8 Length;
1828 UINT16 Handle;
1829 } SMBIOS_STRUCTURE_HDR;
1830
1831 typedef struct {
1832 SMBIOS_STRUCTURE_HDR Header;
1833 UINT8 RawData[1];
1834 } EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA;
1835
1836 #define EFI_MISC_SMBIOS_STRUCT_ENCAP_RECORD_NUMBER 0x0000001F
1837
1838 //
1839 // Declare the following strutures alias to use them more conviniently.
1840 //
1841 typedef EFI_MISC_LAST_PCI_BUS_DATA EFI_MISC_LAST_PCI_BUS;
1842 typedef EFI_MISC_BIOS_VENDOR_DATA EFI_MISC_BIOS_VENDOR;
1843 typedef EFI_MISC_SYSTEM_MANUFACTURER_DATA EFI_MISC_SYSTEM_MANUFACTURER;
1844 typedef EFI_MISC_BASE_BOARD_MANUFACTURER_DATA EFI_MISC_BASE_BOARD_MANUFACTURER;
1845 typedef EFI_MISC_CHASSIS_MANUFACTURER_DATA EFI_MISC_CHASSIS_MANUFACTURER;
1846 typedef EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR;
1847 typedef EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA EFI_MISC_SYSTEM_SLOT_DESIGNATION;
1848 typedef EFI_MISC_ONBOARD_DEVICE_DATA EFI_MISC_ONBOARD_DEVICE;
1849 typedef EFI_MISC_PORTING_DEVICE_TYPE_DATA EFI_MISC_ONBOARD_DEVICE_TYPE_DATA;
1850 typedef EFI_MISC_OEM_STRING_DATA EFI_MISC_OEM_STRING;
1851 typedef EFI_MISC_SYSTEM_OPTION_STRING_DATA EFI_MISC_SYSTEM_OPTION_STRING;
1852 typedef EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES;
1853 typedef EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA EFI_MISC_SYSTEM_LANGUAGE_STRING;
1854 typedef EFI_MISC_SYSTEM_EVENT_LOG_DATA EFI_MISC_SYSTEM_EVENT_LOG;
1855 typedef EFI_MISC_BIS_ENTRY_POINT_DATA EFI_MISC_BIS_ENTRY_POINT;
1856 typedef EFI_MISC_BOOT_INFORMATION_STATUS_DATA EFI_MISC_BOOT_INFORMATION_STATUS;
1857 typedef EFI_MISC_SYSTEM_POWER_SUPPLY_DATA EFI_MISC_SYSTEM_POWER_SUPPLY;
1858 typedef EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION;
1859
1860 typedef union {
1861 EFI_MISC_LAST_PCI_BUS_DATA LastPciBus;
1862 EFI_MISC_BIOS_VENDOR_DATA MiscBiosVendor;
1863 EFI_MISC_SYSTEM_MANUFACTURER_DATA MiscSystemManufacturer;
1864 EFI_MISC_BASE_BOARD_MANUFACTURER_DATA MiscBaseBoardManufacturer;
1865 EFI_MISC_CHASSIS_MANUFACTURER_DATA MiscChassisManufacturer;
1866 EFI_MISC_PORT_INTERNAL_CONNECTOR_DESIGNATOR_DATA MiscPortInternalConnectorDesignator;
1867 EFI_MISC_SYSTEM_SLOT_DESIGNATION_DATA MiscSystemSlotDesignation;
1868 EFI_MISC_ONBOARD_DEVICE_DATA MiscOnboardDevice;
1869 EFI_MISC_OEM_STRING_DATA MiscOemString;
1870 EFI_MISC_SYSTEM_OPTION_STRING_DATA MiscOptionString;
1871 EFI_MISC_NUMBER_OF_INSTALLABLE_LANGUAGES_DATA NumberOfInstallableLanguages;
1872 EFI_MISC_SYSTEM_LANGUAGE_STRING_DATA MiscSystemLanguageString;
1873 EFI_MISC_SYSTEM_EVENT_LOG_DATA MiscSystemEventLog;
1874 EFI_MISC_GROUP_NAME_DATA MiscGroupNameData;
1875 EFI_MISC_GROUP_ITEM_SET_DATA MiscGroupItemSetData;
1876 EFI_MISC_PORTING_DEVICE_TYPE_DATA MiscPortingDeviceTypeData;
1877 EFI_MISC_RESET_CAPABILITIES_DATA MiscResetCapablilitiesData;
1878 EFI_MISC_HARDWARE_SECURITY_SETTINGS_DATA MiscHardwareSecuritySettingsData;
1879 EFI_MISC_SCHEDULED_POWER_ON_MONTH_DATA MiscScheduledPowerOnMonthData;
1880 EFI_MISC_VOLTAGE_PROBE_DESCRIPTION_DATA MiscVoltagePorbeDescriptionData;
1881 EFI_MISC_COOLING_DEVICE_TEMP_LINK_DATA MiscCoolingDeviceTempLinkData;
1882 EFI_MISC_TEMPERATURE_PROBE_DESCRIPTION_DATA MiscTemperatureProbeDescriptionData;
1883 EFI_MISC_ELECTRICAL_CURRENT_PROBE_DESCRIPTION_DATA MiscElectricalCurrentProbeDescriptionData;
1884 EFI_MISC_REMOTE_ACCESS_MANUFACTURER_DESCRIPTION_DATA
1885 MiscRemoteAccessManufacturerDescriptionData;
1886 EFI_MISC_BIS_ENTRY_POINT_DATA MiscBisEntryPoint;
1887 EFI_MISC_BOOT_INFORMATION_STATUS_DATA MiscBootInformationStatus;
1888 EFI_MISC_MANAGEMENT_DEVICE_DESCRIPTION_DATA MiscMangementDeviceDescriptionData;
1889 EFI_MISC_MANAGEMENT_DEVICE_COMPONENT_DESCRIPTION_DATA
1890 MiscmangementDeviceComponentDescriptionData;
1891 EFI_MISC_IPMI_INTERFACE_TYPE_DATA MiscIpmiInterfaceTypeData;
1892 EFI_MISC_SYSTEM_POWER_SUPPLY_DATA MiscPowerSupplyInfo;
1893 EFI_MISC_SMBIOS_STRUCT_ENCAPSULATION_DATA MiscSmbiosStructEncapsulation;
1894 } EFI_MISC_SUBCLASS_RECORDS;
1895
1896 //
1897 //
1898 //
1899 typedef struct {
1900 EFI_SUBCLASS_TYPE1_HEADER Header;
1901 EFI_MISC_SUBCLASS_RECORDS Record;
1902 } EFI_MISC_SUBCLASS_DRIVER_DATA;
1903
1904 #pragma pack()
1905
1906 //
1907 // Sub Class Header type1
1908 //
1909
1910 #define EFI_SUBCLASS_INSTANCE_RESERVED 0
1911 #define EFI_SUBCLASS_INSTANCE_NON_APPLICABLE 0xFFFF //16 bit
1912
1913 #endif