qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel][PATCH]Minor spelling fixes
@ 2006-05-14 11:06 Stefan Weil
  2007-06-02 10:10 ` Stefan Weil
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2006-05-14 11:06 UTC (permalink / raw)
  To: qemu-devel

Here is a collection of some minor patches.
They only fix spelling in comments.

Regards
Stefan


Index: cpu-exec.c
===================================================================
RCS file: /sources/qemu/qemu/cpu-exec.c,v
retrieving revision 1.78
diff -u -b -B -u -r1.78 cpu-exec.c
--- cpu-exec.c    27 Apr 2006 21:05:14 -0000    1.78
+++ cpu-exec.c    14 May 2006 10:42:48 -0000
@@ -386,7 +386,7 @@
                     break;
                 } else if (env->user_mode_only) {
                     /* if user mode only, we simulate a fake exception
-                       which will be hanlded outside the cpu execution
+                       which will be handled outside the cpu execution
                        loop */
 #if defined(TARGET_I386)
                     do_interrupt_user(env->exception_index,
Index: hw/ne2000.c
===================================================================
RCS file: /sources/qemu/qemu/hw/ne2000.c,v
retrieving revision 1.19
diff -u -b -B -u -r1.19 ne2000.c
--- hw/ne2000.c    4 Feb 2006 22:15:28 -0000    1.19
+++ hw/ne2000.c    14 May 2006 10:42:54 -0000
@@ -312,7 +312,7 @@
     }
     s->curpag = next >> 8;
 
-    /* now we can signal we have receive something */
+    /* now we can signal we have received something */
     s->isr |= ENISR_RX;
     ne2000_update_irq(s);
 }
Index: hw/smc91c111.c
===================================================================
RCS file: /sources/qemu/qemu/hw/smc91c111.c,v
retrieving revision 1.3
diff -u -b -B -u -r1.3 smc91c111.c
--- hw/smc91c111.c    4 Feb 2006 22:15:28 -0000    1.3
+++ hw/smc91c111.c    14 May 2006 10:42:55 -0000
@@ -615,7 +615,7 @@
 
     if ((s->rcr & RCR_RXEN) == 0 || (s->rcr & RCR_SOFT_RST))
         return;
-    /* Short packets are padded with zeros.  Recieveing a packet
+    /* Short packets are padded with zeros.  Receiving a packet
        < 64 bytes long is considered an error condition.  */
     if (size < 64)
         packetsize = 64;
Index: hw/unin_pci.c
===================================================================
RCS file: /sources/qemu/qemu/hw/unin_pci.c,v
retrieving revision 1.1
diff -u -b -B -u -r1.1 unin_pci.c
--- hw/unin_pci.c    13 May 2006 16:11:23 -0000    1.1
+++ hw/unin_pci.c    14 May 2006 10:42:55 -0000
@@ -176,7 +176,7 @@
     d->config[0x0E] = 0x00; // header_type
     d->config[0x34] = 0x00; // capabilities_pointer
 
-#if 0 // XXX: not activated as PPC BIOS doesn't handle mutiple buses 
properly
+#if 0 // XXX: not activated as PPC BIOS doesn't handle multiple busses 
properly
     /* pci-to-pci bridge */
     d = pci_register_device("Uni-north bridge", sizeof(PCIDevice), 0, 
13 << 3,
                             NULL, NULL);
Index: target-mips/translate.c
===================================================================
RCS file: /sources/qemu/qemu/target-mips/translate.c,v
retrieving revision 1.12
diff -u -b -B -u -r1.12 translate.c
--- target-mips/translate.c    23 Apr 2006 15:21:24 -0000    1.12
+++ target-mips/translate.c    14 May 2006 10:42:56 -0000
@@ -173,7 +173,7 @@
 };
 
 enum {
-    /* Mutiply & xxx operations */
+    /* Multiply & xxx operations */
     OPC_MADD     = 0x00 | EXT_SPECIAL2,
     OPC_MADDU    = 0x01 | EXT_SPECIAL2,
     OPC_MUL      = 0x02 | EXT_SPECIAL2,
Index: target-sh4/README.sh4
===================================================================
RCS file: /sources/qemu/qemu/target-sh4/README.sh4,v
retrieving revision 1.1
diff -u -b -B -u -r1.1 README.sh4
--- target-sh4/README.sh4    27 Apr 2006 21:32:09 -0000    1.1
+++ target-sh4/README.sh4    14 May 2006 10:42:57 -0000
@@ -113,7 +113,7 @@
 Files
 -----
 
-File names are harcoded at this time. The bootloader must be stored in
+File names are hardcoded at this time. The bootloader must be stored in
 shix_bios.bin in the current directory. The initial Linux image must
 be stored in shix_linux_nand.bin in the current directory in NAND
 format. Test files can be obtained from

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel][PATCH]Minor spelling fixes
  2006-05-14 11:06 [Qemu-devel][PATCH]Minor spelling fixes Stefan Weil
@ 2007-06-02 10:10 ` Stefan Weil
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Weil @ 2007-06-02 10:10 UTC (permalink / raw)
  To: qemu-devel

