From 22f77b46ab555f57523990094a3e40a55f2c492a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Tue, 10 Mar 2026 09:31:17 +0100 Subject: New upstream version 3.7 --- dmidecode.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'dmidecode.h') diff --git a/dmidecode.h b/dmidecode.h index e03c957..40f8a62 100644 --- a/dmidecode.h +++ b/dmidecode.h @@ -1,7 +1,7 @@ /* * This file is part of the dmidecode project. * - * Copyright (C) 2005-2023 Jean Delvare + * Copyright (C) 2005-2025 Jean Delvare * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -23,6 +23,8 @@ #include "types.h" +#define out_of_spec "" + struct dmi_header { u8 type; @@ -47,8 +49,14 @@ extern enum cpuid_type 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_memory_size(void (*print_cb)(const char *name, const char *format, ...), + const char *attr, u64 code, int shift); +void dmi_print_storage_size(const char *attr, u64 code, unsigned int shift); void dmi_print_cpuid(void (*print_cb)(const char *name, const char *format, ...), const char *label, enum cpuid_type sig, const u8 *p); +void dmi_memory_manufacturer_id(const char *attr, u16 code); +void dmi_memory_product_id(const char *attr, u16 code); +void dmi_system_uuid(void (*print_cb)(const char *name, const char *format, ...), + const char *attr, const u8 *p, u16 ver); #endif -- cgit v1.2.3