qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] [PATCH] arm_gic.c error message fix


From: Adam Lackorzynski
Subject: [Qemu-devel] [PATCH] arm_gic.c error message fix
Date: Sun, 26 Aug 2007 12:09:11 +0200
User-agent: Mutt/1.5.16 (2007-06-11)

Hello,

this patch fixes two typos in the gic_cpu_write and gic_cpu_read
functions of arm_gic.c.

Index: hw/arm_gic.c
===================================================================
RCS file: /sources/qemu/qemu/hw/arm_gic.c,v
retrieving revision 1.5
diff -u -r1.5 arm_gic.c
--- hw/arm_gic.c        3 Jun 2007 15:19:31 -0000       1.5
+++ hw/arm_gic.c        26 Aug 2007 10:07:01 -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                 address@hidden
  Lackorzynski         http://os.inf.tu-dresden.de/~adam/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]