On 7/29/25 17:01, Bibo Mao wrote:
There is mixed usage between enum variable TLBRET_xxx and int type,
here add enum type TLBRet definition and replace int type variable
with enum type TLBRet in some functions.
Signed-off-by: Bibo Mao<maob...@loongson.cn>
---
target/loongarch/cpu-mmu.h | 27 ++++++++++++++-------------
target/loongarch/cpu_helper.c | 26 ++++++++++++++------------
target/loongarch/tcg/tcg_loongarch.h | 7 ++++---
target/loongarch/tcg/tlb_helper.c | 16 ++++++++--------
4 files changed, 40 insertions(+), 36 deletions(-)
Reviewed-by: Richard Henderson <richard.hender...@linaro.org>
r~