summary refs log tree commit diff stats
path: root/hw/misc
diff options
context:
space:
mode:
authorYongbok Kim <yongbok.kim@imgtec.com>2016-03-28 19:35:51 -0700
committerLeon Alrae <leon.alrae@imgtec.com>2016-07-12 09:10:12 +0100
commite8bd336dd1af6d1073e9411bd1c47b045988b30a (patch)
tree61d7f85ebae85f4021a64a9bc0feb5e948833745 /hw/misc
parent405140519f58815b422db086b7461d6c00b79b57 (diff)
downloadfocaccia-qemu-e8bd336dd1af6d1073e9411bd1c47b045988b30a.tar.gz
focaccia-qemu-e8bd336dd1af6d1073e9411bd1c47b045988b30a.zip
hw/mips: implement Global Interrupt Controller
The Global Interrupt Controller (GIC) is responsible for mapping each
internal and external interrupt to the correct location for servicing.

The internal representation of registers is different from the specification
in order to consolidate information for each GIC Interrupt Sources and Virtual
Processors with same functionalities. For example SH_MAP00_VP00 registers are
defined like each bit represents a VP but in this implementation the equivalent
map_vp contains VP number in integer form for ease accesses. When it is being
accessed via read write functions an internal data is converted back into the
original format as the specification.

Limitations:
Level triggering only
GIC CounterHi not implemented (Countbits = 32bits)
DINT not implemented
Local WatchDog, Fast Debug Channel, Perf Counter not implemented

Signed-off-by: Yongbok Kim <yongbok.kim@imgtec.com>
Signed-off-by: Leon Alrae <leon.alrae@imgtec.com>
Diffstat (limited to 'hw/misc')
0 files changed, 0 insertions, 0 deletions