Skip to content

Commit

Permalink
target/arm: Add is_secure parameter to get_phys_addr_pmsav5
Browse files Browse the repository at this point in the history
Remove the use of regime_is_secure from get_phys_addr_pmsav5.

Reviewed-by: Alex Bennée <[email protected]>
Signed-off-by: Richard Henderson <[email protected]>
Message-id: [email protected]
Reviewed-by: Peter Maydell <[email protected]>
Signed-off-by: Peter Maydell <[email protected]>
  • Loading branch information
rth7680 authored and pm215 committed Sep 22, 2022
1 parent 957a0bb commit a5b5092
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions target/arm/ptw.c
Original file line number Diff line number Diff line change
Expand Up @@ -1349,7 +1349,7 @@ static bool get_phys_addr_lpae(CPUARMState *env, uint64_t address,

static bool get_phys_addr_pmsav5(CPUARMState *env, uint32_t address,
MMUAccessType access_type, ARMMMUIdx mmu_idx,
GetPhysAddrResult *result,
bool is_secure, GetPhysAddrResult *result,
ARMMMUFaultInfo *fi)
{
int n;
Expand Down Expand Up @@ -2421,7 +2421,7 @@ bool get_phys_addr(CPUARMState *env, target_ulong address,
} else {
/* Pre-v7 MPU */
ret = get_phys_addr_pmsav5(env, address, access_type, mmu_idx,
result, fi);
is_secure, result, fi);
}
qemu_log_mask(CPU_LOG_MMU, "PMSA MPU lookup for %s at 0x%08" PRIx32
" mmu_idx %u -> %s (prot %c%c%c)\n",
Expand Down

0 comments on commit a5b5092

Please sign in to comment.