Home
last modified time | relevance | path

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

/openbmc/qemu/tests/qtest/
H A Dmachine-none-test.c25 static struct arch2cpu cpus_map[] = { variable
63 for (i = 0; i < ARRAY_SIZE(cpus_map); i++) { in get_cpu_model_by_arch()
64 if (!strcmp(arch, cpus_map[i].arch)) { in get_cpu_model_by_arch()
65 return cpus_map[i].cpu_model; in get_cpu_model_by_arch()
/openbmc/qemu/hw/acpi/
H A Dcpu_hotplug.c138 Aml *cpus_map = aml_name(CPU_ON_BITMAP); in build_legacy_cpu_hotplug_aml() local
154 aml_store(aml_derefof(aml_index(cpus_map, apic_id)), cpu_on)); in build_legacy_cpu_hotplug_aml()
171 aml_store(aml_derefof(aml_index(cpus_map, apic_id)), cpu_on)); in build_legacy_cpu_hotplug_aml()
204 while_ctx = aml_while(aml_lless(idx, aml_sizeof(cpus_map))); in build_legacy_cpu_hotplug_aml()
206 aml_store(aml_derefof(aml_index(cpus_map, idx)), is_cpu_on)); in build_legacy_cpu_hotplug_aml()
227 aml_append(if_ctx, aml_store(status, aml_index(cpus_map, idx))); in build_legacy_cpu_hotplug_aml()