fix last cpu timer initialization
authorArtyom Tarasenko <atar4qemu@googlemail.com>
Mon, 2 Aug 2010 17:58:21 +0000 (19:58 +0200)
committerBlue Swirl <blauwirbel@gmail.com>
Mon, 2 Aug 2010 18:49:13 +0000 (18:49 +0000)
commit5933e8a96ab9c59cb6b6c80c9db385364a68c959
tree5cd8921dd78b6d69efca5b5e623a5f9979b8938a
parentad7ee4ad6c3a5388acf94dd532d291ea6d3a5972
fix last cpu timer initialization

The timer #0 is the system timer, so the timer #num_cpu is the
timer of the last CPU, and it must be initialized in slavio_timer_reset.

Don't mark non-existing timers as running.

Signed-off-by: Artyom Tarasenko <atar4qemu@gmail.com>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
hw/slavio_timer.c