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>
This commit is contained in:
Bibo Mao
2025-07-11 14:47:15 +08:00
parent 90cff30d72
commit e5de64ae02
+2 -2
View File
@@ -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;
}