aboutsummaryrefslogtreecommitdiffstats
path: root/com32/gplinclude/dmi
Commit message (Collapse)AuthorAgeFilesLines
* DMI: Fixing memory mgmnt in dmi_memory_module_typesLaurent Licour2010-07-071-4/+4
| | | | | In some case, dmi_memory_module_types could read the entire memory as a result of a bogus snprintf usage.
* DMI: Increasing processor buffer sizeErwan Velu2010-05-061-1/+1
| | | | | | Impact: avoid string truncation The version field could be bigger than 32 char.
* DMI: removing useless variableErwan Velu2010-05-061-1/+0
| | | | | | Impact: none Removing useless variable
* dmi: Switching processor voltage from V to mVErwan Velu2009-12-041-1/+1
| | | | | | Impact: Changing units Processor voltage is now millivolts
* gpllibs: Running NindentErwan Velu2009-11-245-74/+74
| | | | | | Impact: visual Running Nindent on gpllib / gplinclude
* dmi: fix DMI type 6 outputPierre-Alexandre Meyer2009-11-121-3/+3
| | | | | | | | | Ralf Carl reports some garbage in the DMI type 6 output. It appears that some output formatting wasn't quite right. This should close #22. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* dmi: Adding smbios detectionErwan Velu2009-10-301-1/+2
| | | | | | | | Impact: Avoid misdetection of dmi version On some hosts, the legacy DMI version is reported as 0.0. We can use SMBIOS to get the real version. Solves HDT's ticket #8
* Merge commit 'hpa/master' into for-erwanPierre-Alexandre Meyer2009-08-049-226/+224
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Conflicts: com32/cmenu/libmenu/com32io.h com32/gplinclude/dmi/dmi.h com32/gplinclude/dmi/dmi_base_board.h com32/gplinclude/dmi/dmi_memory.h com32/gplinclude/dmi/dmi_system.h com32/gpllib/dmi/dmi.c com32/gpllib/dmi/dmi_memory.c com32/include/sys/pci.h com32/lib/pci/scan.c com32/modules/Makefile Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
| * Run Nindent on com32/gplinclude/dmi/dmi_system.hH. Peter Anvin2009-05-291-9/+9
| | | | | | | | | | | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi_system.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on com32/gplinclude/dmi/dmi_processor.hH. Peter Anvin2009-05-291-61/+62
| | | | | | | | | | | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi_processor.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on com32/gplinclude/dmi/dmi_memory.hH. Peter Anvin2009-05-291-18/+18
| | | | | | | | | | | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi_memory.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on com32/gplinclude/dmi/dmi_ipmi.hH. Peter Anvin2009-05-291-9/+9
| | | | | | | | | | | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi_ipmi.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on com32/gplinclude/dmi/dmi_chassis.hH. Peter Anvin2009-05-291-14/+14
| | | | | | | | | | | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi_chassis.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on com32/gplinclude/dmi/dmi_bios.hH. Peter Anvin2009-05-291-56/+56
| | | | | | | | | | | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi_bios.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on com32/gplinclude/dmi/dmi_battery.hH. Peter Anvin2009-05-291-16/+16
| | | | | | | | | | | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi_battery.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on com32/gplinclude/dmi/dmi_base_board.hH. Peter Anvin2009-05-291-15/+15
| | | | | | | | | | | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi_base_board.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
| * Run Nindent on com32/gplinclude/dmi/dmi.hH. Peter Anvin2009-05-291-34/+31
| | | | | | | | | | | | | | | | | | Automatically reformat com32/gplinclude/dmi/dmi.h using Nindent. Do this for all files except HDT, gPXE and externally maintained libraries (zlib, tinyjpeg, libpng). Signed-off-by: H. Peter Anvin <hpa@zytor.com>
* | gpllib: Define HARDWARE_SECURITY_SIZE for Type 24 (dmi)Pierre-Alexandre Meyer2009-05-271-0/+2
| | | | | | | | | | | | | | | | Impact: fix build HARDWARE_SECURITY_SIZE is used by DMI Type 24. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | gpllib: Add support for 3.3.25 Hardware Security (Type 24) (dmi)Pierre-Alexandre Meyer2009-05-271-0/+7
| | | | | | | | | | | | | | | | | | From SMBIOS spec (v2.6.1): This structure describes the system-wide hardware security settings. Note: This structure type was added for specification v2.2. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | gpllib: Enlarge OEM Strings buffer (dmi)Pierre-Alexandre Meyer2009-05-271-2/+1
| | | | | | | | | | | | | | After some testing on a X200, it appears that the OEM Strings can be quite long (~200 chars on the X200). Let's be quite generous on that one. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | gpllib: Add support for 3.3.12 OEM Strings (Type 11) (dmi)Pierre-Alexandre Meyer2009-05-271-0/+2
| | | | | | | | | | | | | | | | | | | | From SMBIOS spec (v2.6.1): This structure contains free form strings defined by the OEM. Examples of this are: Part Numbers for Reference Documents for the system, contact information for the manufacturer, etc. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | gpllib: Add support for 3.3.11 On Board Devices Information (Type 10, ↵Pierre-Alexandre Meyer2009-05-261-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | obsolete) (dmi) From SMBIOS spec (v2.6.1): The information in this structure defines the attributes of devices that are onboard (soldered onto) a system element, usually the baseboard. In general, an entry in this table implies that the BIOS has some level of control over the enabling of the associated device for use by the system. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | gpllib: Add support for 3.3.24 System Reset (Type 23) (dmi)Pierre-Alexandre Meyer2009-05-261-0/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From SMBIOS spec (v2.6.1): This structure describes whether Automatic System Reset functions enabled (Status). If the system has a watchdog Timer and the timer is not reset (Timer Reset) before the Interval elapses, an automatic system reset will occur. The system will re-boot according to the Boot Option. This function may repeat until the Limit is reached, at which time the system will re-boot according to the Boot Option at Limit. Note: This structure type was added for specification v2.2. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | gpllib: Add support for 3.3.13 System Configuration Options (Type 12) (dmi)Pierre-Alexandre Meyer2009-05-261-0/+2
| | | | | | | | | | | | | | | | | | From SMBIOS spec (v.2.6.1): This structure contains information required to configure the base board’s Jumpers and Switches. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | Merge branch 'for-erwan' of git://git.zytor.com/users/pam/hdt-pierre into ↵Pierre-Alexandre Meyer2009-05-142-0/+18
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for-erwan Conflicts: com32/gplinclude/dmi/dmi.h com32/gpllib/dmi/dmi.c com32/hdt/hdt-cli-dmi.c Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
| * | gpllib: Add Memory Module Information (Type 6, Obsolete) (DMI)Pierre-Alexandre Meyer2009-05-082-0/+18
| |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SMBIOS specification defines: 3.3.7 Memory Module Information (Type 6, Obsolete) From the spec (v2.6.1): One Memory Module Information structure is included for each memory-module socket in the system. The structure describes the speed, type, size, and error status of each system memory module. The supported attributes of each module are described by the “owning” Memory Controller Information structure. Note: This structure, and its companion Memory Controller Information (Type 5, Obsolete), are obsolete starting with version 2.1 of this specification; the Physical Memory Array (Type 16) and Memory Device (Type 17) structures should be used instead. BIOS providers might choose to implement both memory description types to allow existing DMI browsers to properly display the system’s memory attributes. This patch adds decoding support for this type. Adapted from the dmidecode project. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | gpllib: Add support for 3.3.33 System Boot Information (Type 32) (dmi)Pierre-Alexandre Meyer2009-05-141-1/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | From SMBIOS spec (v2.6.1): 3.3.33 System Boot Information (Type 32): The client system firmware, e.g. BIOS, communicates the System Boot Status to the client’s Pre-boot Execution Environment (PXE) boot image or OS-present management application via this structure. When used in the PXE environment, for example, this code identifies the reason the PXE was initiated and can be used by boot-image software to further automate an enterprise’s PXE sessions. For example, an enterprise could choose to automatically download a hardware-diagnostic image to a client whose reason code indicated either a firmware- or operating system-detected hardware failure. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* | gpllib: Add support for Cache Information (Type 7) (dmi)Pierre-Alexandre Meyer2009-05-142-0/+51
|/ | | | | | | | | | | | | | | | From the SMBIOS spec (v2.6.1): 3.3.8 Cache Information (Type 7): The information in this structure defines the attributes of CPU cache device in the system. One structure is specified for each such device, whether the device is internal to or external to the CPU module. Cache modules can be associated with a processor structure in one or two ways depending on the SMBIOS version, see 3.3.5 Processor Information (Type 4) on page 25 and 3.3.15 Group Associations (Type 14) on page 46 for more information. Implementation mostly borrowed from the dmidecode project. Signed-off-by: Pierre-Alexandre Meyer <pierre@mouraf.org>
* dmi: Adding IPMI detectionErwan Velu2009-03-222-5/+35
| | | | | | Impact: IPMI base board can now be detected Detecting IPMI via DMI structures
* Moving dmi & cpuid stuff to gpl subdirsErwan Velu2009-03-128-0/+565
Fixing copyrights Moving dmi includes to gplinclude/dmi Moving dmi code to gpllib/dmi/ Moving cpuid includes to gplinclude/ Moving cpuid code to gpllib/ Fixing Makefiles accordingly