* [Qemu-devel] [PATCH] arm-gic error message fix
@ 2007-07-03 9:30 Adam Lackorzynski
0 siblings, 0 replies; only message in thread
From: Adam Lackorzynski @ 2007-07-03 9:30 UTC (permalink / raw)
To: qemu-devel
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
diff -u -r1.5 arm_gic.c
--- arm_gic.c 3 Jun 2007 15:19:31 -0000 1.5
+++ arm_gic.c 3 Jul 2007 09:27:05 -0000
@@ -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
--
Adam adam@os.inf.tu-dresden.de
Lackorzynski http://os.inf.tu-dresden.de/~adam/
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-07-03 9:30 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-07-03 9:30 [Qemu-devel] [PATCH] arm-gic error message fix Adam Lackorzynski
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).