mips: move hw/mips/cputimer.c to target/mips/
commit5502b66fc7d0bebd08b9b7017cb7e8b5261c3a2d
authorPhilippe Mathieu-Daudé <f4bug@amsat.org>
Wed, 20 Sep 2017 19:49:29 +0000 (20 16:49 -0300)
committerYongbok Kim <yongbok.kim@imgtec.com>
Thu, 21 Sep 2017 12:24:34 +0000 (21 13:24 +0100)
tree49bb5858296ea9d548f781bce5843851608deed6
parentff5667ed53c544c4dc88dcd7cb23cc509c9a55e0
mips: move hw/mips/cputimer.c to target/mips/

This timer is a required part of the MIPS32/MIPS64 System Control coprocessor
(CP0). Moving it with the other architecture related files will allow an opaque
use of CPUMIPSState* in the next commit (introduce "internal.h").

also remove it from 'user' targets, remove an unnecessary include.

Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Tested-by: Igor Mammedov <imammedo@redhat.com>
Tested-by: James Hogan <james.hogan@imgtec.com>
Acked-by: Eduardo Habkost <ehabkost@redhat.com>
Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
hw/mips/Makefile.objs
target/mips/Makefile.objs
target/mips/cp0_timer.c [moved from hw/mips/cputimer.c with 99% similarity]