Home
last modified time | relevance | path

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

/openbmc/qemu/tests/unit/
H A Dtest-x86-topo.c31 X86CPUTopoInfo topo_info = {0}; in test_topo_bits()
34 topo_info = (X86CPUTopoInfo) {1, 1, 1}; in test_topo_bits()
39 topo_info = (X86CPUTopoInfo) {1, 1, 1}; in test_topo_bits()
48 topo_info = (X86CPUTopoInfo) {1, 1, 2}; in test_topo_bits()
50 topo_info = (X86CPUTopoInfo) {1, 1, 3}; in test_topo_bits()
52 topo_info = (X86CPUTopoInfo) {1, 1, 4}; in test_topo_bits()
55 topo_info = (X86CPUTopoInfo) {1, 1, 14}; in test_topo_bits()
57 topo_info = (X86CPUTopoInfo) {1, 1, 15}; in test_topo_bits()
59 topo_info = (X86CPUTopoInfo) {1, 1, 16}; in test_topo_bits()
88 topo_info = (X86CPUTopoInfo) {1, 6, 3}; in test_topo_bits()
[all …]
/openbmc/qemu/include/hw/i386/
H A Dtopology.h57 typedef struct X86CPUTopoInfo { struct
61 } X86CPUTopoInfo; argument
72 static inline unsigned apicid_smt_width(X86CPUTopoInfo *topo_info) in apicid_smt_width()
78 static inline unsigned apicid_core_width(X86CPUTopoInfo *topo_info) in apicid_core_width()
84 static inline unsigned apicid_die_width(X86CPUTopoInfo *topo_info) in apicid_die_width()
90 static inline unsigned apicid_core_offset(X86CPUTopoInfo *topo_info) in apicid_core_offset()
96 static inline unsigned apicid_die_offset(X86CPUTopoInfo *topo_info) in apicid_die_offset()
102 static inline unsigned apicid_pkg_offset(X86CPUTopoInfo *topo_info) in apicid_pkg_offset()
112 static inline apic_id_t x86_apicid_from_topo_ids(X86CPUTopoInfo *topo_info, in x86_apicid_from_topo_ids()
125 static inline void x86_topo_ids_from_idx(X86CPUTopoInfo *topo_info, in x86_topo_ids_from_idx()
[all …]
/openbmc/qemu/hw/i386/
H A Dx86.c69 static void init_topo_info(X86CPUTopoInfo *topo_info, in init_topo_info()
90 X86CPUTopoInfo topo_info; in x86_cpu_apic_id_from_index()
291 X86CPUTopoInfo topo_info; in x86_cpu_pre_plug()
456 X86CPUTopoInfo topo_info; in x86_get_default_cpu_node_id()
470 X86CPUTopoInfo topo_info; in x86_possible_cpu_arch_ids()
/openbmc/qemu/target/i386/
H A Dcpu.c330 X86CPUTopoInfo *topo_info, in encode_cache_cpuid8000001d()
367 static void encode_topo_cpuid8000001e(X86CPU *cpu, X86CPUTopoInfo *topo_info, in encode_topo_cpuid8000001e()
6020 X86CPUTopoInfo topo_info; in cpu_x86_cpuid()