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