diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-04-13 11:39:07 +0000 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-04-13 11:39:07 +0000 |
commit | 496dbcd1a38c2ae4ada848445e4a1aa758af9f43 (patch) | |
tree | 8b39a3774273c83b48ee27e5d48fc1c54e998729 /hw/a15mpcore.c | |
parent | 544d1afa7013fce155f5afbbc24737f2fc0c0f26 (diff) | |
download | qemu-496dbcd1a38c2ae4ada848445e4a1aa758af9f43.zip qemu-496dbcd1a38c2ae4ada848445e4a1aa758af9f43.tar.gz qemu-496dbcd1a38c2ae4ada848445e4a1aa758af9f43.tar.bz2 |
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/a15mpcore.c')
-rw-r--r-- | hw/a15mpcore.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/hw/a15mpcore.c b/hw/a15mpcore.c index 2e2ed42..54c0dbf 100644 --- a/hw/a15mpcore.c +++ b/hw/a15mpcore.c @@ -20,6 +20,7 @@ #include "sysbus.h" +#define LEGACY_INCLUDED_GIC #include "arm_gic.c" /* A15MP private memory region. */ |