summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Maydell <peter.maydell@linaro.org>2020-03-03 17:49:50 +0000
committerPeter Maydell <peter.maydell@linaro.org>2020-03-12 16:01:37 +0000
commit563152e0d4cff72eaa2e1de36a842e99ea3c222f (patch)
treee35a9b122f7822f40af586ddb6de14db1819ab20
parent19717e9b44f5a14bbf92fb3bb9b99006d2f63dcf (diff)
downloadqemu-563152e0d4cff72eaa2e1de36a842e99ea3c222f.zip
target/arm: Fix some comment typos
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
-rw-r--r--target/arm/helper.c2
-rw-r--r--target/arm/translate.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/target/arm/helper.c b/target/arm/helper.c
index bc64077ec7..fc1192d120 100644
--- a/target/arm/helper.c
+++ b/target/arm/helper.c
@@ -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)
{
diff --git a/target/arm/translate.c b/target/arm/translate.c
index 4715ca0d2a..9f9f4e19e0 100644
--- a/target/arm/translate.c
+++ b/target/arm/translate.c
@@ -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);