Home
last modified time | relevance | path

Searched refs:apicid_core_width (Results 1 – 2 of 2) sorted by relevance

/openbmc/qemu/tests/unit/
H A Dtest-x86-topo.c36 g_assert_cmpuint(apicid_core_width(&topo_info), ==, 0); in test_topo_bits()
66 g_assert_cmpuint(apicid_core_width(&topo_info), ==, 5); in test_topo_bits()
68 g_assert_cmpuint(apicid_core_width(&topo_info), ==, 5); in test_topo_bits()
70 g_assert_cmpuint(apicid_core_width(&topo_info), ==, 5); in test_topo_bits()
72 g_assert_cmpuint(apicid_core_width(&topo_info), ==, 6); in test_topo_bits()
/openbmc/qemu/include/hw/i386/
H A Dtopology.h78 static inline unsigned apicid_core_width(X86CPUTopoInfo *topo_info) in apicid_core_width() function
98 return apicid_core_offset(topo_info) + apicid_core_width(topo_info); in apicid_die_offset()
151 ~(0xFFFFFFFFUL << apicid_core_width(topo_info)); in x86_topo_ids_from_apicid()