Set the version and date to fixed fields rather than using

preprocessor macros that don't allow reproducible builds.
As a side-effect, the date string is now spec-compliant.

root@bhyve:~ # dmidecode
# dmidecode 2.12
SMBIOS 2.4 present.
12 structures occupying 514 bytes.
Table at 0x000F101F.

Handle 0x0001, DMI type 0, 24 bytes
BIOS Information
        Vendor: BHYVE
        Version: 1.0
        Release Date: 03/14/2014

Submitted by:	des (original version)
Reviewed by:	tychon
MFC after:	1 week
This commit is contained in:
Peter Grehan 2014-06-27 05:27:37 +00:00
parent de966666a2
commit 62f17e92fe
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267949

View file

@ -321,8 +321,8 @@ struct smbios_table_type0 smbios_type0_template = {
const char *smbios_type0_strings[] = {
"BHYVE", /* vendor string */
__TIME__, /* bios version string */
__DATE__, /* bios release date string */
"1.00", /* bios version string */
"03/14/2014", /* bios release date string */
NULL
};