aboutsummaryrefslogtreecommitdiff
path: root/hw/microblaze_pic_cpu.c
diff options
context:
space:
mode:
authorPeter A. G. Crosthwaite <peter.crosthwaite@petalogix.com>2011-08-22 18:15:25 +1000
committerEdgar E. Iglesias <edgar.iglesias@gmail.com>2011-08-22 23:29:37 +0200
commitb861b7419c49ad53e786062b4fbf6da53468f130 (patch)
tree31117d3b3295abcaeca37fadd91505a191ee00e2 /hw/microblaze_pic_cpu.c
parent0d877c66b6df4a0d90eec9fd225a5592bc96ab51 (diff)
xilinx: removed microbalze_pic_init from xilinx.h
This is a microblaze target specific function that belongs outside of xilinx.h (which is a collection of target independent device model instantiator functions) Signed-off-by: Peter A. G. Crosthwaite <peter.crosthwaite@petalogix.com> Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com>
Diffstat (limited to 'hw/microblaze_pic_cpu.c')
-rw-r--r--hw/microblaze_pic_cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/hw/microblaze_pic_cpu.c b/hw/microblaze_pic_cpu.c
index 7c59382fbe..9ad48b4b95 100644
--- a/hw/microblaze_pic_cpu.c
+++ b/hw/microblaze_pic_cpu.c
@@ -24,6 +24,7 @@
#include "hw.h"
#include "pc.h"
+#include "microblaze_pic_cpu.h"
#define D(x)
@@ -43,7 +44,6 @@ static void microblaze_pic_cpu_handler(void *opaque, int irq, int level)
cpu_reset_interrupt(env, type);
}
-qemu_irq *microblaze_pic_init_cpu(CPUState *env);
qemu_irq *microblaze_pic_init_cpu(CPUState *env)
{
return qemu_allocate_irqs(microblaze_pic_cpu_handler, env, 2);