~jderose/ubuntu/raring/qemu/vde-again

« back to all changes in this revision

Viewing changes to hw/arm_pic.h

Tags: upstream-0.9.0+20070816
ImportĀ upstreamĀ versionĀ 0.9.0+20070816

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
#ifndef ARM_INTERRUPT_H
15
15
#define ARM_INTERRUPT_H 1
16
16
 
17
 
/* The first element of an individual PIC state structures should
18
 
   be a pointer to the handler routine.  */
19
 
typedef void (*arm_pic_handler)(void *opaque, int irq, int level);
20
 
 
21
17
/* The CPU is also modeled as an interrupt controller.  */
22
18
#define ARM_PIC_CPU_IRQ 0
23
19
#define ARM_PIC_CPU_FIQ 1
24
 
void *arm_pic_init_cpu(CPUState *env);
 
20
qemu_irq *arm_pic_init_cpu(CPUState *env);
25
21
 
26
22
#endif /* !ARM_INTERRUPT_H */
27
23