Home
last modified time | relevance | path

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

/qemu/include/hw/i386/
H A Dtopology.h114 static inline unsigned apicid_core_offset(X86CPUTopoInfo *topo_info) in apicid_core_offset() function
122 return apicid_core_offset(topo_info) + apicid_core_width(topo_info); in apicid_module_offset()
148 (topo_ids->core_id << apicid_core_offset(topo_info)) | in x86_apicid_from_topo_ids()
186 (apicid >> apicid_core_offset(topo_info)) & in x86_topo_ids_from_apicid()
/qemu/tests/unit/
H A Dtest-x86-topo.c103 g_assert_cmpuint(apicid_core_offset(&topo_info), ==, 2); in test_topo_bits()
/qemu/target/i386/
H A Dcpu.c245 num_ids = 1 << apicid_core_offset(topo_info); in max_thread_ids_for_cache()
267 apicid_core_offset(topo_info)); in max_core_ids_in_package()
332 return apicid_core_offset(topo_info); in apicid_offset_by_topo_level()
6602 *eax = apicid_core_offset(&topo_info); in cpu_x86_cpuid()