diff options
author | Eduardo Habkost | 2021-10-26 17:10:59 +0200 |
---|---|---|
committer | Michael S. Tsirkin | 2022-01-07 11:19:55 +0100 |
commit | bdf54a9a7bda0bde0c0b7b5767dd670f36ccc9e0 (patch) | |
tree | 677e742031cc96cc1135b117c408964dc4071598 /include | |
parent | smbios: Rename SMBIOS_ENTRY_POINT_* enums (diff) | |
download | qemu-bdf54a9a7bda0bde0c0b7b5767dd670f36ccc9e0.tar.gz qemu-bdf54a9a7bda0bde0c0b7b5767dd670f36ccc9e0.tar.xz qemu-bdf54a9a7bda0bde0c0b7b5767dd670f36ccc9e0.zip |
hw/smbios: Use qapi for SmbiosEntryPointType
This prepares for exposing the SMBIOS entry point type as a
machine property on x86.
Based on a patch from Daniel P. Berrangé.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Signed-off-by: Eduardo Habkost <ehabkost@redhat.com>
Message-Id: <20211026151100.1691925-3-ehabkost@redhat.com>
Reviewed-by: Michael S. Tsirkin <mst@redhat.com>
Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com>
Acked-by: Markus Armbruster <armbru@redhat.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/hw/firmware/smbios.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/include/hw/firmware/smbios.h b/include/hw/firmware/smbios.h index d916baed6a..4b7ad77a44 100644 --- a/include/hw/firmware/smbios.h +++ b/include/hw/firmware/smbios.h @@ -1,6 +1,8 @@ #ifndef QEMU_SMBIOS_H #define QEMU_SMBIOS_H +#include "qapi/qapi-types-machine.h" + /* * SMBIOS Support * @@ -23,14 +25,6 @@ struct smbios_phys_mem_area { uint64_t length; }; -/* - * SMBIOS spec defined tables - */ -typedef enum SmbiosEntryPointType { - SMBIOS_ENTRY_POINT_TYPE_32, - SMBIOS_ENTRY_POINT_TYPE_64, -} SmbiosEntryPointType; - /* SMBIOS Entry Point * There are two types of entry points defined in the SMBIOS specification * (see below). BIOS must place the entry point(s) at a 16-byte-aligned |