arm: Create a GIC base class and make the PL390 derive from it
authorAndreas Sandberg <Andreas.Sandberg@ARM.com>
Thu, 25 Oct 2012 13:05:24 +0000 (14:05 +0100)
committerAndreas Sandberg <Andreas.Sandberg@ARM.com>
Thu, 25 Oct 2012 13:05:24 +0000 (14:05 +0100)
commit81be8b9d157a038c1d8f3ebf7e2ec8eba0eac935
treea10132c3d1938bab3cd79626aead978ca1760d20
parentb904bd5437ead0dfc2c4c0977f3d29d63299c601
arm: Create a GIC base class and make the PL390 derive from it

This patch moves the GIC interface to a separate base class and makes
all interrupt devices use that base class instead of a pointer to the
PL390 implementation. This allows us to have multiple GIC
implementations. Future implementations will allow in-kernel GIC
implementations when using hardware virtualization.

--HG--
rename : src/dev/arm/gic.cc => src/dev/arm/gic_pl390.cc
rename : src/dev/arm/gic.hh => src/dev/arm/gic_pl390.hh
21 files changed:
src/dev/arm/Gic.py [new file with mode: 0644]
src/dev/arm/RealView.py
src/dev/arm/SConscript
src/dev/arm/amba_device.hh
src/dev/arm/base_gic.cc [new file with mode: 0644]
src/dev/arm/base_gic.hh [new file with mode: 0644]
src/dev/arm/gic.cc [deleted file]
src/dev/arm/gic.hh [deleted file]
src/dev/arm/gic_pl390.cc [new file with mode: 0644]
src/dev/arm/gic_pl390.hh [new file with mode: 0644]
src/dev/arm/kmi.hh
src/dev/arm/pl011.cc
src/dev/arm/pl011.hh
src/dev/arm/pl111.cc
src/dev/arm/pl111.hh
src/dev/arm/realview.cc
src/dev/arm/realview.hh
src/dev/arm/timer_cpulocal.cc
src/dev/arm/timer_cpulocal.hh
src/dev/arm/timer_sp804.cc
src/dev/arm/timer_sp804.hh