2 Module to clarify the element info of the smbios structure.
4 Copyright (c) 2005 - 2010, Intel Corporation. All rights reserved.<BR>
5 This program and the accompanying materials
6 are licensed and made available under the terms and conditions of the BSD License
7 which accompanies this distribution. The full text of the license may be found at
8 http://opensource.org/licenses/bsd-license.php
10 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
15 #ifndef _SMBIOS_PRINT_INFO_H
16 #define _SMBIOS_PRINT_INFO_H
18 #include "LibSmbios.h"
20 extern UINT8 SmbiosMajorVersion
;
21 extern UINT8 SmbiosMinorVersion
;
23 #define SHOW_NONE 0x00
24 #define SHOW_OUTLINE 0x01
25 #define SHOW_NORMAL 0x02
26 #define SHOW_DETAIL 0x03
28 // SHOW_ALL: WaitEnter() not wait input.
31 #define SHOW_STATISTICS 0x05
33 #define AS_UINT16(pData) (*((UINT16 *) pData))
34 #define AS_UINT32(pData) (*((UINT32 *) pData))
35 #define AS_UINT64(pData) (*((UINT64 *) pData))
39 IN SMBIOS_STRUCTURE_TABLE
*pSmbiosTable
,
44 SmbiosPrintStructure (
45 IN SMBIOS_STRUCTURE_POINTER
*pStruct
,
50 // BIOS Information (Type 0)
53 DisplayBiosCharacteristics (
58 DisplayBiosCharacteristicsExt1 (
63 DisplayBiosCharacteristicsExt2 (
69 // Processor Information (Type 4)
72 DisplayProcessorFamily (
78 DisplayProcessorFamily2 (
84 DisplayProcessorVoltage (
89 DisplayProcessorStatus (
95 // Memory Controller Information (Type 5)
98 DisplayMaxMemoryModuleSize (
104 DisplayMemoryModuleConfigHandles (
111 // Memory Module Information (Type 6)
114 DisplayMmBankConnections (
115 UINT8 BankConnections
,
119 DisplayMmMemorySize (
125 // System Slots (Type 9)
128 DisplaySystemSlotId (
135 // Physical Memory Array (Type 16)
136 // Memory Device (Type 17)
137 // Memory Array Mapped Address (Type 19)
138 // Memory Device Mapped Address (Type 20)
139 // Portable Battery (Type 22)
142 DisplaySBDSManufactureDate (
148 // System Reset (Type 23)
151 DisplaySystemResetCapabilities (
157 // Hardware Security (Type 24)
160 DisplayHardwareSecuritySettings (
166 // Out-of-Band Remote Access (Type 30)
169 DisplayOBRAConnections (
175 // System Boot Information (Type 32)
178 DisplaySystemBootStatus (
184 // System Power Supply (Type 39)
187 DisplaySPSCharacteristics (
188 UINT16 Characteristics
,