smbios: rename/expose structures/bitmaps used by both legacy and modern code
commitd638a8659b7e957dede0cdc5afa569b733a10da5
authorIgor Mammedov <imammedo@redhat.com>
Thu, 14 Mar 2024 15:22:51 +0000 (14 16:22 +0100)
committerMichael S. Tsirkin <mst@redhat.com>
Mon, 18 Mar 2024 12:42:45 +0000 (18 08:42 -0400)
tree42946b45d39923bffd42eaaea23bec46429a98ec
parent684b49fda6735fef7ee07bb2c628b37fa114ca1e
smbios: rename/expose structures/bitmaps used by both legacy and modern code

As a preparation to move legacy handling into a separate file,
add prefix 'smbios_' to type0/type1/have_binfile_bitmap/have_fields_bitmap
and expose them in smbios.h so that they can be reused in
legacy and modern code.

Doing it as a separate patch to avoid rename cluttering follow-up
patch which will move legacy code into a separate file.

Signed-off-by: Igor Mammedov <imammedo@redhat.com>
Reviewed-by: Ani Sinha <anisinha@redhat.com>
Message-Id: <20240314152302.2324164-11-imammedo@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
hw/smbios/smbios.c
include/hw/firmware/smbios.h