mips: call cpu_mips_realize_env() from mips_cpu_realizefn()
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 20 Sep 2017 19:49:32 +0000 (16:49 -0300)
committerYongbok Kim <yongbok.kim@imgtec.com>
Thu, 21 Sep 2017 12:25:27 +0000 (13:25 +0100)
commitdf4dc10284e1d871db8adb512816a561473ffe3e
tree4b77161013b5bbb2f6a1beac379a5c8d7056b4ee
parent27e38392ca07f97edfb2257b6a1394a04d84e8d5
mips: call cpu_mips_realize_env() from mips_cpu_realizefn()

This changes the order between cpu_mips_realize_env() and
cpu_exec_initfn(), but cpu_exec_initfn() don't have anything that
depends on cpu_mips_realize_env() being called first.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: James Hogan <james.hogan@imgtec.com>
Reviewed-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
target/mips/cpu.c
target/mips/translate.c