[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH V2 05/14] tricore/: fix some comment spelling errors
From: |
zhaolichang |
Subject: |
[PATCH V2 05/14] tricore/: fix some comment spelling errors |
Date: |
Fri, 9 Oct 2020 14:44:40 +0800 |
I found that there are many spelling errors in the comments of
qemu/target/tricore.
I used spellcheck to check the spelling errors and found some errors in the
folder.
Signed-off-by: zhaolichang <zhaolichang@huawei.com>
Reviewed-by: David Edmondson <david.edmondson@oracle.com>
---
target/s390x/ioinst.c | 2 +-
target/tricore/csfr.def | 2 +-
target/tricore/translate.c | 2 +-
3 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/target/s390x/ioinst.c b/target/s390x/ioinst.c
index a412926d27..c576d85e57 100644
--- a/target/s390x/ioinst.c
+++ b/target/s390x/ioinst.c
@@ -279,7 +279,7 @@ void ioinst_handle_stsch(S390CPU *cpu, uint64_t reg1,
uint32_t ipb,
/*
* As operand exceptions have a lower priority than access exceptions,
* we check whether the memory area is writeable (injecting the
- * access execption if it is not) first.
+ * access exception if it is not) first.
*/
if (!s390_cpu_virt_mem_check_write(cpu, addr, ar, sizeof(schib))) {
s390_program_interrupt(env, PGM_OPERAND, ra);
diff --git a/target/tricore/csfr.def b/target/tricore/csfr.def
index ff004cbddc..cdfaf1d662 100644
--- a/target/tricore/csfr.def
+++ b/target/tricore/csfr.def
@@ -1,4 +1,4 @@
-/* A(ll) access permited
+/* A(ll) access permitted
R(ead only) access
E(nd init protected) access
diff --git a/target/tricore/translate.c b/target/tricore/translate.c
index 7752630ac1..c9c420d9d7 100644
--- a/target/tricore/translate.c
+++ b/target/tricore/translate.c
@@ -397,7 +397,7 @@ static inline void gen_mfcr(DisasContext *ctx, TCGv ret,
int32_t offset)
#undef E
#define R(ADDRESS, REG, FEATURE) /* don't gen writes to read-only reg,
- since no execption occurs */
+ since no exception occurs */
#define A(ADDRESS, REG, FEATURE) R(ADDRESS, REG, FEATURE) \
case ADDRESS: \
if (has_feature(ctx, FEATURE)) { \
--
2.26.2.windows.1
- [PATCH V2 02/14] ppc/: fix some comment spelling errors, (continued)
- [PATCH V2 02/14] ppc/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 04/14] rx/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 06/14] mips/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 05/14] tricore/: fix some comment spelling errors,
zhaolichang <=
- [PATCH V2 08/14] m68k/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 07/14] s390x/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 11/14] avr/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 10/14] i386/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 09/14] sh4/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 13/14] alpha/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 14/14] target/: fix some comment spelling errors, zhaolichang, 2020/10/09
- [PATCH V2 12/14] arm/: fix some comment spelling errors, zhaolichang, 2020/10/09