@@ -35,7 +35,7 @@
#include <limits.h>
#include <fcntl.h>
-#define DMI_VERSION (0x0360)
+#define DMI_VERSION (0x0370)
#define VERSION_MAJOR(v) ((v) >> 8)
#define VERSION_MINOR(v) ((v) & 0xff)
@@ -299,7 +299,8 @@ static const fwts_dmi_type_length type_info[] = {
{ 17, 0x208, 0x207, 0x22 },
{ 17, 0x302, 0x208, 0x28 },
{ 17, 0x303, 0x302, 0x54 },
- { 17, MAX_VERSION, 0x303, 0x5c },
+ { 17, 0x307, 0x303, 0x5c },
+ { 17, MAX_VERSION, 0x307, 0x64 },
{ 19, 0x207, 0x201, 0xf },
{ 19, MAX_VERSION, 0x207, 0x1f },
{ 20, 0x207, 0x201, 0x13 },
@@ -1499,8 +1500,6 @@ static void dmicheck_entry(fwts_framework *fw,
if (hdr->length < 0x0d)
break;
- dmi_reserved_bits_check(fw, table, addr, "Slot Characteristics 2", hdr, sizeof(uint8_t), 0x0c, 7, 7);
-
if (hdr->length < 0x11)
break;
if (!((data[0x5] == 0x06) ||
BugLink: https://bugs.launchpad.net/fwts/+bug/2029884i SMBIOS specification version 3.7.0 release on 2023-07-21. https://www.dmtf.org/sites/default/files/standards/documents/DSP0134_3.7.0.pdf Signed-off-by: Ivan Hu <ivan.hu@canonical.com> --- src/dmi/dmicheck/dmicheck.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-)