TOPO_PKG_DOMAIN
return topology_get_logical_id(pkg << x86_topo_system.dom_shifts[TOPO_PKG_DOMAIN],
TOPO_PKG_DOMAIN);
unsigned int sid_shift = topology_get_domain_shift(TOPO_PKG_DOMAIN);
[TOPO_PKG_DOMAIN] = "Package",
cnta = domain_weight(TOPO_PKG_DOMAIN);
__num_cores_per_package = topology_unit_count(firstid, TOPO_CORE_DOMAIN, TOPO_PKG_DOMAIN);
__num_threads_per_package = topology_unit_count(firstid, TOPO_SMT_DOMAIN, TOPO_PKG_DOMAIN);
c->topo.pkg_id = topo_shift_apicid(apicid, TOPO_PKG_DOMAIN);
c->topo.logical_pkg_id = topology_get_logical_id(apicid, TOPO_PKG_DOMAIN);
c->topo.core_id = (apicid & topo_domain_mask(TOPO_PKG_DOMAIN)) >>