]> Git Repo - qemu.git/commit - qom/cpu.c
exec: split cpu_exec_init()
authorLaurent Vivier <[email protected]>
Thu, 20 Oct 2016 11:26:02 +0000 (13:26 +0200)
committerEduardo Habkost <[email protected]>
Mon, 24 Oct 2016 19:29:16 +0000 (17:29 -0200)
commit39e329e341da375b8d66444ffe93c79d7a883350
tree90043e744a3165277ba2363cc025ad97da8945a1
parent00d0f9fd6602a27b204f672ef5bc8e69736c7ff1
exec: split cpu_exec_init()

Put in cpu_exec_initfn() what initializes the CPU,
and leave in cpu_exec_init() what adds it to the environment.

As cpu_exec_initfn() is called by all XX_cpu_initfn(), call it
directly in cpu_common_initfn().
cpu_exec_init() is now a realize function, it will be renamed
to cpu_exec_realizefn() and moved to the XX_cpu_realizefn()
function in a following patch.

Signed-off-by: Laurent Vivier <[email protected]>
Reviewed-by: David Gibson <[email protected]>
Reviewed-by: Igor Mammedov <[email protected]>
Reviewed-by: Eduardo Habkost <[email protected]>
Signed-off-by: Eduardo Habkost <[email protected]>
exec.c
include/qom/cpu.h
qom/cpu.c
This page took 0.026198 seconds and 4 git commands to generate.