a15mpcore.c (b55e4b9c0525560577384adfc6d30eb0daa8d7be) a15mpcore.c (f4f318b41abe76a68ec1d616744ab9d6ec839abc)
1/*
2 * Cortex-A15MPCore internal peripheral emulation.
3 *
4 * Copyright (c) 2012 Linaro Limited.
5 * Written by Peter Maydell.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 12 unchanged lines hidden (view full) ---

21#include "qemu/osdep.h"
22#include "qapi/error.h"
23#include "qemu/module.h"
24#include "hw/cpu/a15mpcore.h"
25#include "hw/irq.h"
26#include "hw/qdev-properties.h"
27#include "sysemu/kvm.h"
28#include "kvm_arm.h"
1/*
2 * Cortex-A15MPCore internal peripheral emulation.
3 *
4 * Copyright (c) 2012 Linaro Limited.
5 * Written by Peter Maydell.
6 *
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by

--- 12 unchanged lines hidden (view full) ---

21#include "qemu/osdep.h"
22#include "qapi/error.h"
23#include "qemu/module.h"
24#include "hw/cpu/a15mpcore.h"
25#include "hw/irq.h"
26#include "hw/qdev-properties.h"
27#include "sysemu/kvm.h"
28#include "kvm_arm.h"
29#include "target/arm/gtimer.h"
29
30static void a15mp_priv_set_irq(void *opaque, int irq, int level)
31{
32 A15MPPrivState *s = (A15MPPrivState *)opaque;
33
34 qemu_set_irq(qdev_get_gpio_in(DEVICE(&s->gic), irq), level);
35}
36

--- 144 unchanged lines hidden ---
30
31static void a15mp_priv_set_irq(void *opaque, int irq, int level)
32{
33 A15MPPrivState *s = (A15MPPrivState *)opaque;
34
35 qemu_set_irq(qdev_get_gpio_in(DEVICE(&s->gic), irq), level);
36}
37

--- 144 unchanged lines hidden ---