summaryrefslogtreecommitdiff
path: root/dmidecode.h
Commit message (Collapse)AuthorAgeFilesLines
* dmidecode: Save the CPUID formatJean Delvare2022-05-201-0/+2
| | | | | | | | | In order to decode the information from HPE type 199 in a human-friendly way, we need to know how the CPUID data is encoded. This depends on the CPU brand and family, so save this information for later. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* dmidecode: Make dmi_print_cpuid more flexibleJean Delvare2022-05-201-1/+2
| | | | | | Let the caller choose which printing helper function will be used. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* dmidecode: Helper function to print CPUIDJean Delvare2022-05-201-0/+1
| | | | | | | | Split the printing of the CPUID into a human-friendly way to a separate function. That way, it can be reused for other record types as needed. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* dmidecode: Split CPUID type detection from dmi_processor_idJean Delvare2022-05-201-0/+11
| | | | | | | Move the code which decides the CPUID type to a separate function, so that it can be called from a different context. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* dmidecode: Make dmi_print_memory_size globalJerry Hoemann2021-01-151-0/+1
| | | | | | | | Make dmi_print_memory_size() global so that it can be called from outside of dmidecode.c. Signed-off-by: Jerry Hoemann <jerry.hoemann@hpe.com> Signed-off-by: Jean Delvare <jdelvare@suse.de>
* dmidecode: Update copyright yearJean Delvare2020-04-011-1/+1
|
* dmidecode: Protect dmidecode.h against double inclusionJean Delvare2020-04-011-0/+5
| | | | | | | We'll soon need to include dmidecode.h from another header file, so protect it against double inclusion. Signed-off-by: Jean Delvare <jdelvare@suse.de>
* dmioem: Move function is_printable to dmidecode.cJean Delvare2015-05-211-0/+1
| | | | | Move function is_printable to dmidecode.c so that a single implementation can be used in both dmidecode.c and dmioem.c.
* Fix sparse errorsJean Delvare2015-04-281-0/+2
|
* Update my e-mail addressJean Delvare2014-02-031-1/+1
|
* Mark a few pointers const.Jean Delvare2008-10-281-2/+2
|
* Don't use function pointers for special string cases. Each special case isJean Delvare2008-10-281-4/+0
| | | | | itself special and needs to call a function with its own prototype, so better have dedicated code to handle it all.
* Add support for Processor Family 2 field.Jean Delvare2008-10-271-2/+2
| | | | | | Add processor types "Turion 64 X2", "Core Solo", "Core 2 Duo", "ESA/390 G6", "z/Architectur", "C7-M", "C7-D", "C7" and "Eden". Fix typo in processor type "AMD29000" (DMI type 4).
* Pass version information to print callback functions.Jean Delvare2008-10-261-2/+2
| | | | Byte-swap the first 3 fields of the UUID (DMI type 1).
* Update copyright statements.Jean Delvare2008-02-161-1/+1
|
* Move the decoding of OEM-specific entries to a separate source file.Jean Delvare2007-02-111-1/+10
|
* Export four specific decoding functions, make them suitable for externalJean Delvare2005-09-141-0/+24
call.