]> xenbits.xensource.com Git - seabios.git/commit
smbios: Make smbios_build_tables() more generic
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 10 Dec 2020 18:10:15 +0000 (13:10 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 18 Dec 2021 16:39:13 +0000 (11:39 -0500)
commit4e99229e326c7643b7c488d0a0690071d6a8c8ec
tree437a82dd63c94815ef2af80d75226a71c267a1a9
parent31eac039b2511dd58fb42998dd983f9f80f7b269
smbios: Make smbios_build_tables() more generic

Instead of taking a SMBIOS 2.1 entry point as argument, make
smbios_build_tables() take pointers to the fields it actually
changes.  This will allow us to reuse the function for SMBIOS 3.0
later.

Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
src/fw/biostables.c