[-- Attachment #1: Type: text/plain, Size: 226 bytes --]

Here are some more spelling fixes and one fix for code formatting.
Please add them to CVS.

Stefan

Stefan Weil schrieb:
> Here is a collection of some minor patches.
> They only fix spelling in comments.
>
> Regards
> Stefan

[-- Attachment #2: spelling.patch --]
[-- Type: text/x-diff, Size: 8248 bytes --]

Index: disas.c
===================================================================
RCS file: /sources/qemu/qemu/disas.c,v
retrieving revision 1.37
diff -u -b -B -r1.37 disas.c
--- disas.c	9 Apr 2007 15:14:57 -0000	1.37
+++ disas.c	2 Jun 2007 09:32:01 -0000
@@ -134,7 +134,7 @@
 }
 #endif
 
-/* Disassemble this for me please... (debugging). 'flags' has teh following
+/* Disassemble this for me please... (debugging). 'flags' has the following
    values:
     i386 - nonzero means 16 bit code
     arm  - nonzero means thumb code 
Index: exec.c
===================================================================
RCS file: /sources/qemu/qemu/exec.c,v
retrieving revision 1.98
diff -u -b -B -r1.98 exec.c
--- exec.c	30 May 2007 17:25:06 -0000	1.98
+++ exec.c	2 Jun 2007 09:32:04 -0000
@@ -1220,7 +1221,7 @@
     { CPU_LOG_EXEC, "exec",
       "show trace before each executed TB (lots of logs)" },
     { CPU_LOG_TB_CPU, "cpu",
-      "show CPU state before bloc translation" },
+      "show CPU state before block translation" },
 #ifdef TARGET_I386
     { CPU_LOG_PCALL, "pcall",
       "show protected mode far calls/returns/exceptions" },
Index: sdl.c
===================================================================
RCS file: /sources/qemu/qemu/sdl.c,v
retrieving revision 1.38
diff -u -b -B -r1.38 sdl.c
--- sdl.c	1 May 2007 01:34:14 -0000	1.38
+++ sdl.c	2 Jun 2007 09:32:06 -0000
@@ -407,7 +407,8 @@
                         case SDLK_END: keysym = QEMU_KEY_END; break;
                         case SDLK_PAGEUP: keysym = QEMU_KEY_PAGEUP; break;
                         case SDLK_PAGEDOWN: keysym = QEMU_KEY_PAGEDOWN; break;
-                        case SDLK_BACKSPACE: keysym = QEMU_KEY_BACKSPACE; break;                        case SDLK_DELETE: keysym = QEMU_KEY_DELETE; break;
+                        case SDLK_BACKSPACE: keysym = QEMU_KEY_BACKSPACE; break;
+                        case SDLK_DELETE: keysym = QEMU_KEY_DELETE; break;
                         default: break;
                         }
                     }
Index: darwin-user/mmap.c
===================================================================
RCS file: /sources/qemu/qemu/darwin-user/mmap.c,v
retrieving revision 1.1
diff -u -b -B -r1.1 mmap.c
--- darwin-user/mmap.c	18 Jan 2007 20:06:33 -0000	1.1
+++ darwin-user/mmap.c	2 Jun 2007 09:32:09 -0000
@@ -199,7 +199,7 @@
 
     if (!(flags & MAP_FIXED)) {
 #if defined(__alpha__) || defined(__sparc__) || defined(__x86_64__)
-        /* tell the kenel to search at the same place as i386 */
+        /* tell the kernel to search at the same place as i386 */
         if (host_start == 0) {
             host_start = last_start;
             last_start += HOST_PAGE_ALIGN(len);
Index: hw/cirrus_vga.c
===================================================================
RCS file: /sources/qemu/qemu/hw/cirrus_vga.c,v
retrieving revision 1.24
diff -u -b -B -r1.24 cirrus_vga.c
--- hw/cirrus_vga.c	2 Apr 2007 01:10:46 -0000	1.24
+++ hw/cirrus_vga.c	2 Jun 2007 09:32:10 -0000
@@ -2784,7 +2786,7 @@
 	case 0x09:
 	case 0x0c:
 	case 0x0d:
-	case 0x12:		/* veritcal display end */
+	case 0x12:		/* vertical display end */
 	    s->cr[s->cr_index] = val;
 	    break;
 
Index: hw/cuda.c
===================================================================
RCS file: /sources/qemu/qemu/hw/cuda.c,v
retrieving revision 1.12
diff -u -b -B -r1.12 cuda.c
--- hw/cuda.c	7 Apr 2007 18:14:41 -0000	1.12
+++ hw/cuda.c	2 Jun 2007 09:32:10 -0000
@@ -445,9 +445,9 @@
             cuda_update_irq(s);
         } else {
             if (!(s->last_b & TIP)) {
-                /* handle end of host to cuda transfert */
+                /* handle end of host to cuda transfer */
                 packet_received = (s->data_out_index > 0);
-                /* always an IRQ at the end of transfert */
+                /* always an IRQ at the end of transfer */
                 s->ifr |= SR_INT;
                 cuda_update_irq(s);
             }
Index: hw/ne2000.c
===================================================================
RCS file: /sources/qemu/qemu/hw/ne2000.c,v
retrieving revision 1.25
diff -u -b -B -r1.25 ne2000.c
--- hw/ne2000.c	7 Apr 2007 18:14:41 -0000	1.25
+++ hw/ne2000.c	2 Jun 2007 09:32:14 -0000
@@ -325,7 +325,7 @@
         s->cmd = val;
         if (!(val & E8390_STOP)) { /* START bit makes no sense on RTL8029... */
             s->isr &= ~ENISR_RESET;
-            /* test specific case: zero length transfert */
+            /* test specific case: zero length transfer */
             if ((val & (E8390_RREAD | E8390_RWRITE)) &&
                 s->rcnt == 0) {
                 s->isr |= ENISR_RDC;
@@ -340,7 +340,7 @@
                 if (index + s->tcnt <= NE2000_PMEM_END) {
                     qemu_send_packet(s->vc, s->mem + index, s->tcnt);
                 }
-                /* signal end of transfert */
+                /* signal end of transfer */
                 s->tsr = ENTSR_PTX;
                 s->isr |= ENISR_TX;
                 s->cmd &= ~E8390_TRANS; 
@@ -550,7 +550,7 @@
 
     if (s->rcnt <= len) {
         s->rcnt = 0;
-        /* signal end of transfert */
+        /* signal end of transfer */
         s->isr |= ENISR_RDC;
         ne2000_update_irq(s);
     } else {
Index: hw/scsi-disk.c
===================================================================
RCS file: /sources/qemu/qemu/hw/scsi-disk.c,v
retrieving revision 1.14
diff -u -b -B -r1.14 scsi-disk.c
--- hw/scsi-disk.c	28 Apr 2007 20:47:59 -0000	1.14
+++ hw/scsi-disk.c	2 Jun 2007 09:32:15 -0000
@@ -489,7 +489,7 @@
         is_write = 1;
         break;
     case 0x35:
-        DPRINTF("Syncronise cache (sector %d, count %d)\n", lba, len);
+        DPRINTF("Synchronise cache (sector %d, count %d)\n", lba, len);
         bdrv_flush(s->bdrv);
         break;
     case 0x43:
Index: hw/vga.c
===================================================================
RCS file: /sources/qemu/qemu/hw/vga.c,v
retrieving revision 1.51
diff -u -b -B -r1.51 vga.c
--- hw/vga.c	13 May 2007 13:26:49 -0000	1.51
+++ hw/vga.c	2 Jun 2007 09:32:16 -0000
@@ -346,7 +351,7 @@
         case 0x09:
         case 0x0c:
         case 0x0d:
-        case 0x12: /* veritcal display end */
+        case 0x12: /* vertical display end */
             s->cr[s->cr_index] = val;
             break;
         default:
Index: linux-user/elfload.c
===================================================================
RCS file: /sources/qemu/qemu/linux-user/elfload.c,v
retrieving revision 1.41
diff -u -b -B -r1.41 elfload.c
--- linux-user/elfload.c	13 May 2007 13:58:00 -0000	1.41
+++ linux-user/elfload.c	2 Jun 2007 09:32:17 -0000
@@ -799,7 +799,7 @@
 #endif
 
         if (interp_elf_ex->e_type == ET_DYN) {
-            /* in order to avoid harcoding the interpreter load
+            /* in order to avoid hardcoding the interpreter load
                address in qemu, we allocate a big enough memory zone */
             error = target_mmap(0, INTERP_MAP_SIZE,
                                 PROT_NONE, MAP_PRIVATE | MAP_ANON, 
@@ -1191,7 +1191,7 @@
                base, as well as whatever program they might try to exec.  This
                is because the brk will follow the loader, and is not movable.  */
             /* NOTE: for qemu, we do a big mmap to get enough space
-               without harcoding any address */
+               without hardcoding any address */
             error = target_mmap(0, ET_DYN_MAP_SIZE,
                                 PROT_NONE, MAP_PRIVATE | MAP_ANON, 
                                 -1, 0);
Index: target-i386/translate.c
===================================================================
RCS file: /sources/qemu/qemu/target-i386/translate.c,v
retrieving revision 1.64
diff -u -b -B -r1.64 translate.c
--- target-i386/translate.c	27 May 2007 19:39:27 -0000	1.64
+++ target-i386/translate.c	2 Jun 2007 09:32:21 -0000
@@ -6431,7 +6432,7 @@
 
     opc_ptr = opc_buf + opc_buf_len;
     /* live_flags contains the flags needed by the next instructions
-       in the code. At the end of the bloc, we consider that all the
+       in the code. At the end of the block, we consider that all the
        flags are live. */
     live_flags = CC_OSZAPC;
     while (opc_ptr > opc_buf) {

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-06-02 10:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-05-14 11:06 [Qemu-devel][PATCH]Minor spelling fixes Stefan Weil
2007-06-02 10:10 ` Stefan Weil

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).