qemu-devel
[Top][All Lists]
Advanced

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

[Qemu-devel] [PATCH for-2.8] target-*: Fix typos found by codespell


From: Stefan Weil
Subject: [Qemu-devel] [PATCH for-2.8] target-*: Fix typos found by codespell
Date: Sat, 19 Nov 2016 20:50:55 +0100

Signed-off-by: Stefan Weil <address@hidden>
---
 target-i386/translate.c   | 2 +-
 target-m68k/translate.c   | 6 +++---
 target-ppc/cpu.h          | 2 +-
 target-ppc/excp_helper.c  | 2 +-
 target-ppc/int_helper.c   | 2 +-
 target-ppc/mmu-hash64.c   | 2 +-
 target-s390x/cpu_models.c | 2 +-
 target-s390x/cpu_models.h | 2 +-
 8 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/target-i386/translate.c b/target-i386/translate.c
index 324103c..d8ca6df 100644
--- a/target-i386/translate.c
+++ b/target-i386/translate.c
@@ -6701,7 +6701,7 @@ static target_ulong disas_insn(CPUX86State *env, 
DisasContext *s,
         if (s->prefix & PREFIX_LOCK) {
             switch (op) {
             case 0: /* bt */
-                /* Needs no atomic ops; we surpressed the normal
+                /* Needs no atomic ops; we suppressed the normal
                    memory load for LOCK above so do it now.  */
                 gen_op_ld_v(s, ot, cpu_T0, cpu_A0);
                 break;
diff --git a/target-m68k/translate.c b/target-m68k/translate.c
index 9ad974f..cab2d58 100644
--- a/target-m68k/translate.c
+++ b/target-m68k/translate.c
@@ -1579,7 +1579,7 @@ DISAS_INSN(negx)
 
     gen_flush_flags(s); /* compute old Z */
 
-    /* Perform substract with borrow.
+    /* Perform subtract with borrow.
      * (X, N) =  -(src + X);
      */
 
@@ -2067,7 +2067,7 @@ static inline void gen_subx(DisasContext *s, TCGv src, 
TCGv dest, int opsize)
 
     gen_flush_flags(s); /* compute old Z */
 
-    /* Perform substract with borrow.
+    /* Perform subtract with borrow.
      * (X, N) = dest - (src + X);
      */
 
@@ -2077,7 +2077,7 @@ static inline void gen_subx(DisasContext *s, TCGv src, 
TCGv dest, int opsize)
     gen_ext(QREG_CC_N, QREG_CC_N, opsize, 1);
     tcg_gen_andi_i32(QREG_CC_X, QREG_CC_X, 1);
 
-    /* Compute signed-overflow for substract.  */
+    /* Compute signed-overflow for subtract.  */
 
     tcg_gen_xor_i32(QREG_CC_V, QREG_CC_N, dest);
     tcg_gen_xor_i32(tmp, dest, src);
diff --git a/target-ppc/cpu.h b/target-ppc/cpu.h
index 1c90adb..f65d318 100644
--- a/target-ppc/cpu.h
+++ b/target-ppc/cpu.h
@@ -2234,7 +2234,7 @@ enum {
     PPC_INTERRUPT_CDOORBELL,      /* Critical doorbell interrupt          */
     PPC_INTERRUPT_DOORBELL,       /* Doorbell interrupt                   */
     PPC_INTERRUPT_PERFM,          /* Performance monitor interrupt        */
-    PPC_INTERRUPT_HMI,            /* Hypervisor Maintainance interrupt    */
+    PPC_INTERRUPT_HMI,            /* Hypervisor Maintenance interrupt     */
     PPC_INTERRUPT_HDOORBELL,      /* Hypervisor Doorbell interrupt        */
 };
 
diff --git a/target-ppc/excp_helper.c b/target-ppc/excp_helper.c
index 93369d4..678e125 100644
--- a/target-ppc/excp_helper.c
+++ b/target-ppc/excp_helper.c
@@ -139,7 +139,7 @@ static inline void powerpc_excp(PowerPCCPU *cpu, int 
excp_model, int excp)
         }
     }
 
-    /* Exception targetting modifiers
+    /* Exception targeting modifiers
      *
      * LPES0 is supported on POWER7/8
      * LPES1 is not supported (old iSeries mode)
diff --git a/target-ppc/int_helper.c b/target-ppc/int_helper.c
index 9ac204a..5d4a571 100644
--- a/target-ppc/int_helper.c
+++ b/target-ppc/int_helper.c
@@ -155,7 +155,7 @@ target_ulong helper_cnttzw(target_ulong t)
 /* if x = 0xab, returns 0xababababababababa */
 #define pattern(x) (((x) & 0xff) * (~(target_ulong)0 / 0xff))
 
-/* substract 1 from each byte, and with inverse, check if MSB is set at each
+/* subtract 1 from each byte, and with inverse, check if MSB is set at each
  * byte.
  * i.e. ((0x00 - 0x01) & ~(0x00)) & 0x80
  *      (0xFF & 0xFF) & 0x80 = 0x80 (zero found)
diff --git a/target-ppc/mmu-hash64.c b/target-ppc/mmu-hash64.c
index fdb7a78..4f5d9f6 100644
--- a/target-ppc/mmu-hash64.c
+++ b/target-ppc/mmu-hash64.c
@@ -691,7 +691,7 @@ int ppc_hash64_handle_mmu_fault(PowerPCCPU *cpu, vaddr 
eaddr,
 
     /* Note on LPCR usage: 970 uses HID4, but our special variant
      * of store_spr copies relevant fields into env->spr[SPR_LPCR].
-     * Similarily we filter unimplemented bits when storing into
+     * Similarly we filter unimplemented bits when storing into
      * LPCR depending on the MMU version. This code can thus just
      * use the LPCR "as-is".
      */
diff --git a/target-s390x/cpu_models.c b/target-s390x/cpu_models.c
index c1e729d..a4d46f3 100644
--- a/target-s390x/cpu_models.c
+++ b/target-s390x/cpu_models.c
@@ -38,7 +38,7 @@
     }
 
 /*
- * CPU definiton list in order of release. For now, base features of a
+ * CPU definition list in order of release. For now, base features of a
  * following release are always a subset of base features of the previous
  * release. Same is correct for the other feature sets.
  * A BC release always follows the corresponding EC release.
diff --git a/target-s390x/cpu_models.h b/target-s390x/cpu_models.h
index 136a602..b76ea54 100644
--- a/target-s390x/cpu_models.h
+++ b/target-s390x/cpu_models.h
@@ -23,7 +23,7 @@ typedef struct S390CPUDef {
     uint8_t gen;            /* hw generation identification */
     uint16_t type;          /* cpu type identification */
     uint8_t ec_ga;          /* EC GA version (on which also the BC is based) */
-    uint8_t mha_pow;        /* Maximum Host Adress Power, mha = 2^pow-1 */
+    uint8_t mha_pow;        /* Maximum Host Address Power, mha = 2^pow-1 */
     uint32_t hmfai;         /* hypervisor-managed facilities */
     /* base/min features, must never be changed between QEMU versions */
     S390FeatBitmap base_feat;
-- 
2.10.2




reply via email to

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