aboutsummaryrefslogtreecommitdiff
path: root/hw/exynos4210_gic.c
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2012-04-13 11:39:07 +0000
committerPeter Maydell <peter.maydell@linaro.org>2012-04-13 11:39:07 +0000
commit496dbcd1a38c2ae4ada848445e4a1aa758af9f43 (patch)
tree8b39a3774273c83b48ee27e5d48fc1c54e998729 /hw/exynos4210_gic.c
parent544d1afa7013fce155f5afbbc24737f2fc0c0f26 (diff)
hw/arm_gic: Make the GIC its own sysbus device
Compile arm_gic.c as a standalone C file to produce a self contained sysbus GIC device. Support the legacy usage by #include of the .c file by making those users #define LEGACY_INCLUDED_GIC, so we can convert them one by one. Signed-off-by: Peter Maydell <peter.maydell@linaro.org> Reviewed-by: Evgeny Voevodin <e.voevodin@samsung.com>
Diffstat (limited to 'hw/exynos4210_gic.c')
-rw-r--r--hw/exynos4210_gic.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/exynos4210_gic.c b/hw/exynos4210_gic.c
index ff7ab848e5..a05dab2d2e 100644
--- a/hw/exynos4210_gic.c
+++ b/hw/exynos4210_gic.c
@@ -262,6 +262,7 @@ uint32_t exynos4210_get_irq(uint32_t grp, uint32_t bit)
/********* GIC part *********/
+#define LEGACY_INCLUDED_GIC
#include "arm_gic.c"
typedef struct {