We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 00ec7be commit 8f78378Copy full SHA for 8f78378
include/hw/i386/topology.h
@@ -121,9 +121,10 @@ static inline unsigned apicid_pkg_offset(X86CPUTopoInfo *topo_info)
121
}
122
123
/*
124
- * Make APIC ID for the CPU based on Pkg_ID, Core_ID, SMT_ID
+ * Make APIC ID for the CPU based on topology and IDs of each topology level.
125
*
126
- * The caller must make sure core_id < nr_cores and smt_id < nr_threads.
+ * The caller must make sure the ID of each level doesn't exceed the width of
127
+ * the level.
128
*/
129
static inline apic_id_t x86_apicid_from_topo_ids(X86CPUTopoInfo *topo_info,
130
const X86CPUTopoIDs *topo_ids)
0 commit comments