target/arm: Fix some comment typos
authorPeter Maydell <peter.maydell@linaro.org>
Tue, 3 Mar 2020 17:49:50 +0000 (17:49 +0000)
committerPeter Maydell <peter.maydell@linaro.org>
Thu, 12 Mar 2020 16:01:37 +0000 (16:01 +0000)
Fix a couple of comment typos.

Signed-off-by: Peter Maydell <peter.maydell@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Message-id: 20200303174950.3298-5-peter.maydell@linaro.org

target/arm/helper.c
target/arm/translate.c

index bc64077ec7cc6c0f69c5cd7130f94ef420625097..fc1192d1204c0cd7f3f48726180452883ad50e08 100644 (file)
@@ -12490,7 +12490,7 @@ void HELPER(rebuild_hflags_m32)(CPUARMState *env, int el)
 
 /*
  * If we have triggered a EL state change we can't rely on the
- * translator having passed it too us, we need to recompute.
+ * translator having passed it to us, we need to recompute.
  */
 void HELPER(rebuild_hflags_a32_newel)(CPUARMState *env)
 {
index 4715ca0d2aded587baa09eb2346fff35181b496d..9f9f4e19e04bb85badb5faec37fc3637e62d64a8 100644 (file)
@@ -7296,7 +7296,7 @@ static int disas_coproc_insn(DisasContext *s, uint32_t insn)
 
         if (!isread && !(ri->type & ARM_CP_SUPPRESS_TB_END)) {
             /*
-             * A write to any coprocessor regiser that ends a TB
+             * A write to any coprocessor register that ends a TB
              * must rebuild the hflags for the next TB.
              */
             TCGv_i32 tcg_el = tcg_const_i32(s->current_el);