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>
This commit is contained in:
Peter Maydell 2012-04-13 11:39:07 +00:00
parent 544d1afa70
commit 496dbcd1a3
8 changed files with 58 additions and 1 deletions

View file

@ -10,6 +10,7 @@
#include "sysbus.h"
#define LEGACY_INCLUDED_GIC
#include "arm_gic.c"
/* A9MP private memory region. */