]> Git Repo - qemu.git/commit - hw/core/cpu.c
cpu: cpu_by_arch_id() helper
authorEduardo Habkost <[email protected]>
Wed, 26 Jul 2017 18:44:35 +0000 (15:44 -0300)
committerEduardo Habkost <[email protected]>
Fri, 1 Sep 2017 14:54:24 +0000 (11:54 -0300)
commit5ce46cb34eecec0bc94a4b1394763f9a1bbe20c3
tree7bd400d87bc3fc95068e397bd9f0a947e9e790e8
parent3beacfb98ba5f594dff4a4541401f2849e0a9ec6
cpu: cpu_by_arch_id() helper

The helper can be used for CPU object lookup using the CPU's
arch-specific ID (the one returned by CPUClass::get_arch_id()).

Signed-off-by: Eduardo Habkost <[email protected]>
[Yi Wang: Added documentation comments]
Signed-off-by: Yi Wang <[email protected]>
Signed-off-by: Yun Liu <[email protected]>
[ehabkost: extracted cpu_by_arch_id() to a separate patch]
Signed-off-by: Eduardo Habkost <[email protected]>
include/qom/cpu.h
qom/cpu.c
This page took 0.031029 seconds and 4 git commands to generate.