target/loongarch: Use MMUAccessType in loongarch_map_tlb_entry()
Enum type MMUAccessType is used in function loongarch_map_tlb_entry() rather than int type, and keep consistent with its caller function. Signed-off-by: Bibo Mao <maobibo@loongson.cn> Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
This commit is contained in:
parent
82cd0be29b
commit
e6c855f44a
1 changed files with 1 additions and 1 deletions
|
|
@ -650,7 +650,7 @@ void helper_ldpte(CPULoongArchState *env, target_ulong base, target_ulong odd,
|
|||
|
||||
static TLBRet loongarch_map_tlb_entry(CPULoongArchState *env, hwaddr *physical,
|
||||
int *prot, vaddr address,
|
||||
int access_type, int index,
|
||||
MMUAccessType access_type, int index,
|
||||
int mmu_idx)
|
||||
{
|
||||
LoongArchTLB *tlb = &env->tlb[index];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue