Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-x86-topo.c44 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 0), ==, 0); in test_topo_bits()
45 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 1), ==, 1); in test_topo_bits()
46 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 2), ==, 2); in test_topo_bits()
47 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 3), ==, 3); in test_topo_bits()
109 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 0), ==, 0); in test_topo_bits()
110 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 1), ==, 1); in test_topo_bits()
111 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 2), ==, 2); in test_topo_bits()
114 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 1 * 3 + 0), ==, in test_topo_bits()
135 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, in test_topo_bits()
137 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, in test_topo_bits()
[all …]
/openbmc/qemu/include/hw/i386/
H A Dtopology.h202 static inline apic_id_t x86_apicid_from_cpu_idx(X86CPUTopoInfo *topo_info, in x86_apicid_from_cpu_idx() function
/openbmc/qemu/hw/i386/
H A Dx86.c74 return x86_apicid_from_cpu_idx(&topo_info, cpu_index); in x86_cpu_apic_id_from_index()