diff options
author | Jean Delvare <jdelvare@suse.de> | 2022-05-20 09:54:36 +0200 |
---|---|---|
committer | Jean Delvare <jdelvare@suse.de> | 2022-05-20 09:54:36 +0200 |
commit | 7d079a38377d60c9906024d1330b2e6b9c2b9a51 (patch) | |
tree | 776d30f5f53daf0f2edf27015d03cb44f4263773 /dmidecode.h | |
parent | 169f03552df0b2ccd604983b3cbd46a5bc7ebffb (diff) | |
download | dmidecode-git-7d079a38377d60c9906024d1330b2e6b9c2b9a51.tar.gz |
dmidecode: Helper function to print CPUID
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>
Diffstat (limited to 'dmidecode.h')
-rw-r--r-- | dmidecode.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/dmidecode.h b/dmidecode.h index 1df86cc..e5bff31 100644 --- a/dmidecode.h +++ b/dmidecode.h @@ -45,5 +45,6 @@ enum cpuid_type int is_printable(const u8 *data, int len); const char *dmi_string(const struct dmi_header *dm, u8 s); void dmi_print_memory_size(const char *addr, u64 code, int shift); +void dmi_print_cpuid(const char *label, enum cpuid_type sig, const u8 *p); #endif |