Home
last modified time | relevance | path

Searched refs:X86CPUTopoInfo (Results 1 – 6 of 6) sorted by relevance

/qemu/tests/unit/
H A Dtest-x86-topo.c31 X86CPUTopoInfo topo_info = {0}; in test_topo_bits()
37 topo_info = (X86CPUTopoInfo) {1, 1, 1, 1}; in test_topo_bits()
43 topo_info = (X86CPUTopoInfo) {1, 1, 1, 1}; in test_topo_bits()
52 topo_info = (X86CPUTopoInfo) {1, 1, 1, 2}; in test_topo_bits()
54 topo_info = (X86CPUTopoInfo) {1, 1, 1, 3}; in test_topo_bits()
56 topo_info = (X86CPUTopoInfo) {1, 1, 1, 4}; in test_topo_bits()
59 topo_info = (X86CPUTopoInfo) {1, 1, 1, 14}; in test_topo_bits()
61 topo_info = (X86CPUTopoInfo) {1, 1, 1, 15}; in test_topo_bits()
63 topo_info = (X86CPUTopoInfo) {1, 1, 1, 16}; in test_topo_bits()
65 topo_info = (X86CPUTopoInfo) {1, 1, 1, 17}; in test_topo_bits()
[all …]
/qemu/include/hw/i386/
H A Dtopology.h58 typedef struct X86CPUTopoInfo { struct
63 } X86CPUTopoInfo; argument
90 static inline unsigned apicid_smt_width(X86CPUTopoInfo *topo_info) in apicid_smt_width()
96 static inline unsigned apicid_core_width(X86CPUTopoInfo *topo_info) in apicid_core_width()
102 static inline unsigned apicid_module_width(X86CPUTopoInfo *topo_info) in apicid_module_width()
108 static inline unsigned apicid_die_width(X86CPUTopoInfo *topo_info) in apicid_die_width()
114 static inline unsigned apicid_core_offset(X86CPUTopoInfo *topo_info) in apicid_core_offset()
120 static inline unsigned apicid_module_offset(X86CPUTopoInfo *topo_info) in apicid_module_offset()
126 static inline unsigned apicid_die_offset(X86CPUTopoInfo *topo_info) in apicid_die_offset()
132 static inline unsigned apicid_pkg_offset(X86CPUTopoInfo *topo_info) in apicid_pkg_offset()
[all …]
H A Dx86.h113 void init_topo_info(X86CPUTopoInfo *topo_info, const X86MachineState *x86ms);
/qemu/hw/i386/
H A Dx86.c42 void init_topo_info(X86CPUTopoInfo *topo_info, in init_topo_info()
70 X86CPUTopoInfo topo_info; in x86_cpu_apic_id_from_index()
91 X86CPUTopoInfo topo_info; in x86_get_default_cpu_node_id()
105 X86CPUTopoInfo topo_info; in x86_possible_cpu_arch_ids()
H A Dx86-common.c253 X86CPUTopoInfo topo_info; in x86_cpu_pre_plug()
/qemu/target/i386/
H A Dcpu.c238 static uint32_t max_thread_ids_for_cache(X86CPUTopoInfo *topo_info, in max_thread_ids_for_cache()
264 static uint32_t max_core_ids_in_package(X86CPUTopoInfo *topo_info) in max_core_ids_in_package()
273 X86CPUTopoInfo *topo_info, in encode_cache_cpuid4()
303 static uint32_t num_threads_by_topo_level(X86CPUTopoInfo *topo_info, in num_threads_by_topo_level()
325 static uint32_t apicid_offset_by_topo_level(X86CPUTopoInfo *topo_info, in apicid_offset_by_topo_level()
366 X86CPUTopoInfo *topo_info, in encode_topo_cpuid1f()
477 X86CPUTopoInfo *topo_info, in encode_cache_cpuid8000001d()
506 static void encode_topo_cpuid8000001e(X86CPU *cpu, X86CPUTopoInfo *topo_info, in encode_topo_cpuid8000001e()
6371 X86CPUTopoInfo topo_info; in cpu_x86_cpuid()