m68k: implement more ColdFire 5208 interrupt controller functionality
commit8c52f0cbba76310ad626e54996dbce08c7a8a820
authorGreg Ungerer <gerg@uclinux.org>
Fri, 19 Jun 2015 13:43:24 +0000 (19 23:43 +1000)
committerPeter Maydell <peter.maydell@linaro.org>
Mon, 22 Jun 2015 13:43:25 +0000 (22 14:43 +0100)
treea284d17b18b21049fb6920eb50bb5bff47556042
parent0a3346f5dea0a679322df804e1e78d7c10d12a9f
m68k: implement more ColdFire 5208 interrupt controller functionality

Implement the SIMR and CIMR registers of the 5208 interrupt controller.
These are used by modern versions of Linux running on ColdFire (not sure
of the exact version they were introduced, but they have been in for quite
a while now).

Without this change when attempting to run a linux-3.5 kernel you will
see:

  qemu: hardware error: mcf_intc_write: Bad write offset 28

and execution will stop and dump out.

Signed-off-by: Greg Ungerer <gerg@uclinux.org>
Reviewed-by: Peter Crosthwaite <peter.crosthwaite@xilinx.com>
Tested-by: Laurent Vivier <laurent@vivier.eu>
Message-id: 1434721406-25288-2-git-send-email-gerg@uclinux.org
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/m68k/mcf_intc.c