From 7d079a38377d60c9906024d1330b2e6b9c2b9a51 Mon Sep 17 00:00:00 2001 From: Jean Delvare Date: Fri, 20 May 2022 09:54:36 +0200 Subject: 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 --- dmidecode.h | 1 + 1 file changed, 1 insertion(+) (limited to 'dmidecode.h') 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 -- cgit v1.2.1