mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-03 07:43:54 -06:00
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:
parent
544d1afa70
commit
496dbcd1a3
8 changed files with 58 additions and 1 deletions
|
@ -10,6 +10,7 @@
|
|||
|
||||
#include "sysbus.h"
|
||||
|
||||
#define LEGACY_INCLUDED_GIC
|
||||
#include "arm_gic.c"
|
||||
|
||||
/* A9MP private memory region. */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue