aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBibo Mao <maobibo@loongson.cn>2025-06-18 10:30:55 +0800
committerBibo Mao <maobibo@loongson.cn>2025-07-11 14:47:15 +0800
commite5de64ae0233a13f5a623a62aec0b95d66ab7ce6 (patch)
tree79c7d7bd16f33275ce3068d0d90ba28a24860a2d
parent90cff30d72d4f63fbfa637140b9e06e9894220c2 (diff)
downloadqemu-e5de64ae0233a13f5a623a62aec0b95d66ab7ce6.zip
qemu-e5de64ae0233a13f5a623a62aec0b95d66ab7ce6.tar.gz
qemu-e5de64ae0233a13f5a623a62aec0b95d66ab7ce6.tar.bz2
target/loongarch: Correct spelling in helper_csrwr_pwcl()
There is small typo issue in function helper_csrwr_pwcl(), this patch corrects this issue. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Song Gao <gaosong@loongson.cn>
-rw-r--r--target/loongarch/tcg/csr_helper.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/loongarch/tcg/csr_helper.c b/target/loongarch/tcg/csr_helper.c
index 2942d7f..46d331c 100644
--- a/target/loongarch/tcg/csr_helper.c
+++ b/target/loongarch/tcg/csr_helper.c
@@ -131,8 +131,8 @@ target_ulong helper_csrwr_pwcl(CPULoongArchState *env, target_ulong val)
}
if (!check_ps(env, ptbase)) {
qemu_log_mask(LOG_GUEST_ERROR,
- "Attrmpted set ptbase 2^%d\n", ptbase);
+ "Attempted set ptbase 2^%d\n", ptbase);
}
- env->CSR_PWCL =val;
+ env->CSR_PWCL = val;
return old_v;
}