From 496dbcd1a38c2ae4ada848445e4a1aa758af9f43 Mon Sep 17 00:00:00 2001 From: Peter Maydell Date: Fri, 13 Apr 2012 11:39:07 +0000 Subject: 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 Reviewed-by: Evgeny Voevodin --- hw/exynos4210_gic.c | 1 + 1 file changed, 1 insertion(+) (limited to 'hw/exynos4210_gic.c') diff --git a/hw/exynos4210_gic.c b/hw/exynos4210_gic.c index ff7ab84..a05dab2 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 { -- cgit v1.1