Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-x86-topo.c40 g_assert_cmpuint(apicid_module_width(&topo_info), ==, 0); in test_topo_bits()
79 g_assert_cmpuint(apicid_module_width(&topo_info), ==, 3); in test_topo_bits()
81 g_assert_cmpuint(apicid_module_width(&topo_info), ==, 3); in test_topo_bits()
83 g_assert_cmpuint(apicid_module_width(&topo_info), ==, 3); in test_topo_bits()
85 g_assert_cmpuint(apicid_module_width(&topo_info), ==, 4); in test_topo_bits()
/openbmc/qemu/include/hw/i386/
H A Dtopology.h102 static inline unsigned apicid_module_width(X86CPUTopoInfo *topo_info) in apicid_module_width() function
128 return apicid_module_offset(topo_info) + apicid_module_width(topo_info); in apicid_die_offset()
190 ~(0xFFFFFFFFUL << apicid_module_width(topo_info)); in x86_topo_ids_from_apicid()