arm-gic error message fix
PATCH 1/1 arm-gic error message fix
Hi,
this patch fixes two typos in the gic_cpu_write and gic_cpu_read functions of arm_gic.c.
Index: arm_gic.c
===================================================================
RCS file: /sources/qemu/qemu/hw/arm_gic.c,v
retrieving revision 1.5
arm_gic.c +2 -2
@@ -460,7 +460,7 @@case 0x18 :/* Highest Pending Interrupt */ return s->current_pending;default : -cpu_abort (cpu_single_env,"gic_cpu_writeb: Bad offset %x\n" , offset); +cpu_abort (cpu_single_env,"gic_cpu_read: Bad offset %x\n" , offset);return 0 ; } }
@@ -484,7 +484,7 @@case 0x10 :/* End Of Interrupt */ return gic_complete_irq (s, value &0x3ff );default : -cpu_abort (cpu_single_env,"gic_cpu_writeb: Bad offset %x\n" , offset); +cpu_abort (cpu_single_env,"gic_cpu_write: Bad offset %x\n" , offset);return ; }gic_update (s);
Adam
Signature · 2 lines
Adam [email protected] Lackorzynski http://os.inf.tu-dresden.de/~adam/