]> xenbits.xensource.com Git - seabios.git/commit
smbios: Use smbios_next() at smbios_romfile_setup()
authorEduardo Habkost <ehabkost@redhat.com>
Thu, 10 Dec 2020 17:32:37 +0000 (12:32 -0500)
committerKevin O'Connor <kevin@koconnor.net>
Sat, 18 Dec 2021 16:39:13 +0000 (11:39 -0500)
commit34c3fce6e7361c2e38f22a3d973d72b994285313
tree3ddfb3bca4e348d205350a0db63698cc2f82e3a3
parent33fa7082b870c387e839eb8b5a29738442a991ae
smbios: Use smbios_next() at smbios_romfile_setup()

Use smbios_next() instead of smbios_21_next(), to make the code
more generic and reusable for SMBIOS 3.0 support.

Note that `qtables_len` is initialized to `ftables->size` instead
of `ep.structure_table_length` now, but both fields are
guaranteed to have exactly the same value.

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