mirror of
https://github.com/mii443/qemu.git
synced 2025-08-22 15:15:46 +00:00
Implement base of SMBIOS type 9 descriptor.
Version 2.1+. Signed-off-by: Felix Wu <flwu@google.com> Signed-off-by: Nabih Estefan <nabihestefan@google.com> Message-Id: <20240221170027.1027325-2-nabihestefan@google.com> Reviewed-by: Michael S. Tsirkin <mst@redhat.com> Signed-off-by: Michael S. Tsirkin <mst@redhat.com>
This commit is contained in:
committed by
Michael S. Tsirkin
parent
0f9c30350b
commit
735eee07d1
@ -211,6 +211,19 @@ struct smbios_type_8 {
|
||||
uint8_t port_type;
|
||||
} QEMU_PACKED;
|
||||
|
||||
/* SMBIOS type 9 - System Slots (v2.1+) */
|
||||
struct smbios_type_9 {
|
||||
struct smbios_structure_header header;
|
||||
uint8_t slot_designation;
|
||||
uint8_t slot_type;
|
||||
uint8_t slot_data_bus_width;
|
||||
uint8_t current_usage;
|
||||
uint8_t slot_length;
|
||||
uint16_t slot_id;
|
||||
uint8_t slot_characteristics1;
|
||||
uint8_t slot_characteristics2;
|
||||
} QEMU_PACKED;
|
||||
|
||||
/* SMBIOS type 11 - OEM strings */
|
||||
struct smbios_type_11 {
|
||||
struct smbios_structure_header header;
|
||||
|
Reference in New Issue
Block a user