target-*: Fix typos found by codespell
PATCH 1/1 target-*: Fix typos found by codespell
Signed-off-by Stefan Weil <[email protected]>
--- 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(-)
target-i386/translate.c +1 -1
@@ -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 ;
target-m68k/translate.c +3 -3
@@ -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);
target-ppc/cpu.h +1 -1
@@ -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 */ };
target-ppc/excp_helper.c +1 -1
@@ -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)
target-ppc/int_helper.c +1 -1
@@ -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)
target-ppc/mmu-hash64.c +1 -1
@@ -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". */
target-s390x/cpu_models.c +1 -1
@@ -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.
target-s390x/cpu_models.h +1 -1
@@ -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;
Signature · 1 line
2.10.2
Quoted 1 line · Stefan Weil
Signed-off-by Stefan Weil <[email protected]>
Low risk, but low priority. Applied to ppc-for-2.9.
Quoted 133 lines
--- 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(-)target-i386/translate.c +1
-1@@ -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 ;target-m68k/translate.c +3
-3@@ -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);target-ppc/cpu.h +1
-1@@ -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 */ };target-ppc/excp_helper.c +1
-1@@ -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) target-ppc/int_helper.c +1
-1@@ -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) target-ppc/mmu-hash64.c +1
-1@@ -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". */ target-s390x/cpu_models.c +1
-1@@ -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. target-s390x/cpu_models.h +1
-1@@ -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;
Signature · 4 lines
David Gibson | I'll have my music baroque, and my code david AT gibson.dropbear.id.au | minimalist, thank you. NOT _the_ _other_ | _way_ _around_! http://www.ozlabs.org/~dgibson