Home
last modified time | relevance | path

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

/openbmc/qemu/include/hw/i386/
H A Dtopology.h100 static inline unsigned apicid_core_offset(X86CPUTopoInfo *topo_info) in apicid_core_offset() function
108 return apicid_core_offset(topo_info) + apicid_core_width(topo_info); in apicid_module_offset()
134 (topo_ids->core_id << apicid_core_offset(topo_info)) | in x86_apicid_from_topo_ids()
172 (apicid >> apicid_core_offset(topo_info)) & in x86_topo_ids_from_apicid()
/openbmc/qemu/tests/unit/
H A Dtest-x86-topo.c103 g_assert_cmpuint(apicid_core_offset(&topo_info), ==, 2); in test_topo_bits()
/openbmc/qemu/target/i386/
H A Dcpu.c247 num_ids = 1 << apicid_core_offset(topo_info); in max_thread_ids_for_cache()
269 apicid_core_offset(topo_info)); in max_core_ids_in_package()
334 return apicid_core_offset(topo_info); in apicid_offset_by_topo_level()
6711 *eax = apicid_core_offset(&topo_info); in cpu_x86_cpuid()