Home
last modified time | relevance | path

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

/qemu/include/hw/i386/
H A Dtopology.h179 static inline void x86_topo_ids_from_apicid(apic_id_t apicid, in x86_topo_ids_from_apicid() argument
183 topo_ids->smt_id = apicid & in x86_topo_ids_from_apicid()
186 (apicid >> apicid_core_offset(topo_info)) & in x86_topo_ids_from_apicid()
189 (apicid >> apicid_module_offset(topo_info)) & in x86_topo_ids_from_apicid()
192 (apicid >> apicid_die_offset(topo_info)) & in x86_topo_ids_from_apicid()
194 topo_ids->pkg_id = apicid >> apicid_pkg_offset(topo_info); in x86_topo_ids_from_apicid()
/qemu/tests/avocado/acpi-bits/bits-tests/
H A Dtestacpi.py2134 apicid = procid_apicid.get(procid, None)
135 if apicid is not None:
136 return apicid
140 apicid = uid_x2apicid.get(uid, None)
141 if apicid is not None:
142 return apicid
156 apicid = cpupath_apicid(cpupath)
157 if apicid is None:
158 print 'Failed to find apicid for cpupath {}'.format(cpupath)
160 bits.wrmsr(apicid, IA32_PERF_CTL, pstate.control)