Re: [Qemu-devel] [PATCH 1/2] arm: clean up GIC constants.

2012-02-21 Thread Peter Maydell
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

[Qemu-devel] [PATCH 1/2] arm: clean up GIC constants.

2012-02-20 Thread Rusty Russell
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

Re: [Qemu-devel] [PATCH 1/2] arm: clean up GIC constants.

2012-02-20 Thread Peter Maydell
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_

[Qemu-devel] [PATCH 1/2] arm: clean up GIC constants.

2012-02-19 Thread Rusty Russell
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 @@