Searched refs:cpus_map (Results 1 – 2 of 2) sorted by relevance
/openbmc/qemu/tests/qtest/ |
H A D | machine-none-test.c | 25 static struct arch2cpu cpus_map[] = { variable 64 for (i = 0; i < ARRAY_SIZE(cpus_map); i++) { in get_cpu_model_by_arch() 65 if (!strcmp(arch, cpus_map[i].arch)) { in get_cpu_model_by_arch() 66 return cpus_map[i].cpu_model; in get_cpu_model_by_arch()
|
/openbmc/qemu/hw/acpi/ |
H A D | cpu_hotplug.c | 126 Aml *cpus_map = aml_name(CPU_ON_BITMAP); in build_legacy_cpu_hotplug_aml() local 142 aml_store(aml_derefof(aml_index(cpus_map, apic_id)), cpu_on)); in build_legacy_cpu_hotplug_aml() 159 aml_store(aml_derefof(aml_index(cpus_map, apic_id)), cpu_on)); in build_legacy_cpu_hotplug_aml() 192 while_ctx = aml_while(aml_lless(idx, aml_sizeof(cpus_map))); in build_legacy_cpu_hotplug_aml() 194 aml_store(aml_derefof(aml_index(cpus_map, idx)), is_cpu_on)); in build_legacy_cpu_hotplug_aml() 215 aml_append(if_ctx, aml_store(status, aml_index(cpus_map, idx))); in build_legacy_cpu_hotplug_aml()
|