diff options
| author | Jörg Frings-Fürst <debian@jff.email> | 2026-03-10 09:31:18 +0100 |
|---|---|---|
| committer | Jörg Frings-Fürst <debian@jff.email> | 2026-03-10 09:31:18 +0100 |
| commit | 48e6eede2a7e96633c6aa72faef7388f3b7abe1b (patch) | |
| tree | b2371534a7ce332bcf51d7ddc167d7e8703a7f51 /dmidecode.h | |
| parent | 208d5c5ff5bdc5d607218f8dddbcb8be0850a551 (diff) | |
| parent | 22f77b46ab555f57523990094a3e40a55f2c492a (diff) | |
Update upstream source from tag 'upstream/3.7'
Update to upstream version '3.7'
with Debian dir c76a11fb141eff6613876ec76a3b73ff59e2e1a2
Diffstat (limited to 'dmidecode.h')
| -rw-r--r-- | dmidecode.h | 12 |
1 files changed, 10 insertions, 2 deletions
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 <jdelvare@suse.de> + * Copyright (C) 2005-2025 Jean Delvare <jdelvare@suse.de> * * 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 "<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 |
