Searched refs:ep21 (Results 1 – 3 of 3) sorted by relevance
/openbmc/qemu/hw/smbios/ |
H A D | smbios.c | 1040 memcpy(ep.ep21.anchor_string, "_SM_", 4); in smbios_entry_point_setup() 1041 memcpy(ep.ep21.intermediate_anchor_string, "_DMI_", 5); in smbios_entry_point_setup() 1042 ep.ep21.length = sizeof(struct smbios_21_entry_point); in smbios_entry_point_setup() 1043 ep.ep21.entry_point_revision = 0; /* formatted_area reserved */ in smbios_entry_point_setup() 1044 memset(ep.ep21.formatted_area, 0, 5); in smbios_entry_point_setup() 1047 ep.ep21.smbios_major_version = 2; in smbios_entry_point_setup() 1048 ep.ep21.smbios_minor_version = 8; in smbios_entry_point_setup() 1049 ep.ep21.smbios_bcd_revision = 0x28; in smbios_entry_point_setup() 1052 ep.ep21.structure_table_length = cpu_to_le16(smbios_tables_len); in smbios_entry_point_setup() 1053 ep.ep21.max_structure_size = cpu_to_le16(smbios_table_max); in smbios_entry_point_setup() [all …]
|
/openbmc/qemu/tests/qtest/ |
H A D | bios-tables-test.c | 560 struct smbios_21_entry_point *ep_table = &data->smbios_ep_table.ep21; in smbios_ep2_table_ok() 731 addr = le32_to_cpu(ep_table->ep21.structure_table_address); in test_smbios_structs() 766 g_assert_cmpuint(max_len, <=, ep_table->ep21.max_structure_size); in test_smbios_structs() 777 ++i < le16_to_cpu(ep_table->ep21.number_of_structures) : in test_smbios_structs() 785 g_assert_cmpuint(le16_to_cpu(ep_table->ep21.structure_table_length), ==, in test_smbios_structs() 786 addr - le32_to_cpu(ep_table->ep21.structure_table_address)); in test_smbios_structs() 788 g_assert_cmpuint(le16_to_cpu(ep_table->ep21.max_structure_size), ==, in test_smbios_structs()
|
/openbmc/qemu/include/hw/firmware/ |
H A D | smbios.h | 96 struct smbios_21_entry_point ep21; member
|