Home
last modified time | relevance | path

Searched refs:ep21 (Results 1 – 3 of 3) sorted by relevance

/qemu/hw/smbios/
H A Dsmbios.c1045 memcpy(ep.ep21.anchor_string, "_SM_", 4); in smbios_entry_point_setup()
1046 memcpy(ep.ep21.intermediate_anchor_string, "_DMI_", 5); in smbios_entry_point_setup()
1047 ep.ep21.length = sizeof(struct smbios_21_entry_point); in smbios_entry_point_setup()
1049 memset(ep.ep21.formatted_area, 0, 5); in smbios_entry_point_setup()
1052 ep.ep21.smbios_major_version = 2; in smbios_entry_point_setup()
1053 ep.ep21.smbios_minor_version = 8; in smbios_entry_point_setup()
1054 ep.ep21.smbios_bcd_revision = 0x28; in smbios_entry_point_setup()
1058 ep.ep21.max_structure_size = cpu_to_le16(smbios_table_max); in smbios_entry_point_setup()
1062 ep.ep21.checksum = 0; in smbios_entry_point_setup()
1063 ep.ep21.intermediate_checksum = 0; in smbios_entry_point_setup()
[all …]
/qemu/tests/qtest/
H A Dbios-tables-test.c557 struct smbios_21_entry_point *ep_table = &data->smbios_ep_table.ep21; in smbios_ep2_table_ok()
728 addr = le32_to_cpu(ep_table->ep21.structure_table_address); in test_smbios_structs()
763 g_assert_cmpuint(max_len, <=, ep_table->ep21.max_structure_size); in test_smbios_structs()
774 ++i < le16_to_cpu(ep_table->ep21.number_of_structures) : in test_smbios_structs()
782 g_assert_cmpuint(le16_to_cpu(ep_table->ep21.structure_table_length), ==, in test_smbios_structs()
783 addr - le32_to_cpu(ep_table->ep21.structure_table_address)); in test_smbios_structs()
785 g_assert_cmpuint(le16_to_cpu(ep_table->ep21.max_structure_size), ==, in test_smbios_structs()
/qemu/include/hw/firmware/
H A Dsmbios.h96 struct smbios_21_entry_point ep21; member