Show
Ignore:
Timestamp:
10/30/09 21:00:09 (3 years ago)
Author:
Erwan Velu <erwan.velu@…>
Children:
512de9792b2fd4a9af1033ea6ef6c8033e4dfb9f, dee3fa2de1912a9ad88982f6e412656375d8ca3e, aa1724e7a975430c7b8b53359e94c225622f4957
Parents:
cf14910be4b9941247f5aebb8d901455532553dc
git-committer:
Erwan Velu <erwan.velu@free.fr> / 2009-10-30T22:00:09Z+0100
Message:

dmi: Adding smbios detection

Impact: Avoid misdetection of dmi version

On some hosts, the legacy DMI version is reported as 0.0.
We can use SMBIOS to get the real version.
Solves HDT's ticket #8

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • com32/modules/dmitest.c

    r9aaf51 ra1d889  
    180180        return -1; 
    181181    } else { 
    182         printf("DMI %d.%d present.\n", dmi.dmitable.major_version, 
     182        printf("DMI %u.%u present.\n", dmi.dmitable.major_version, 
    183183               dmi.dmitable.minor_version); 
    184184        printf("%d structures occupying %d bytes.\n", dmi.dmitable.num,