On 21 February 2012 02:33, Rusty Russell wrote:
> Interrupts numbers 0-31 are private to the processor interface, 32-1019 are
> general interrups. Add GIC_INTERNAL and substitute everywhere.
> @@ -73,8 +75,9 @@ typedef struct gic_irq_state
> #define GIC_SET_TRIGGER(irq) s->irq_state[irq].trigger
Interrupts numbers 0-31 are private to the processor interface, 32-1019 are
general interrups. Add GIC_INTERNAL and substitute everywhere.
Signed-off-by: Rusty Russell
---
hw/arm_gic.c | 41 ++---
1 files changed, 22 insertions(+), 19 deletions(-)
diff --g
On 19 February 2012 23:06, Rusty Russell wrote:
> Interrupts numbers 0-31 are private to the processor interface, 32-1019 are
> general interrups. Add GIC_INTERNAL and substitute everywhere.
"interrupts".
> @@ -74,7 +76,7 @@ typedef struct gic_irq_state
> #define GIC_CLEAR_TRIGGER(irq) s->irq_
Interrupts numbers 0-31 are private to the processor interface, 32-1019 are
general interrups. Add GIC_INTERNAL and substitute everywhere.
Signed-off-by: Rusty Russell
diff --git a/hw/arm_gic.c b/hw/arm_gic.c
index cf582a5..fa6a60a 100644
--- a/hw/arm_gic.c
+++ b/hw/arm_gic.c
@@ -13,6 +13,8 @@