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.c40 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 0), ==, 0); in test_topo_bits()
41 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 1), ==, 1); in test_topo_bits()
42 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 2), ==, 2); in test_topo_bits()
43 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 3), ==, 3); in test_topo_bits()
95 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 0), ==, 0); in test_topo_bits()
96 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 1), ==, 1); in test_topo_bits()
97 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 2), ==, 2); in test_topo_bits()
100 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, 1 * 3 + 0), ==, in test_topo_bits()
121 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, in test_topo_bits()
123 g_assert_cmpuint(x86_apicid_from_cpu_idx(&topo_info, in test_topo_bits()
[all …]
/openbmc/qemu/include/hw/i386/
H A Dtopology.h163 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.c94 return x86_apicid_from_cpu_idx(&topo_info, cpu_index); in x86_cpu_apic_id_from_index()