Code provision for hypervisor timers resources,
[qemu/qemu_0_9_1_stable.git] / hw / arm_pic.h
blob1eba2baabc6cde946faf8de8d7e80fb398fee6c8
1 /*
2 * Generic ARM Programmable Interrupt Controller support.
4 * Copyright (c) 2006 CodeSourcery.
5 * Written by Paul Brook
7 * This code is licenced under the LGPL.
9 * Arm hardware uses a wide variety of interrupt handling hardware.
10 * This provides a generic framework for connecting interrupt sources and
11 * inputs.
14 #ifndef ARM_INTERRUPT_H
15 #define ARM_INTERRUPT_H 1
17 /* The CPU is also modeled as an interrupt controller. */
18 #define ARM_PIC_CPU_IRQ 0
19 #define ARM_PIC_CPU_FIQ 1
20 qemu_irq *arm_pic_init_cpu(CPUState *env);
22 #endif /* !ARM_INTERRUPT_H */