On 30/7/25 05: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 <[email protected]>
---
  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: Philippe Mathieu-Daudé <[email protected]>


Reply via email to