hw/arm_gic: Use NVIC instead of LEGACY_INCLUDED_GIC define
commit0d256bdc8f540a52fe1f0475aeeed3bc9f6e2de4
authorPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Apr 2012 11:39:09 +0000 (13 11:39 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Fri, 13 Apr 2012 12:29:04 +0000 (13 12:29 +0000)
treea07a35b01cbc82efe42fc82bdfa558385a4f2968
parentaecff6924dab0197b6c8f132e44502b25fd98a38
hw/arm_gic: Use NVIC instead of LEGACY_INCLUDED_GIC define

Now all the A profile cores have been switched to use the standalone
sysbus GIC, the only remaining code which #includes arm_gic.c is
the v7M NVIC. The coupling is much closer here so it's not so
easily disentangled. For now, add a comment about how arm_gic.c
is compiled, and assume that the NVIC always includes arm_gic.c
and the non-NVIC GIC is always compiled standalone.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
hw/arm_gic.c
hw/armv7m_nvic.c