hw/mips_cpc: make VP correctly start from the reset vector
authorLeon Alrae <leon.alrae@imgtec.com>
Thu, 9 Jun 2016 09:46:51 +0000 (10:46 +0100)
committerLeon Alrae <leon.alrae@imgtec.com>
Tue, 12 Jul 2016 08:10:15 +0000 (09:10 +0100)
commitdff94251f02708d2ef9aee5149abd69f039e4a13
treeb1bbcc4b3be27605993db87de547bd972d74d86a
parent89777fd10fc3dd573c3b4d1b2efdd10af823c001
hw/mips_cpc: make VP correctly start from the reset vector

When VP enters the Run state it starts execution from the reset vector.
Currently used CPU_INTERRUPT_WAKE does not do that if reset exception
base has been modified. Therefore fix that by simply resetting given VP.

Drop the usage of CPU_INTERRUPT_WAKE also in VP_STOP and instead raise
the CPU_INTERRUPT_HALT to halt a VP.

Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
hw/misc/mips_cpc.c