diff options
author | Peter Maydell <peter.maydell@linaro.org> | 2012-10-18 11:49:09 +0100 |
---|---|---|
committer | Peter Maydell <peter.maydell@linaro.org> | 2012-10-18 11:49:09 +0100 |
commit | 334a663a459ec9de7c241fb0aab2a54abe680b17 (patch) | |
tree | d502a6e1826179473bdcc8e885df224f6225984f /target-arm/kvm-stub.c | |
parent | bdd7f9c38e93426c9a50d13856998df30f2b41dd (diff) |
target-arm: Use MemoryListener to identify GIC base address for KVMkvm-arm-dev-addr-test
When using an in-kernel GIC with KVM, we need to tell the kernel where
the GIC's memory mapped registers live. Do this by registering a
MemoryListener which tracks where the board model maps the A15's
private peripherals, so we can finish the GIC initialisation
when the GIC is actually mapped.
Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Diffstat (limited to 'target-arm/kvm-stub.c')
-rw-r--r-- | target-arm/kvm-stub.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/target-arm/kvm-stub.c b/target-arm/kvm-stub.c new file mode 100644 index 0000000000..fbdcd0e1af --- /dev/null +++ b/target-arm/kvm-stub.c @@ -0,0 +1,17 @@ +/* + * QEMU KVM ARM specific function stubs + * + * Copyright Linaro Limited 2012 + * + * Author: Peter Maydell <peter.maydell@linaro.org> + * + * This work is licensed under the terms of the GNU GPL, version 2 or later. + * See the COPYING file in the top-level directory. + * + */ +#include "qemu-common.h" +#include "kvm_arm.h" + +void kvm_arm_register_device(MemoryRegion *mr, uint32_t devid) +{ +} |