From 0d256bdc8f540a52fe1f0475aeeed3bc9f6e2de4 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 13 Apr 2012 11:39:09 +0000 Subject: 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 --- hw/armv7m_nvic.c | 1 - 1 file changed, 1 deletion(-) (limited to 'hw/armv7m_nvic.c') diff --git a/hw/armv7m_nvic.c b/hw/armv7m_nvic.c index 5cfa971cab..986a6bbd0c 100644 --- a/hw/armv7m_nvic.c +++ b/hw/armv7m_nvic.c @@ -16,7 +16,6 @@ #include "exec-memory.h" #define NVIC 1 -#define LEGACY_INCLUDED_GIC static uint32_t nvic_readl(void *opaque, uint32_t offset); static void nvic_writel(void *opaque, uint32_t offset, uint32_t value); -- cgit v1.2.3