]> git.proxmox.com Git - qemu.git/commit - target-mips/translate.c
target-mips: Use cpu_reset() in cpu_mips_init()
authorAndreas Färber <afaerber@suse.de>
Sat, 5 May 2012 11:06:10 +0000 (13:06 +0200)
committerAndreas Färber <afaerber@suse.de>
Mon, 4 Jun 2012 21:00:43 +0000 (23:00 +0200)
commit3bd4122ef61b3276edc79b700f0e18de2ff673f5
tree1ff22dd5686713a8809aa837ca8df693f1e0b58a
parent868bac81d76b6149b246731945de426aee6448be
target-mips: Use cpu_reset() in cpu_mips_init()

Commit 0f71a7095db6bc055bc5bb520d85ea650cca8a33 (target-mips: QOM'ify
CPU) hooked up cpu_state_reset() to CPUClass::reset(). Dropping the
introduction of subclasses for 1.1, due to mips_def_t the reset code
could not be QOM'ified yet, i.e. cpu_state_reset() will not forward to
CPUClass::reset().

Update cpu_mips_init() with cpu_reset() nontheless, indirectly calling
cpu_state_reset(), so that generic code can be converted to call
cpu_reset().

Signed-off-by: Andreas Färber <afaerber@suse.de>
target-mips/translate.c