mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-04 00:03:54 -06:00
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>
This commit is contained in:
parent
0d877c66b6
commit
b861b7419c
5 changed files with 12 additions and 4 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue